Package swingtree.api
Class Layout.ForMigLayout
java.lang.Object
swingtree.api.Layout.ForMigLayout
- All Implemented Interfaces:
Layout
- Enclosing interface:
- Layout
The
Whenever this layout configuration changes, it will create and re-install a new
Layout.ForMigLayout
layout is a layout that represents
a MigLayout
layout configuration for a component. Whenever this layout configuration changes, it will create and re-install a new
MigLayout
onto the component
based on the new configuration,
which are the constraints, column constraints and row constraints.-
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) Installs this layout for the supplied component.toString()
withColumnConstraint
(String colConstr) withComponentConstraint
(String componentConstr) withConstraint
(String constr) withRowConstraint
(String rowConstr)
-
Method Details
-
withConstraint
-
withRowConstraint
-
withColumnConstraint
-
withComponentConstraint
-
hashCode
public int hashCode() -
equals
-
installFor
Description copied from interface:Layout
Installs this layout for the supplied component.- Specified by:
installFor
in interfaceLayout
- Parameters:
component
- The component to install this layout for.
-
toString
-