All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.HabaneroFrameImpl

java.lang.Object
   |
   +----ncsa.habanero.HabaneroFrameImpl

public class HabaneroFrameImpl
extends Object
implements HabaneroFrame
This implements HabaneroFrame, and can be added to a Component making it able to send events across the network.


Variable Index

 o mirror
 o sendThese
 o session
 o val

Constructor Index

 o HabaneroFrameImpl(Collobject)
Construct this with the Collobject for which this is a visual representation.

Method Index

 o action(Event, Object)
If the event is one that should be sent, create a new StandardActionRequest to do so.
 o addEventCode(int)
Add the given event id (listed in Event.java) to the list of Event types which should be sent across the network.
 o checkAndQuit()
 o getCollobject()
Get the Collobject for which this window is a visual representation
 o getSession()
 o handleEvent(Event)
Call to the action method, which sends the Event over the network
 o performedAction(Action)
 o removeEventCode(int)
Remove the given event id (listed in Event.java) from the list of Event types which should be sent across the network.
 o setCollobject(Collobject)
Set the Collobject for which this window is a visual representation
 o shouldSend(int)
Returns true if the code is in the list

Variables

 o val
 protected static Integer val
 o mirror
 protected Collobject mirror
 o sendThese
 protected Hashtable sendThese
 o session
 protected Session session

Constructors

 o HabaneroFrameImpl
 public HabaneroFrameImpl(Collobject mom)
Construct this with the Collobject for which this is a visual representation. As a default, set it to send ACTION_EVENTS only.

Methods

 o checkAndQuit
 public void checkAndQuit()
 o action
 public boolean action(Event evt,
                       Object arg)
If the event is one that should be sent, create a new StandardActionRequest to do so.

 o addEventCode
 public void addEventCode(int code)
Add the given event id (listed in Event.java) to the list of Event types which should be sent across the network.

 o removeEventCode
 public void removeEventCode(int code)
Remove the given event id (listed in Event.java) from the list of Event types which should be sent across the network.

 o shouldSend
 public boolean shouldSend(int code)
Returns true if the code is in the list

 o handleEvent
 public boolean handleEvent(Event e)
Call to the action method, which sends the Event over the network

 o setCollobject
 public void setCollobject(Collobject c)
Set the Collobject for which this window is a visual representation

 o getCollobject
 public Collobject getCollobject()
Get the Collobject for which this window is a visual representation

 o getSession
 public Session getSession()
 o performedAction
 public void performedAction(Action action)

All Packages  Class Hierarchy  This Package  Previous  Next  Index