|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.gui.commonswing.CenterLayout
public class CenterLayout
A layout manager that displays a single component in the center of its container.
| Constructor Summary | |
|---|---|
CenterLayout()
Creates a new layout manager. |
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(Component comp)
Not used. |
void |
addLayoutComponent(String name,
Component comp)
Not used. |
void |
layoutContainer(Container parent)
Lays out the components. |
Dimension |
minimumLayoutSize(Container parent)
Returns the minimum size. |
Dimension |
preferredLayoutSize(Container parent)
Returns the preferred size. |
void |
removeLayoutComponent(Component comp)
Not used. |
void |
removeLayoutComponent(String name,
Component comp)
Not used. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CenterLayout()
| Method Detail |
|---|
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerparent - the parent.
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerparent - the parent.
public void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerparent - the parent.public void addLayoutComponent(Component comp)
comp - the component.public void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagercomp - the component.
public void addLayoutComponent(String name,
Component comp)
addLayoutComponent in interface LayoutManagername - the component name.comp - the component.
public void removeLayoutComponent(String name,
Component comp)
name - the component name.comp - the component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||