LayoutManager
BasicSplitPaneUI.BasicHorizontalLayoutManager
, BasicSplitPaneUI.BasicVerticalLayoutManager
, BorderLayout
, BoxLayout
, CardLayout
, DefaultMenuLayout
, GridBagLayout
, GroupLayout
, JRootPane.RootLayout
, OverlayLayout
, SpringLayout
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.
void
Adds the specified component to the layout, using the specified constraint object.
float
Returns the alignment along the x axis.
float
Returns the alignment along the y axis.
void
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
Calculates the maximum size dimensions for the specified container, given the components it contains.
Adds the specified component to the layout, using the specified constraint object.
comp
- the component to be added
constraints
- where/how the component is added to the layout.
Calculates the maximum size dimensions for the specified container, given the components it contains.
target
- the target container
Returns the alignment along the x axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc.
target
- the target container
Returns the alignment along the y axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc.
target
- the target container
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
target
- the target container
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4