|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.comp.Component
drcl.ruv.Term
The base class for all terminal classes. Ports
ShellContract.
| Nested Class Summary |
| Nested classes inherited from class drcl.comp.Component |
Component.Locks |
| Field Summary |
| Constructor Summary | |
Term()
|
|
Term(java.lang.String id_)
|
|
| Method Summary | |
void |
duplicate(java.lang.Object source_)
Duplicates the content of source_, including ID, name, child components and connections among them, to this component. |
void |
exit()
Exits the terminal. |
java.lang.String |
getTitle()
|
abstract void |
hide()
|
java.lang.String |
info()
Returns information regarding this component. |
abstract boolean |
isFocused()
|
static boolean |
isOutBoundCommand(java.lang.String cmd_)
|
boolean |
isOutputEnabled()
Returns true if the terminal is enabled to output via the "output" port. |
boolean |
isStdoutEnabled()
Returns true if the terminal is enabled to output to the stdout device. |
boolean |
isTerminalDisplayEnabled()
Returns true if the terminal is enabled to display output. |
void |
process(java.lang.Object data_,
Port inPort_)
|
void |
quit()
Quits the application. |
void |
reset()
Resets the component for being used anew. |
void |
RUVOutput(java.lang.String msg_)
Implements the RUVOutput interface. |
void |
setOutputEnabled(boolean enabled_)
Enables/disables output via the "output" port. |
void |
setStdoutEnabled(boolean enabled_)
Enables/disables output to the stdout device. |
void |
setTerminalDisplayEnabled(boolean enabled_)
Enables/disables terminal output display. |
void |
setTitle(java.lang.String title_)
|
abstract void |
show()
|
void |
write(java.lang.String msg_)
Puts the message on the terminal. |
| Methods inherited from class drcl.DrclObj |
clone |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Term()
public Term(java.lang.String id_)
| Method Detail |
public void reset()
Component
reset in class Componentpublic java.lang.String info()
Component
info in class Component
public void process(java.lang.Object data_,
Port inPort_)
data_ - the arrival data.inPort_ - the port where the data arrives.public void duplicate(java.lang.Object source_)
Component
duplicate in interface ObjectDuplicableduplicate in class Componentpublic boolean isStdoutEnabled()
stdout device.
public void setStdoutEnabled(boolean enabled_)
stdout device.
public boolean isOutputEnabled()
public void setOutputEnabled(boolean enabled_)
public boolean isTerminalDisplayEnabled()
public void setTerminalDisplayEnabled(boolean enabled_)
public final void write(java.lang.String msg_)
#_write(String) to implement
their own display mechanism.
public final void RUVOutput(java.lang.String msg_)
RUVOutput interface.
RUVOutput in interface RUVOutputpublic abstract void show()
public abstract void hide()
public abstract boolean isFocused()
public void setTitle(java.lang.String title_)
public java.lang.String getTitle()
public static final boolean isOutBoundCommand(java.lang.String cmd_)
public void exit()
public void quit()
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||