Package swingtree.api
Class Layout.None
java.lang.Object
swingtree.api.Layout.None
- All Implemented Interfaces:
Layout
- Enclosing interface:
Layout
The
Layout.None layout is a layout that represents the absence
of a LayoutManager for a component.
This means that whatever layout is currently installed for a component
will be removed, and null will be set as the layout for the component.
Note that this is different from the Layout.Unspecific layout,
which does not represent the absence of a LayoutManager
for a component, but rather the absence of it being specified.
-
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 this layout for the supplied component.toString()
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
installFor
Description copied from interface:LayoutInstalls this layout for the supplied component.- Specified by:
installForin interfaceLayout- Parameters:
component- The component to install this layout for.
-