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.


Variable Index

 o event

Constructor Index

 o AppletAction()
Default constructor called if the next call will be a marshall()
 o AppletAction(Event)

Method Index

 o act(Targetable)
 o describe()
 o getEvent()
 o toString()

Variables

 o event
 protected Event event

Constructors

 o 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
 o AppletAction
 public AppletAction()
Default constructor called if the next call will be a marshall()

Methods

 o 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
 o getEvent
 public Event getEvent()
Returns:
the event that is stored in the AppletAction
 o describe
 public String describe()
Returns:
a string that describes this object
Overrides:
describe in class HabaneroAction
 o 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