Class VerticalScrollingFlowLayout
java.lang.Object
java.awt.FlowLayout
com.inductiveautomation.ignition.client.util.gui.VerticalScrollingFlowLayout
- All Implemented Interfaces:
LayoutManager
,Serializable
- Direct Known Subclasses:
HorizontalScrollingFlowLayout
A modified version of FlowLayout that allows containers using this Layout to behave in a reasonable manner when
placed inside a JScrollPane
Found at: http://www.javakb.com/Uwe/Forum.aspx/java-gui/1904/Flowlayout-JPanel-and-JScrollPane-Scrolling-vertically- impossible
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionVerticalScrollingFlowLayout
(int align) VerticalScrollingFlowLayout
(int align, int hgap, int vgap) -
Method Summary
Modifier and TypeMethodDescriptionprotected Dimension
computeSize
(Container target, boolean minimum) minimumLayoutSize
(Container target) preferredLayoutSize
(Container target) Methods inherited from class java.awt.FlowLayout
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, layoutContainer, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString
-
Constructor Details
-
VerticalScrollingFlowLayout
public VerticalScrollingFlowLayout() -
VerticalScrollingFlowLayout
public VerticalScrollingFlowLayout(int align) -
VerticalScrollingFlowLayout
public VerticalScrollingFlowLayout(int align, int hgap, int vgap)
-
-
Method Details
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
- Overrides:
minimumLayoutSize
in classFlowLayout
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
- Overrides:
preferredLayoutSize
in classFlowLayout
-
computeSize
-