com.imagero.gui.msp
Class GSplitPane

java.lang.Object
  extended bycom.imagero.gui.msp.GSplitPane
All Implemented Interfaces:
SplitConstants

public abstract class GSplitPane
extends java.lang.Object
implements SplitConstants

JMultiSplitPane Like JSplitPane, but not restricted (e.g. more then 2 components allowed).


Field Summary
static int DRAW_COMPONENT
           
static int DRAW_RECTANGLE
           
static int FILL_RECTANGLE
           
 
Fields inherited from interface com.imagero.gui.msp.SplitConstants
ALIGN_LEFT, ALIGN_RIGHT, HORIZONTAL_SPLIT, VERTICAL_SPLIT
 
Constructor Summary
protected GSplitPane()
           
 
Method Summary
protected abstract  void createContentPane()
           
static java.awt.Container createHeawyweightSplitPane()
           
static java.awt.Container createLightweightSplitPane()
           
 Node createNode(java.awt.Component c, java.awt.Rectangle r)
           
 Node createNode(Node left, Node right, java.awt.Rectangle r)
           
 javax.swing.tree.TreeModel createTreeModel()
           
 void debug()
           
 void doLayout()
           
 ActionManager getActionManager()
           
 java.awt.Component getComponentAt(int x, int y)
           
 java.awt.Container getContainer()
           
 int getDividerWidth()
           
 java.awt.Rectangle getDropArea()
           
 java.awt.Dimension getMaximumSize()
           
 java.awt.Dimension getMinimumSize()
           
 java.lang.String getNameForComponent(java.awt.Component c)
           
 Node getNode(java.awt.Component c)
           
 java.awt.Dimension getPreferredSize()
           
 float getResizeWeight()
           
 int getShowDropAreaMode()
           
 java.awt.image.VolatileImage getVolatileImage()
           
 boolean isContinuousLayout()
          determine if child components should be are continuously redisplayed and layed out during dragging the divider.
 boolean isIgnorePreferredSize()
           
 void maximize(java.awt.Component c)
          maximize Node
 void minimize(java.awt.Component c)
           
 void rename()
           
 void restore()
          restore maximized Node
 void restore(java.awt.Component c)
          restore minimized Component
 void saveDividerLocation()
           
 void setContinuousLayout(boolean continuousLayout)
           
 void setDividerWidth(int dividerWidth)
           
 void setDropArea(java.awt.Rectangle dropArea)
           
 void setIgnorePreferredSize(boolean b)
           
 void setResizeWeight(float resizeWeight)
           
 boolean shouldRecreatePhantom()
           
protected  void split(java.awt.Component child, java.awt.Component add, int orientation, int align)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRAW_COMPONENT

public static final int DRAW_COMPONENT
See Also:
Constant Field Values

DRAW_RECTANGLE

public static final int DRAW_RECTANGLE
See Also:
Constant Field Values

FILL_RECTANGLE

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

GSplitPane

protected GSplitPane()
Method Detail

createContentPane

protected abstract void createContentPane()

createHeawyweightSplitPane

public static java.awt.Container createHeawyweightSplitPane()

createLightweightSplitPane

public static java.awt.Container createLightweightSplitPane()

createNode

public Node createNode(java.awt.Component c,
                       java.awt.Rectangle r)

createNode

public Node createNode(Node left,
                       Node right,
                       java.awt.Rectangle r)

createTreeModel

public javax.swing.tree.TreeModel createTreeModel()

debug

public void debug()

doLayout

public void doLayout()

getActionManager

public ActionManager getActionManager()

getComponentAt

public java.awt.Component getComponentAt(int x,
                                         int y)

getContainer

public java.awt.Container getContainer()

getDividerWidth

public int getDividerWidth()

getDropArea

public java.awt.Rectangle getDropArea()

getMaximumSize

public java.awt.Dimension getMaximumSize()

getMinimumSize

public java.awt.Dimension getMinimumSize()

getNameForComponent

public java.lang.String getNameForComponent(java.awt.Component c)

getNode

public Node getNode(java.awt.Component c)

getPreferredSize

public java.awt.Dimension getPreferredSize()

getResizeWeight

public float getResizeWeight()

getShowDropAreaMode

public int getShowDropAreaMode()

getVolatileImage

public java.awt.image.VolatileImage getVolatileImage()

isContinuousLayout

public boolean isContinuousLayout()
determine if child components should be are continuously redisplayed and layed out during dragging the divider.


isIgnorePreferredSize

public boolean isIgnorePreferredSize()

maximize

public void maximize(java.awt.Component c)
maximize Node

Parameters:
c -

minimize

public void minimize(java.awt.Component c)

rename

public void rename()

restore

public void restore()
restore maximized Node


restore

public void restore(java.awt.Component c)
restore minimized Component

Parameters:
c - Component to restore

saveDividerLocation

public void saveDividerLocation()

setContinuousLayout

public void setContinuousLayout(boolean continuousLayout)

setDividerWidth

public void setDividerWidth(int dividerWidth)

setDropArea

public void setDropArea(java.awt.Rectangle dropArea)

setIgnorePreferredSize

public void setIgnorePreferredSize(boolean b)

setResizeWeight

public void setResizeWeight(float resizeWeight)

shouldRecreatePhantom

public boolean shouldRecreatePhantom()

split

protected void split(java.awt.Component child,
                     java.awt.Component add,
                     int orientation,
                     int align)