com.novell.application.console.snapin
Class ShellFocusEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.novell.application.console.snapin.ShellFocusEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ShellFocusEvent
- extends java.util.EventObject
Defines a shell focus event.
This event is broadcasted when focus changes from
the tree to the view or from the view to the tree.
- See Also:
ShellSelectionListener
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
ShellFocusEvent(int focus,
int id)
Creates a focus changed 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) |
| 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 |
FOCUS_STATE_TREE
public static final int FOCUS_STATE_TREE
- 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
- View currently has focus. May be returned from getFocusState().
(FOCUS_STATE_VIEW = Shell.FOCUS_VIEW)
ShellFocusEvent
public ShellFocusEvent(int focus,
int id)
- Creates a focus changed event object.
- Parameters:
focus - An integer specifying what gained focus.id - An integer specifying the action that occurred on the event.- See Also:
getFocusState
public int getFocusState()
- 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.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.