Package net.infonode.gui.layout
Class StackableLayout
java.lang.Object
net.infonode.gui.layout.StackableLayout
- All Implemented Interfaces:
LayoutManager
,LayoutManager2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(Component comp, Object constraints) void
addLayoutComponent
(String name, Component comp) float
getLayoutAlignmentX
(Container target) float
getLayoutAlignmentY
(Container target) void
invalidateLayout
(Container target) boolean
void
layoutContainer
(Container parent) maximumLayoutSize
(Container target) minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
void
setAutoShowFirstComponent
(boolean autoShowFirstComponent) void
setUseSelectedComponentSize
(boolean useSelectedComponentSize) void
boolean
-
Constructor Details
-
StackableLayout
-
-
Method Details
-
usesSelectedComponentSize
public boolean usesSelectedComponentSize() -
isAutoShowFirstComponent
public boolean isAutoShowFirstComponent() -
setAutoShowFirstComponent
public void setAutoShowFirstComponent(boolean autoShowFirstComponent) -
setUseSelectedComponentSize
public void setUseSelectedComponentSize(boolean useSelectedComponentSize) -
maximumLayoutSize
- Specified by:
maximumLayoutSize
in interfaceLayoutManager2
-
invalidateLayout
- Specified by:
invalidateLayout
in interfaceLayoutManager2
-
getLayoutAlignmentY
- Specified by:
getLayoutAlignmentY
in interfaceLayoutManager2
-
getLayoutAlignmentX
- Specified by:
getLayoutAlignmentX
in interfaceLayoutManager2
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager2
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
-
getVisibleComponent
-
showComponent
-