|
Préférences
Moteurs de recherche
|
||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
java.awt
|
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)
Calculates the maximum size dimensions for the specified container, given the components it contains. |
Methods inherited from interface java.awt.LayoutManager |
---|
addLayoutComponent, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent |
Method Detail |
---|
void addLayoutComponent(Component comp, Object constraints)
comp
- the component to be addedconstraints
- where/how the component is added to the layout.Dimension maximumLayoutSize(Container target)
Component.getMaximumSize()
,
LayoutManager
float getLayoutAlignmentX(Container target)
float getLayoutAlignmentY(Container target)
void invalidateLayout(Container target)