public class DrawerDockableWindow extends DockableWindow
| Modifier and Type | Field and Description |
|---|---|
static int |
DROP_DOWN_ACTION_ID |
static int |
FLOAT_ACTION_ID |
static int |
MAXIMIZE_ACTION_ID |
static int |
MINIMIZE_ACTION_ID |
static int |
MOVE_ACTION_ID |
static int |
RESTORE_ACTION_ID |
static int |
SIZE_ACTION_ID |
CLOSED, HIDDEN, SHOWNEMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROPDEFAULT_VISIBILITY_MINIMIZED, DEFAULT_VISIBILITY_RAISED, DEFAULT_VISIBILITY_VISIBLE, TYPE_DISCARDABLE, TYPE_FORGETTABLE, TYPE_GLOBAL_VISIBLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE| Constructor and Description |
|---|
DrawerDockableWindow(java.lang.String viewId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDelegateController(Controller delegate) |
void |
expand(DockableWindow dockableWindow) |
java.util.List<? extends DockableHolder> |
getContainedHolders() |
Controller |
getController()
Get the
Controller associated with this view. |
Dockable |
getDockable(DrawerElement drawerElement) |
java.awt.Component |
getGUI() |
DrawerModel |
getModel() |
javax.swing.Icon |
getTabIcon()
Gets the icon to display in a tab along side the name.
|
java.lang.String |
getTabName()
Gets the name to display in a tab.
|
java.lang.String |
getTitleName()
Gets title to display in a title bar.
|
void |
hide(DockableWindow dockableWindow) |
void |
loadLayout(PropertyAccess p)
#loadLayout and #saveLayout are used by this class to load and save the content of the window.
|
protected void |
loadLayoutImpl(StructuredPropertyAccess propertyAccess) |
void |
minimize(DockableWindow dockableWindow) |
boolean |
removeEntry(DockableWindow dockable)
Deprecated.
Use
DockStation.undock(Dockable) instead |
void |
restore(DockableWindow dockableWindow) |
protected void |
restoreSavedPanelLayout() |
void |
saveLayout(PropertyAccess p)
#loadLayout and #saveLayout are used by this class to load and save the content of the window.
|
protected void |
saveLayoutImpl(StructuredPropertyAccess propertyAccess) |
void |
setIcon(javax.swing.Icon icon) |
void |
setTabName(java.lang.String tabName) |
void |
setTitleName(java.lang.String titleName) |
void |
setTopComponent(javax.swing.JComponent topComponent) |
void |
show(DockableWindow dockableWindow) |
protected void |
storeSavedPanelLayout() |
void |
togglePannels(java.util.List<DockableWindow> expand,
java.util.List<DockableWindow> collapse,
boolean animate) |
addTitleChangeListener, close, dockableHidden, dockableShown, fireTitleChangeListener, getCachedDockable, getDefaultVisibility, getHeaderComponents, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getType, getUniqueName, isDrawer, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, stateChange, updateTitleafterAutoExpanding, afterRestoringFromAutoExpansion, beforeAutoExpanding, getAutoExpansionPreferredSize, getAutoExpansionSize, isAutoExpandable, isAutoExpandableEnabled, setAutoExpandable, setAutoExpandableEnabledactivate, deactivate, getContext, getContextMenu, getDecorated, getHelpInfo, getSelectionFromUI, getToolbar, getViewWithoutDecoration, isDecorated, newId, setDecorated, setOwner, setToolbarVisible, updateVisibleActionsaddViewListener, addViewSelectionListener, addViewStateListener, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getId, getSelection, loadManifestToolbar, loadManifestToolbar, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, scheduleUpdateSelection, setId, toString, updateSelection, updateSelectionImpl, updateToolbarActions, updateVisibleActionspublic static final int DROP_DOWN_ACTION_ID
public static final int RESTORE_ACTION_ID
public static final int MOVE_ACTION_ID
public static final int SIZE_ACTION_ID
public static final int FLOAT_ACTION_ID
public static final int MINIMIZE_ACTION_ID
public static final int MAXIMIZE_ACTION_ID
protected final void storeSavedPanelLayout()
protected final void restoreSavedPanelLayout()
public final void addDelegateController(Controller delegate)
public final void setTopComponent(javax.swing.JComponent topComponent)
public final DrawerModel getModel()
public final Controller getController()
ControllerProviderController associated with this view.getController in interface ControllerProvidergetController in class ViewDecoratorpublic java.awt.Component getGUI()
getGUI in class ViewDecoratorpublic final void setTabName(java.lang.String tabName)
public java.lang.String getTabName()
DockablegetTabName in interface DockablegetTabName in class ViewDockable.getTabIcon()public final void setTitleName(java.lang.String titleName)
public java.lang.String getTitleName()
DockableDockable.getTabIcon()public javax.swing.Icon getTabIcon()
DockableWindowgetTabIcon in interface DockablegetTabIcon in class DockableWindowView.getTabName()public java.util.List<? extends DockableHolder> getContainedHolders()
public final void setIcon(javax.swing.Icon icon)
public final Dockable getDockable(DrawerElement drawerElement)
public final boolean removeEntry(DockableWindow dockable)
DockStation.undock(Dockable) insteadpublic final void saveLayout(PropertyAccess p)
saveLayout in interface DockablesaveLayout in class ViewDecoratorp - the storage objectpublic final void loadLayout(PropertyAccess p)
loadLayout in interface DockableloadLayout in class ViewDecoratorp - the storage objectprotected void saveLayoutImpl(StructuredPropertyAccess propertyAccess)
protected void loadLayoutImpl(StructuredPropertyAccess propertyAccess)
public final void expand(DockableWindow dockableWindow)
public final void togglePannels(java.util.List<DockableWindow> expand, java.util.List<DockableWindow> collapse, boolean animate)
public void minimize(DockableWindow dockableWindow)
public void restore(DockableWindow dockableWindow)
public void show(DockableWindow dockableWindow)
public void hide(DockableWindow dockableWindow)