|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
All components that are to be added to the TerminalDisplay implementation
must implement this interface.
A terminal component need not actually be visual, i.e. provide an AWT
or Swing component for display, but if it is it must return a Component from
the getComponent() method.
Each component can be added to any position (north, south, east or west) in any ring.
| Method Summary | |
java.awt.Component |
getComponent()
Return the AWT / Swing component this terminal component provides. |
Terminal |
getTerminalDisplay()
Return the TerminalDisplay this componet has been added to. |
void |
init(Terminal display)
Invoked when the terminal adds the component to its UI. |
| Method Detail |
public void init(Terminal display)
display - display implementationpublic Terminal getTerminalDisplay()
TerminalDisplay this componet has been added to.
Before init(TerminalDisplay) is called this method should
return null.
public java.awt.Component getComponent()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||