public class ShellSelectionEvent
extends java.util.EventObject
A shell selection event may consists of selection change or other such event.
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
ShellSelectionEvent(ObjectEntryCollection collection,
int id,
int focus)
Creates a shell selection event object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)
public ShellSelectionEvent(ObjectEntryCollection collection, int id, int focus)
collection - 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_CHANGEpublic int getID()
SELECTION_CHANGEpublic int getFocusState()
public ObjectEntryCollection getObjectCollection()
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.