|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.view.View
oracle.ide.view.ViewDecorator
oracle.ide.docking.DockableView
oracle.ide.docking.DockableWindow
oracle.ide.docking.DrawerWindow
public class DrawerWindow
| Field Summary | |
|---|---|
static int |
CLOSE_ACTION_ID
|
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 | |
|---|---|
DrawerWindow(java.lang.String viewId,
View decorated,
DrawerWindowConfig config)
|
|
| Method Summary | |
|---|---|
boolean |
accessibleDrawer()
|
void |
activate(View view,
boolean whetherToActivate)
|
void |
addCloseableDrawer(DockableWindow view,
int index)
|
void |
addDelegateControllers(Controller... delegates)
Adds the given controllers as "delegate controllers." The controller of this instance will handle an event or an update only if the "delegate controllers" were not able to do so. |
void |
addDrawer(DockableWindow view)
|
void |
addDrawer(DockableWindow view,
int index)
|
void |
addDrawer(View view,
DrawerConfig config)
|
void |
addDrawerThatCanHideHandle(DockableWindow view)
|
void |
clientVisible(java.lang.Object view,
boolean visible,
int flags)
|
java.util.List<java.lang.Integer> |
drawerDockableStatuses(java.lang.Object view)
|
java.util.List<View> |
drawerViews()
|
void |
expand(View view)
|
void |
expandOneDrawerAtATime()
|
Controller |
getController()
Get the Controller associated with this view. |
java.awt.Component |
getGUI()
|
HelpInfo |
getHelpInfo()
|
java.awt.Component |
getMinimizerTray()
|
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. |
Toolbar |
getToolbar()
Get the toolbar associated with this view. |
void |
hide(View view)
|
void |
hideHandleIfOnlyOneDrawerShown()
|
void |
loadLayout(PropertyAccess p)
reloads the layout information of this dockable. |
void |
minimize(View view)
|
void |
removeIfPresent(View view)
|
void |
restore(View view)
|
void |
saveLayout(PropertyAccess p)
Saves the layout information of this dockable. |
void |
show(View view)
|
boolean |
showing(View view)
|
void |
togglePanelsWithAnimation(java.util.List<View> toExpand,
java.util.List<View> toCollapse)
|
void |
togglePanelsWithoutAnimation(java.util.List<View> toExpand,
java.util.List<View> toCollapse)
|
void |
togglePanelsWithoutAnimation(View toExpand,
View toCollapse)
|
void |
topComponent(javax.swing.JComponent topComponent)
|
View |
undecorateIfNecessary(DockableWindow dockable)
|
void |
updateDrawerHandlesVisibility()
|
void |
updateVisibleActions(UpdateMessage updateMessage)
Called when the IDE or an extension requests that the View updates the enabled state of any actions
that are visible on screen. |
| 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, getSelectionFromUI, getViewWithoutDecoration, newId, setOwner, setToolbarVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public 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
public static final int CLOSE_ACTION_ID
| Constructor Detail |
|---|
public DrawerWindow(java.lang.String viewId,
View decorated,
DrawerWindowConfig config)
| Method Detail |
|---|
public void expandOneDrawerAtATime()
public void hideHandleIfOnlyOneDrawerShown()
public void topComponent(javax.swing.JComponent topComponent)
public Toolbar getToolbar()
View
getToolbar in class ViewDecoratorpublic HelpInfo getHelpInfo()
getHelpInfo in interface HelpablegetHelpInfo in class ViewDecorator
public void addDrawer(View view,
DrawerConfig config)
public void addDrawer(DockableWindow view)
public void addDrawerThatCanHideHandle(DockableWindow view)
public void addCloseableDrawer(DockableWindow view,
int index)
public void addDrawer(DockableWindow view,
int index)
public void updateDrawerHandlesVisibility()
public void addDelegateControllers(Controller... delegates)
delegates - the "delegate controllers" to add.public Controller getController()
ControllerProviderController associated with this view.
getController in interface ControllerProvidergetController in class ViewDecoratorpublic java.awt.Component getGUI()
getGUI in class ViewDecoratorpublic java.lang.String getTabName()
Dockable
getTabName in interface DockablegetTabName in class ViewDockable.getTabIcon()public javax.swing.Icon getTabIcon()
DockableWindow
getTabIcon in interface DockablegetTabIcon in class DockableWindowView.getTabName()public java.lang.String getTitleName()
Dockable
Dockable.getTabIcon()public void minimize(View view)
public void expand(View view)
public void activate(View view,
boolean whetherToActivate)
public void removeIfPresent(View view)
public void restore(View view)
public java.awt.Component getMinimizerTray()
public boolean showing(View view)
public void show(View view)
public void hide(View view)
public View undecorateIfNecessary(DockableWindow dockable)
public void togglePanelsWithAnimation(java.util.List<View> toExpand,
java.util.List<View> toCollapse)
public void togglePanelsWithoutAnimation(View toExpand,
View toCollapse)
public void togglePanelsWithoutAnimation(java.util.List<View> toExpand,
java.util.List<View> toCollapse)
public boolean accessibleDrawer()
public java.util.List<java.lang.Integer> drawerDockableStatuses(java.lang.Object view)
public void clientVisible(java.lang.Object view,
boolean visible,
int flags)
public void saveLayout(PropertyAccess p)
Dockable
saveLayout in interface DockablesaveLayout in class ViewDecoratorp - the storage objectpublic void loadLayout(PropertyAccess p)
Dockable
loadLayout in interface DockableloadLayout in class ViewDecoratorp - the storage objectpublic java.util.List<View> drawerViews()
public void updateVisibleActions(UpdateMessage updateMessage)
ViewView updates the enabled state of any actions
that are visible on screen. Typically this will involve updating actions that are in visible toolbars. If a
View contains or manages other nested instances of View, the outer call to
updateVisibleActions should propagate inward to call the updateVisibleActions of all
visible, nested Views.
updateVisibleActions in class ViewDecoratorupdateMessage - information on what is triggering the update. Implementations may make use of this
information to decide whether or not an update is necessary, since updating the enabled state of a toolbar button
may be a lengthy operation. For example, buttons that control a remote debugger would involve network I/O and
evaluating their updated state could be avoided if the updateMessage indicates that the source of the update is not
relevant to the debugger.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||