|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel com.jidesoft.swing.JideSplitPane com.jidesoft.docking.ContainerContainer
public class ContainerContainer
ContainerContainer
extends JideSplitPane
. It is used by Docking Framework.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jidesoft.swing.JideSplitPane |
---|
JideSplitPane.AccessibleJideSplitPane |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ContainerContainer(DockingManager dockingManager)
Creates a default ContainerContainer |
|
ContainerContainer(DockingManager dockingManager,
int newOrientation)
Creates a default ContainerContainer |
Method Summary | |
---|---|
void |
addImpl(Component comp,
Object constraints,
int index)
Overrides add method so that if a workspace is added, automatically use VARY as the contraint to
JideFlowLayout . |
void |
componentAdded(ContainerEvent e)
We override this to track additions and do the postponed proportion setting. |
protected JideSplitPaneDivider |
createSplitPaneDivider()
|
protected void |
finishDraggingTo(JideSplitPaneDivider divider,
int location)
Finishes dragging. |
int |
getDockID()
Gets the dock ID. |
DockingManager |
getDockingManager()
Gets the docking manager. |
void |
hideItselfIfEmpty()
If there is no compnent in it or if the only component is another ContainerContainer, then this ContainerContainer is not needed. |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
resetDockID()
Resets dock ID. |
void |
setDockID(int id)
Sets the dock ID. |
void |
setDockingManager(DockingManager dockingManager)
Sets the docking manager. |
protected void |
startDragging(JideSplitPaneDivider divider)
Prepares dragging if it's not continuous layout. |
Methods inherited from class javax.swing.JPanel |
---|
getUI, getUIClassID, paramString, setUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.event.ContainerListener |
---|
componentRemoved |
Constructor Detail |
---|
public ContainerContainer(DockingManager dockingManager)
ContainerContainer with the docking manager.
- Parameters:
dockingManager
-
public ContainerContainer(DockingManager dockingManager, int newOrientation)
ContainerContainer with the docking manager and the orientation.
- Parameters:
dockingManager
- newOrientation
-
Method Detail |
---|
public void addImpl(Component comp, Object constraints, int index)
VARY
as the contraint to
JideFlowLayout
.
addImpl
in class Container
comp
- component to be addedprotected JideSplitPaneDivider createSplitPaneDivider()
createSplitPaneDivider
in class JideSplitPane
public DockingManager getDockingManager()
getDockingManager
in interface Dockable
protected void startDragging(JideSplitPaneDivider divider)
JideSplitPane
startDragging
in class JideSplitPane
divider
- the dividerpublic void setDockingManager(DockingManager dockingManager)
setDockingManager
in interface Dockable
dockingManager
- public void hideItselfIfEmpty()
public int getDockID()
getDockID
in interface Dockable
public void setDockID(int id)
setDockID
in interface Dockable
id
- public void resetDockID()
resetDockID
in interface Dockable
public void componentAdded(ContainerEvent e)
componentAdded
in interface ContainerListener
componentAdded
in class JideSplitPane
e
- ContainerEventpublic void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
protected void finishDraggingTo(JideSplitPaneDivider divider, int location)
JideSplitPane
finishDraggingTo
in class JideSplitPane
divider
- the dividerlocation
- new location
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |