|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.novell.application.console.snapin.ShellSelectionEvent
Defines a shell selection event.
A shell selection event may consists of selection change or other such event.
ShellSelectionListener,
ShellSelectionAdapter| Field Summary | |
static int |
FOCUS_STATE_TREE
Tree currently has focus. |
static int |
FOCUS_STATE_VIEW
View currently has focus. |
static int |
SELECTION_CHANGE
Selection change occured. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ShellSelectionEvent(ObjectEntryCollection collection,
int id,
int focus)
Creates a shell selection event object. |
|
| Method Summary | |
int |
getFocusState()
Returns which panel in ConsoleOne currently has focus, the tree or the view - (ShellEvent.FOCUS_STATE_TREE or ShellEvent.FOCUS_STATE_VIEW) |
int |
getID()
Returns the action performed. |
ObjectEntryCollection |
getObjectCollection()
Returns the ObjectEntryCollection containing the objects associated with this event. |
| Methods inherited from class java.util.EventObject |
getSource,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int SELECTION_CHANGE
(SELECTION_CHANGE = 5)
public static final int FOCUS_STATE_TREE
(FOCUS_STATE_TREE = Shell.FOCUS_TREE)
public static final int FOCUS_STATE_VIEW
(FOCUS_STATE_VIEW = Shell.FOCUS_VIEW)
| Constructor Detail |
public ShellSelectionEvent(ObjectEntryCollection collection,
int id,
int focus)
object - The ObjectEntry array associated with the event.id - An integer specifying the action that occurred on the event.focus - A FOCUS_STATE_* constant that specifies whether the view or the tree currently has focus.SELECTION_CHANGE| Method Detail |
public int getID()
SELECTION_CHANGEpublic int getFocusState()
public ObjectEntryCollection getObjectCollection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||