net.xoetrope.swing.docking
Class XDockable
java.lang.Object
net.xoetrope.swing.docking.XDockable
public class XDockable
- extends java.lang.Object
XDockable is a collection of information about a dockable component, its
decorations and its docked location(s). As the dockable object is passed
from one container to another it is the responsibility of the various
participating objects to update the state of this object.
Copyright: (c) Xoetrope Ltd., 1998-2006
License: see license.txt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
title
public java.lang.String title
constraint
public java.lang.String constraint
content
public java.awt.Container content
header
public XDockableHeader header
dockingSideBar
public XDockingSideBar dockingSideBar
launchContainer
public XDockingSideBar.XDockButton launchContainer
previewContainer
public XDockingPreview previewContainer
dockedContainer
public XDockingPanel dockedContainer
icon
public javax.swing.ImageIcon icon
state
public int state
canClose
public boolean canClose
canMinimize
public boolean canMinimize
canDock
public boolean canDock
canDrag
public boolean canDrag
canZoom
public boolean canZoom
hasDockingTitle
public boolean hasDockingTitle
XDockable
public XDockable(XDockingSideBar sb,
java.lang.String title)
- Creates a new instance of XDockable
- Parameters:
sb - the sidebar to which the content docks.title - the display name of the dockable and the docking constraint of the dockable
XDockable
public XDockable(XDockingSideBar sb,
java.lang.String title,
java.lang.String constraint)
- Creates a new instance of XDockable
- Parameters:
sb - the sidebar to which the content docks.title - the display name of the dockableconstraint - the docking constraint of the dockable
getId
public java.lang.String getId()
- Get the unique ID of this dockable component
- Returns:
- the ID
getCardPanel
public XCardPanel getCardPanel()