All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.AppletAction
java.lang.Object
|
+----ncsa.habanero.HabaneroAction
|
+----ncsa.habanero.AppletAction
- public class AppletAction
- extends HabaneroAction
The AppletAction represents an AWT event; its action is to deliver
that event to its target.
-
event
-
-
AppletAction()
- Default constructor called if the next call will be a marshall()
-
AppletAction(Event)
-
-
act(Targetable)
-
-
describe()
-
-
getEvent()
-
-
toString()
-
event
protected Event event
AppletAction
public AppletAction(Event event)
- Parameters:
- event - the event to be sent to the other applets
- Returns:
- Initialize the AppletAction with the Event it represents
AppletAction
public AppletAction()
- Default constructor called if the next call will be a marshall()
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
getEvent
public Event getEvent()
- 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