Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.docking
Class DrawerDockableWindow

java.lang.Object
  extended by oracle.ide.view.View
      extended by oracle.ide.view.ViewDecorator
          extended by oracle.ide.docking.DockableView
              extended by oracle.ide.docking.DockableWindow
                  extended by oracle.ide.docking.DrawerDockableWindow
All Implemented Interfaces:
ControllerProvider, Dockable, Helpable

public class DrawerDockableWindow
extends DockableWindow


Field Summary
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
           
 
Fields inherited from class oracle.ide.docking.DockableView
CLOSED, HIDDEN, SHOWN
 
Fields inherited from class oracle.ide.view.View
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Fields inherited from interface oracle.ide.docking.Dockable
DEFAULT_VISIBILITY_MINIMIZED, DEFAULT_VISIBILITY_RAISED, DEFAULT_VISIBILITY_VISIBLE, TYPE_DISCARDABLE, TYPE_GLOBAL_VISIBLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE
 
Constructor Summary
DrawerDockableWindow(java.lang.String viewId)
           
 
Method Summary
 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)
           
 
Methods inherited from class oracle.ide.docking.DockableWindow
addTitleChangeListener, close, dockableHidden, dockableShown, fireTitleChangeListener, getCachedDockable, getDefaultVisibility, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getType, getUniqueName, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, stateChange, updateTitle
 
Methods inherited from class oracle.ide.docking.DockableView
afterAutoExpanding, afterRestoringFromAutoExpansion, beforeAutoExpanding, getAutoExpansionPreferredSize, getAutoExpansionSize, isAutoExpandable, isAutoExpandableEnabled, setAutoExpandable, setAutoExpandableEnabled
 
Methods inherited from class oracle.ide.view.ViewDecorator
activate, deactivate, getContext, getContextMenu, getHelpInfo, getSelectionFromUI, getToolbar, getViewWithoutDecoration, newId, setOwner, setToolbarVisible, updateVisibleActions
 
Methods inherited from class oracle.ide.view.View
addViewListener, addViewSelectionListener, addViewStateListener, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getId, getSelection, loadManifestToolbar, loadManifestToolbar, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, scheduleUpdateSelection, setId, toString, updateSelection, updateSelectionImpl, updateToolbarActions, updateVisibleActions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DROP_DOWN_ACTION_ID

public static final int DROP_DOWN_ACTION_ID

RESTORE_ACTION_ID

public static final int RESTORE_ACTION_ID

MOVE_ACTION_ID

public static final int MOVE_ACTION_ID

SIZE_ACTION_ID

public static final int SIZE_ACTION_ID

FLOAT_ACTION_ID

public static final int FLOAT_ACTION_ID

MINIMIZE_ACTION_ID

public static final int MINIMIZE_ACTION_ID

MAXIMIZE_ACTION_ID

public static final int MAXIMIZE_ACTION_ID
Constructor Detail

DrawerDockableWindow

public DrawerDockableWindow(java.lang.String viewId)
Method Detail

storeSavedPanelLayout

protected final void storeSavedPanelLayout()

restoreSavedPanelLayout

protected final void restoreSavedPanelLayout()

addDelegateController

public final void addDelegateController(Controller delegate)

setTopComponent

public final void setTopComponent(javax.swing.JComponent topComponent)

getModel

public final DrawerModel getModel()

getController

public final Controller getController()
Description copied from interface: ControllerProvider
Get the Controller associated with this view.

Specified by:
getController in interface ControllerProvider
Overrides:
getController in class ViewDecorator
Returns:
the Controller associated with this view.

getGUI

public java.awt.Component getGUI()
Overrides:
getGUI in class ViewDecorator
Returns:
the root graphical user interface component.

setTabName

public final void setTabName(java.lang.String tabName)

getTabName

public java.lang.String getTabName()
Description copied from interface: Dockable
Gets the name to display in a tab.

Specified by:
getTabName in interface Dockable
Overrides:
getTabName in class View
Returns:
the name to display in a tab.
See Also:
Dockable.getTabIcon()

setTitleName

public final void setTitleName(java.lang.String titleName)

getTitleName

public java.lang.String getTitleName()
Description copied from interface: Dockable
Gets title to display in a title bar.

Returns:
the title to display in a title bar.
See Also:
Dockable.getTabIcon()

getTabIcon

public javax.swing.Icon getTabIcon()
Description copied from class: DockableWindow
Gets the icon to display in a tab along side the name.

Specified by:
getTabIcon in interface Dockable
Overrides:
getTabIcon in class DockableWindow
Returns:
the the icon to display in a tab.
See Also:
View.getTabName()

getContainedHolders

public java.util.List<? extends DockableHolder> getContainedHolders()

setIcon

public final void setIcon(javax.swing.Icon icon)

getDockable

public final Dockable getDockable(DrawerElement drawerElement)

removeEntry

public final boolean removeEntry(DockableWindow dockable)
Deprecated. Use DockStation.undock(Dockable) instead


saveLayout

public final void saveLayout(PropertyAccess p)
#loadLayout and #saveLayout are used by this class to load and save the content of the window. The methods have been made final to ensure that they are called by the windowing. If you need to load and save information, use #loadLayoutImpl and #saveLayoutImpl

Specified by:
saveLayout in interface Dockable
Overrides:
saveLayout in class ViewDecorator
Parameters:
p - the storage object

loadLayout

public final void loadLayout(PropertyAccess p)
#loadLayout and #saveLayout are used by this class to load and save the content of the window. The methods have been made final to ensure that they are called by the windowing. If you need to load and save information, use #loadLayoutImpl and #saveLayoutImpl

Specified by:
loadLayout in interface Dockable
Overrides:
loadLayout in class ViewDecorator
Parameters:
p - the storage object

saveLayoutImpl

protected void saveLayoutImpl(StructuredPropertyAccess propertyAccess)

loadLayoutImpl

protected void loadLayoutImpl(StructuredPropertyAccess propertyAccess)

expand

public final void expand(DockableWindow dockableWindow)

togglePannels

public final void togglePannels(java.util.List<DockableWindow> expand,
                                java.util.List<DockableWindow> collapse,
                                boolean animate)

minimize

public void minimize(DockableWindow dockableWindow)

restore

public void restore(DockableWindow dockableWindow)

show

public void show(DockableWindow dockableWindow)

hide

public void hide(DockableWindow dockableWindow)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.