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.
-
mirror
-
-
sendThese
-
-
session
-
-
val
-
-
HabaneroFrameImpl(Collobject)
-
Construct this with the Collobject for which this is a
visual representation.
-
action(Event, Object)
- If the event is one that should be sent, create a new
StandardActionRequest to do so.
-
addEventCode(int)
- Add the given event id (listed in Event.java) to the list of Event
types which should be sent across the network.
-
checkAndQuit()
-
-
getCollobject()
- Get the Collobject for which this window is a visual representation
-
getSession()
-
-
handleEvent(Event)
- Call to the action method, which sends the Event over the network
-
performedAction(Action)
-
-
removeEventCode(int)
- Remove the given event id (listed in Event.java) from the list of Event
types which should be sent across the network.
-
setCollobject(Collobject)
- Set the Collobject for which this window is a visual representation
-
shouldSend(int)
- Returns true if the code is in the list
val
protected static Integer val
mirror
protected Collobject mirror
sendThese
protected Hashtable sendThese
session
protected Session session
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.
checkAndQuit
public void checkAndQuit()
action
public boolean action(Event evt,
Object arg)
- If the event is one that should be sent, create a new
StandardActionRequest to do so.
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.
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.
shouldSend
public boolean shouldSend(int code)
- Returns true if the code is in the list
handleEvent
public boolean handleEvent(Event e)
- Call to the action method, which sends the Event over the network
setCollobject
public void setCollobject(Collobject c)
- Set the Collobject for which this window is a visual representation
getCollobject
public Collobject getCollobject()
- Get the Collobject for which this window is a visual representation
getSession
public Session getSession()
performedAction
public void performedAction(Action action)
All Packages Class Hierarchy This Package Previous Next Index