Package clipgenerator.clipDisplay
Class ClipLayout
java.lang.Object
java.awt.FlowLayout
clipgenerator.clipDisplay.ClipLayout
- All Implemented Interfaces:
LayoutManager
,Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
layoutContainer
(Container target) preferredLayoutSize
(Container target) setClipSizes
(Container target) void
setPanelWidth
(int panelWidth) Methods inherited from class java.awt.FlowLayout
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, minimumLayoutSize, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString
-
Constructor Details
-
ClipLayout
public ClipLayout() -
ClipLayout
public ClipLayout(int align, int hgap, int vgap) -
ClipLayout
public ClipLayout(int align)
-
-
Method Details
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
- Overrides:
layoutContainer
in classFlowLayout
-
setClipSizes
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
- Overrides:
preferredLayoutSize
in classFlowLayout
-
getPanelWidth
public int getPanelWidth()- Returns:
- the panelWidth
-
setPanelWidth
public void setPanelWidth(int panelWidth) - Parameters:
panelWidth
- the panelWidth to set
-