All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.AWTEventAction
java.lang.Object
|
+----ncsa.habanero.HabaneroAction
|
+----ncsa.habanero.AWTEventAction
- public class AWTEventAction
- extends HabaneroAction
The AppletAction represents an AWT event; its action is to deliver
that event to its target.
-
arg
-
-
event
-
-
eventSource
-
-
AWTEventAction(AWTEvent)
-
-
AWTEventAction(AWTEvent, Object)
-
-
act(Targetable)
-
-
describe()
-
-
getAWTEvent()
-
-
toString()
-
event
protected AWTEvent event
eventSource
protected Object eventSource
arg
protected Object arg
AWTEventAction
public AWTEventAction(AWTEvent event,
Object argument)
- Parameters:
- event - the event to be sent to the other applets
- Returns:
- Initialize the AppletAction with the Event it represents
AWTEventAction
public AWTEventAction(AWTEvent event)
act
public void act(Targetable target)
- Parameters:
- target - where this action is going to act upon
- Returns:
- Tries to deliver the event to the target. Calls deliverEvent, first
on the target, and then potentially on any ancestor of the target
which supports the deliverEvent method, until one returns true.
- Overrides:
- act in class HabaneroAction
getAWTEvent
public AWTEvent getAWTEvent()
- Returns:
- the event that is stored in the AppletAction
describe
public String describe()
- Returns:
- a string that describes this object
- Overrides:
- describe in class HabaneroAction
toString
public String toString()
- Returns:
- a string representing an applet actino
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index