All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.HabaneroEvent
java.lang.Object
|
+----java.awt.Event
|
+----ncsa.habanero.HabaneroEvent
- public class HabaneroEvent
- extends Event
This extends Event to allow it to be initialized from a string. The
tokens String is a list of tokens to pass to a StringTokenizer. The
arg instance variable is handled as an object, not as part of the String,
allowing it to be marshalled.
-
QUIT_APP
-
-
QUIT_SESSION
-
-
HabaneroEvent(String, Object)
- Create a new Event object by parsing the String representation of the
Event.
-
tokens()
- Return the list of tokens
-
toLocal(Component)
- Since event coordinates get translated to the Frame's coordinate
system, this method translates them back.
QUIT_APP
public static final int QUIT_APP
QUIT_SESSION
public static final int QUIT_SESSION
HabaneroEvent
public HabaneroEvent(String eventRep,
Object arg)
- Create a new Event object by parsing the String representation of the
Event. Try to create a new instance of the target; if that fails, leave
it as a String object.
tokens
public static String tokens()
- Return the list of tokens
toLocal
public void toLocal(Component target)
- Since event coordinates get translated to the Frame's coordinate
system, this method translates them back. This is very inefficient.
Really, it is.
All Packages Class Hierarchy This Package Previous Next Index