com.novell.application.console.snapin
Class ShellEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.novell.application.console.snapin.ShellEvent
All Implemented Interfaces:
java.io.Serializable

Deprecated. Replaced by ShellSelectionEvent

public class ShellEvent
extends java.util.EventObject

Defines a shell event.

A shell event may consist of selection change or other such event.

See Also:
ShellListener, ShellAdapter

Field Summary
static int FOCUS_STATE_TREE
          Deprecated. Tree currently has focus.
static int FOCUS_STATE_VIEW
          Deprecated. View currently has focus.
static int SELECTION_CHANGE
          Deprecated. Selection change occured.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ShellEvent(ObjectEntryCollection collection, int id, int focus)
          Deprecated. Creates a shell event object.
 
Method Summary
 int getFocusState()
          Deprecated. Returns which panel in ConsoleOne currently has focus, the tree or the view - (ShellEvent.FOCUS_STATE_TREE or ShellEvent.FOCUS_STATE_VIEW)
 int getID()
          Deprecated. Returns the action performed.
 ObjectEntryCollection getObjectCollection()
          Deprecated. 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

SELECTION_CHANGE

public static final int SELECTION_CHANGE
Deprecated. 
Selection change occured.

(SELECTION_CHANGE = 5)


FOCUS_STATE_TREE

public static final int FOCUS_STATE_TREE
Deprecated. 
Tree currently has focus. May be returned from getFocusState().

(FOCUS_STATE_TREE = Shell.FOCUS_TREE)


FOCUS_STATE_VIEW

public static final int FOCUS_STATE_VIEW
Deprecated. 
View currently has focus. May be returned from getFocusState().

(FOCUS_STATE_VIEW = Shell.FOCUS_VIEW)

Constructor Detail

ShellEvent

public ShellEvent(ObjectEntryCollection collection,
                  int id,
                  int focus)
Deprecated. 
Creates a shell event object.
Parameters:
object - The ObjectEntry array associated with the event.
id - An integer specifying the action that occurred on the event.
See Also:
SELECTION_CHANGE
Method Detail

getID

public int getID()
Deprecated. 
Returns the action performed.
Returns:
An integer representing the action performed.
See Also:
SELECTION_CHANGE

getFocusState

public int getFocusState()
Deprecated. 
Returns which panel in ConsoleOne currently has focus, the tree or the view - (ShellEvent.FOCUS_STATE_TREE or ShellEvent.FOCUS_STATE_VIEW)
Returns:
The panel that has focus when this event was fired.

getObjectCollection

public ObjectEntryCollection getObjectCollection()
Deprecated. 
Returns the ObjectEntryCollection containing the objects associated with this event.
Returns:
The ObjectEntryCollection containing the objects associated with this event.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.