All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ncsa.habanero.HabaneroFrame

public interface HabaneroFrame
This is the interface for frames in the Habanero system. MirrorFrame is the standard implementation of this interface, but windows which cannot extend that class can get the same effect by declaring this interface and delegating to HabaneroFrameImpl.


Method Index

 o action(Event, Object)
Send the Event over the network
 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 getCollobject()
Get the Collobject for which this window is a visual representation
 o handleEvent(Event)
Send the Event over the network
 o performedAction(Action)
Notify me that this action happened
 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

Methods

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

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

 o addEventCode
 public abstract 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 abstract 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 abstract boolean shouldSend(int code)
Returns true if the code is in the list

 o handleEvent
 public abstract boolean handleEvent(Event e)
Send the Event over the network

 o action
 public abstract boolean action(Event evt,
                                Object arg)
Send the Event over the network

 o performedAction
 public abstract void performedAction(Action action)
Notify me that this action happened


All Packages  Class Hierarchy  This Package  Previous  Next  Index