edu.turtlekit2.ui.utils
Class ToolBarLayout

java.lang.Object
  extended by java.awt.BorderLayout
      extended by edu.turtlekit2.ui.utils.ToolBarLayout
All Implemented Interfaces:
LayoutManager, LayoutManager2, Serializable

public class ToolBarLayout
extends BorderLayout

Extended from AKDockLayout http://forums.sun.com/thread.jspa?threadID=439235&range=15&start=0&forumID=57#1991118

See Also:
Serialized Form

Field Summary
static int BOTTOM
           
 Object[] curImbeddedTBRs
           
static int LEFT
           
static int RIGHT
           
static int TOP
           
 
Fields inherited from class java.awt.BorderLayout
AFTER_LAST_LINE, AFTER_LINE_ENDS, BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS, CENTER, EAST, LINE_END, LINE_START, NORTH, PAGE_END, PAGE_START, SOUTH, WEST
 
Constructor Summary
ToolBarLayout()
           
 
Method Summary
 void addLayoutComponent(Component c, Object con)
           
 boolean containsImbeddedComp(Component c)
           
 boolean containsImbeddedComp(Component c, int inx)
          (SwingConstants top,left,bottom,right): top:1, left:2, bottom:3, right:4
 void layoutContainer(Container target)
           
 void removeLayoutComponent(Component c)
           
 
Methods inherited from class java.awt.BorderLayout
addLayoutComponent, getConstraints, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getLayoutComponent, getLayoutComponent, getVgap, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, setHgap, setVgap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

curImbeddedTBRs

public Object[] curImbeddedTBRs

TOP

public static final int TOP
See Also:
Constant Field Values

BOTTOM

public static final int BOTTOM
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values
Constructor Detail

ToolBarLayout

public ToolBarLayout()
Method Detail

addLayoutComponent

public void addLayoutComponent(Component c,
                               Object con)
Specified by:
addLayoutComponent in interface LayoutManager2
Overrides:
addLayoutComponent in class BorderLayout

removeLayoutComponent

public void removeLayoutComponent(Component c)
Specified by:
removeLayoutComponent in interface LayoutManager
Overrides:
removeLayoutComponent in class BorderLayout

layoutContainer

public void layoutContainer(Container target)
Specified by:
layoutContainer in interface LayoutManager
Overrides:
layoutContainer in class BorderLayout

containsImbeddedComp

public boolean containsImbeddedComp(Component c)

containsImbeddedComp

public boolean containsImbeddedComp(Component c,
                                    int inx)
(SwingConstants top,left,bottom,right): top:1, left:2, bottom:3, right:4