|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This minimal extension to LayoutManager is intended for tool providers who wish to the creation of constraint-based layouts. It does not yet provide full, general support for custom constraint-based layout managers.
LayoutManager
,
Container
Method Summary | |
void | addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified constraint object. |
float | getLayoutAlignmentX(Container target)
Returns the alignment along the x axis. |
float | getLayoutAlignmentY(Container target)
Returns the alignment along the y axis. |
void | invalidateLayout(Container target)
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
Dimension | maximumLayoutSize(Container target)
Returns the maximum size of this component. |
Methods inherited from interface java.awt.LayoutManager | |
addLayoutComponent , layoutContainer , minimumLayoutSize , preferredLayoutSize , removeLayoutComponent |
Method Detail |
public void addLayoutComponent(Component comp, Object constraints)
comp
- the component to be added
constraints
- where/how the component is added to the layout.public Dimension maximumLayoutSize(Container target)
Component.getMinimumSize()
,
Component.getPreferredSize()
,
LayoutManager
public float getLayoutAlignmentX(Container target)
public float getLayoutAlignmentY(Container target)
public void invalidateLayout(Container target)
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |