|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.ide.docking.DockableEvent
The class describes events on Dockable objects.
Although it might seem similar to a ComponentListener on the UI, it is
different because when two dockable are tabbed together, ComponentListener
considers the visibility of the windows (the selected page is visible and
the others are hidden) while the DockableEvent will be sent for each Dockable
corresponding to a tab in the tab pane.
DockableListener| Field Summary | |
static int |
CONTEXT_DRAG
Context of the event. |
static int |
CONTEXT_LAYOUT_CHANGE
Context of the event. |
static int |
CONTEXT_LAYOUT_INSTALL
Context of the event. |
static int |
CONTEXT_TOGGLE
Context of the event. |
static int |
CONTEXT_USER_ACTION
Context of the event. |
static int |
ID_DOCKABLE_HIDDEN
Event ID. |
static int |
ID_DOCKABLE_SHOWN
Event ID. |
| Constructor Summary | |
DockableEvent(Dockable dockable,
int nID)
Deprecated. |
|
DockableEvent(Dockable dockable,
int nID,
int flags)
Full featured constructor. |
|
| Method Summary | |
int |
getContext()
Gets the context of the event. |
int |
getID()
Gets the event ID. |
Dockable |
getSource()
|
void |
setContext(int nContext)
Sets the context of the event. |
void |
setID(int nID)
Sets the event ID. |
void |
setSource(Dockable src)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ID_DOCKABLE_SHOWN
public static final int ID_DOCKABLE_HIDDEN
public static final int CONTEXT_LAYOUT_CHANGE
public static final int CONTEXT_LAYOUT_INSTALL
DockableFactory.install,
Constant Field Valuespublic static final int CONTEXT_USER_ACTION
public static final int CONTEXT_DRAG
public static final int CONTEXT_TOGGLE
| Constructor Detail |
public DockableEvent(Dockable dockable,
int nID)
public DockableEvent(Dockable dockable,
int nID,
int flags)
| Method Detail |
public int getID()
public void setID(int nID)
public void setSource(Dockable src)
public Dockable getSource()
public int getContext()
public void setContext(int nContext)
public java.lang.String toString()
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.