All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.MirrorFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----ncsa.habanero.MirrorFrame
- public class MirrorFrame
- extends Frame
- implements HabaneroFrame
This is a window which knows how to send events over the Internet. The
idea is that events travel up the component hierarchy until they arrive
here, and are then checked to see if they should be sent. You can specify
the type of Event to be sent - the default is that only ACTION_EVENTS are
sent. It is Habanero's default implementation of HabaneroFrame, and
delegates the event-sending methods to a HabaneroFrameImpl object.
Habanero creates these internally - as a rule, someone writing a
collaborative application does not have to make any.
-
delegate
-
-
disposed
-
-
UiCo
-
-
MirrorFrame(Collobject)
- Initialize the object with the Collobject it represents.
-
MirrorFrame(String, Collobject)
- Initialize the object with the window name and the Collobject
this object represents.
-
action(Event, Object)
- Delegate this method to the HabaneroFrameImpl.
-
addEventCode(int)
- Add an event type which should be sent over the net.
-
dispose()
-
-
getCollobject()
- Get the Collobject which this Frame visually represents.
-
handleEvent(Event)
- Delegate this method to the HabaneroFrameImpl.
-
hide()
-
-
performedAction(Action)
-
-
processWindowEvent(WindowEvent)
-
-
querySplitterInputStream(InputStream, String)
-
-
querySplitterMarshallInputStream(MarshallInput, String)
-
-
querySplitterMarshallOutputStream(MarshallOutput, String)
-
-
querySplitterOutputStream(OutputStream, String)
-
-
removeEventCode(int)
- Remove an event type which should be sent over the net.
-
removeNotify()
-
-
setCollobject(Collobject)
- Set the Collobject which this Frame visually represents.
-
setFlag(String)
-
-
setVisible(boolean)
-
-
shouldSend(int)
- Return true if the event type should be sent over the net.
-
show()
-
-
show(boolean)
-
delegate
protected HabaneroFrameImpl delegate
UiCo
protected Object UiCo
disposed
protected boolean disposed
MirrorFrame
public MirrorFrame(String title,
Collobject rep)
- Initialize the object with the window name and the Collobject
this object represents.
MirrorFrame
public MirrorFrame(Collobject rep)
- Initialize the object with the Collobject it represents.
processWindowEvent
protected void processWindowEvent(WindowEvent e)
- Overrides:
- processWindowEvent in class Window
action
public boolean action(Event evt,
Object arg)
- Delegate this method to the HabaneroFrameImpl.
- Overrides:
- action in class Component
addEventCode
public void addEventCode(int code)
- Add an event type which should be sent over the net.
Delegate this method to the HabaneroFrameImpl.
removeNotify
public void removeNotify()
- Returns:
- component has been told to remove itself from existance.
This causes a crash.
- Overrides:
- removeNotify in class Container
removeEventCode
public void removeEventCode(int code)
- Remove an event type which should be sent over the net.
Delegate this method to the HabaneroFrameImpl.
shouldSend
public boolean shouldSend(int code)
- Return true if the event type should be sent over the net.
Delegate this method to the HabaneroFrameImpl.
handleEvent
public boolean handleEvent(Event e)
- Delegate this method to the HabaneroFrameImpl.
- Overrides:
- handleEvent in class Component
setCollobject
public void setCollobject(Collobject c)
- Set the Collobject which this Frame visually represents.
Delegate this method to the HabaneroFrameImpl.
getCollobject
public Collobject getCollobject()
- Get the Collobject which this Frame visually represents.
Delegate this method to the HabaneroFrameImpl.
setVisible
public synchronized void setVisible(boolean bWay)
- Overrides:
- setVisible in class Component
show
public void show()
- Overrides:
- show in class Window
show
public void show(boolean bWay)
- Overrides:
- show in class Component
hide
public void hide()
- Overrides:
- hide in class Component
setFlag
public void setFlag(String flag)
dispose
public synchronized void dispose()
- Overrides:
- dispose in class Frame
performedAction
public void performedAction(Action action)
querySplitterMarshallOutputStream
public SplitterMOStr querySplitterMarshallOutputStream(MarshallOutput out,
String strTag)
- Parameters:
- out - the initial output stream
- strTag - the tag for the object
- Returns:
- a new splitter stream
querySplitterMarshallInputStream
public SplitterMIStr querySplitterMarshallInputStream(MarshallInput in,
String strTag)
- Parameters:
- in - the initial input stream
- strTag - the tag for the object
- Returns:
- a new splitter stream
querySplitterOutputStream
public SplitterOutStr querySplitterOutputStream(OutputStream out,
String strTag)
- Parameters:
- out - the initial output stream
- strTag - the tag for the object
- Returns:
- a new splitter stream
querySplitterInputStream
public SplitterInStr querySplitterInputStream(InputStream in,
String strTag)
- Parameters:
- in - the initial input stream
- strTag - the tag for the object
- Returns:
- a new splitter stream
All Packages Class Hierarchy This Package Previous Next Index