Package org.graffiti.util
Class ToolBarLayout
java.lang.Object
java.awt.FlowLayout
org.graffiti.util.ToolBarLayout
- All Implemented Interfaces:
LayoutManager
,Serializable
public class ToolBarLayout extends FlowLayout
An extension of
FlowLayout
that correctly calculates the
height of a toolbar panel.- Version:
- $Revision: 1.6 $ $Date: 2010/12/22 13:05:53 $
- Author:
- Michael Forster
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ToolBarLayout()
ToolBarLayout(int align)
ToolBarLayout(int align, int hgap, int vgap)
-
Method Summary
Modifier and Type Method Description Dimension
preferredLayoutSize(Container target)
Methods inherited from class java.awt.FlowLayout
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, layoutContainer, minimumLayoutSize, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString
-
Constructor Details
-
ToolBarLayout
public ToolBarLayout() -
ToolBarLayout
public ToolBarLayout(int align) -
ToolBarLayout
public ToolBarLayout(int align, int hgap, int vgap)
-
-
Method Details
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
- Overrides:
preferredLayoutSize
in classFlowLayout
-