org.graffiti.util
Class ToolBarLayout

java.lang.Object
  extended by java.awt.FlowLayout
      extended by 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: 5768 $ $Date: 2006-01-03 17:20:07 +0100 (Di, 03 Jan 2006) $
Author:
Michael Forster
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.FlowLayout
CENTER, LEADING, LEFT, RIGHT, TRAILING
 
Constructor Summary
ToolBarLayout()
           
ToolBarLayout(int align)
           
ToolBarLayout(int align, int hgap, int vgap)
           
 
Method Summary
 Dimension preferredLayoutSize(Container target)
           
 
Methods inherited from class java.awt.FlowLayout
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, layoutContainer, minimumLayoutSize, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolBarLayout

public ToolBarLayout()

ToolBarLayout

public ToolBarLayout(int align)

ToolBarLayout

public ToolBarLayout(int align,
                     int hgap,
                     int vgap)
Method Detail

preferredLayoutSize

public Dimension preferredLayoutSize(Container target)
Specified by:
preferredLayoutSize in interface LayoutManager
Overrides:
preferredLayoutSize in class FlowLayout


Generated at 2012-05-30 11:00:36 PM CEST