Package swingtree.api
Class Layout.Unspecific
java.lang.Object
swingtree.api.Layout.Unspecific
- All Implemented Interfaces:
Layout
- Enclosing interface:
- Layout
The
Layout.Unspecific
layout is a layout that represents the lack
of a specific layout being set for a component.
Note that this does not represent the absence of a LayoutManager
for a component, but rather the absence of it being specified.
This means that whatever layout is currently installed for a component
will be left as is, and no other layout will be installed for the component.
Note that this is different from the Layout.None
layout,
which represents the absence of a LayoutManager
for a component (i.e. it removes any existing layout from the component and sets it to null
).
-
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 TypeMethodDescriptionboolean
int
hashCode()
void
installFor
(JComponent component) Does nothing.toString()
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
installFor
Does nothing.- Specified by:
installFor
in interfaceLayout
- Parameters:
component
- The component to install the layout for.
-