Package swingtree.api
Class Layout.BorderLayoutInstaller
java.lang.Object
swingtree.api.Layout.BorderLayoutInstaller
- All Implemented Interfaces:
Layout
- Enclosing interface:
Layout
The
Whenever this layout configuration changes, it will create and re-install a new
Layout.BorderLayoutInstaller layout is a layout that represents
a BorderLayout layout configuration for a component,
which consists of the horizontal gap and vertical gap. Whenever this layout configuration changes, it will create and re-install a new
BorderLayout onto the component
based on the new configuration.-
Nested Class Summary
Nested classes/interfaces inherited from interface swingtree.api.Layout
Layout.BorderLayoutInstaller, Layout.ForBoxLayout, Layout.ForFlowLayout, Layout.ForMigLayout, Layout.GridLayoutInstaller, Layout.None, Layout.Unspecific -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidinstallFor(JComponent component) Installs aBorderLayoutonto the supplied component using the horizontal and vertical gap sizes stored in this configuration.toString()
-
Method Details
-
hashCode
public int hashCode() -
equals
-
installFor
Installs aBorderLayoutonto the supplied component using the horizontal and vertical gap sizes stored in this configuration. If aBorderLayoutis already installed, only the gap values that have changed are updated andJComponent.revalidate()is called to trigger a layout refresh.- Specified by:
installForin interfaceLayout- Parameters:
component- The component to install theBorderLayoutfor.
-
toString
-