|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

, BasicSplitPaneUI.BasicVerticalLayoutManager
, BorderLayout
, BoxLayout
, CardLayout
, DefaultMenuLayout
, GridBagLayout
, JRootPane.RootLayout
, OverlayLayout
, SpringLayout

public interface LayoutManager2

Defines an interface for classes that know how to layout Containers based on a layout constraints object. This interface extends the LayoutManager interface to deal with layouts explicitly in terms of constraint objects that specify how and where components should be added to the layout.
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
Adds the specified component to the layout, using the specified constraint object. |
float |
getLayoutAlignmentX
Returns the alignment along the x axis. |
float |
getLayoutAlignmentY
Returns the alignment along the y axis. |
void |
invalidateLayout
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
Dimension |
maximumLayoutSize
Calculates the maximum size dimensions for the specified container, given the components it contains. |
Methods inherited from interface java.awt.LayoutManager ![]() |
|---|
addLayoutComponent |
| 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||