J-Sim v1.2.1-p7 API

drcl.ruv
Class DtermAWT

java.lang.Object
  extended bydrcl.DrclObj
      extended bydrcl.comp.Component
          extended bydrcl.ruv.Term
              extended bydrcl.ruv.DtermAWT
All Implemented Interfaces:
java.lang.Cloneable, ObjectDuplicable, RUVOutput, java.io.Serializable

public class DtermAWT
extends Term

Implements a (AWT) terminal.

See Also:
Serialized Form

Nested Class Summary
 class DtermAWT.MyKeyAdapter
           
 
Nested classes inherited from class drcl.comp.Component
Component.Locks
 
Field Summary
 
Fields inherited from class drcl.comp.Component
FLAG_COMPONENT_NOTIFICATION, FLAG_DEBUG_ENABLED, FLAG_DIRECT_OUTPUT_ENABLED, FLAG_ENABLED, FLAG_ERROR_ENABLED, FLAG_EVENT_ENABLED, FLAG_EXPOSED, FLAG_GARBAGE_DISPLAY_ENABLED, FLAG_GARBAGE_ENABLED, FLAG_HAS_EXPOSED_CHILD, FLAG_PORT_NOTIFICATION, FLAG_STARTED, FLAG_STOPPED, FLAG_TRACE_ENABLED, FLAG_UNDEFINED_START, id, infoPort, locks, name, parent, PortGroup_DEFAULT_GROUP, PortGroup_EVENT, PortGroup_SERVICE, Root, Trace_DATA, Trace_SEND
 
Constructor Summary
DtermAWT()
           
DtermAWT(java.lang.String id_)
           
 
Method Summary
protected  void _write(java.lang.String msg_)
          Puts the message on the terminal.
 void exit()
          Exits the terminal.
 void hide()
           
 java.lang.String info()
          Returns information regarding this component.
 boolean isFocused()
           
protected  void setCommand(java.lang.String cmd_, int pos_)
           
protected  void setPrompt(java.lang.String prompt_)
           
 void setTitle(java.lang.String title_)
           
 void show()
           
 
Methods inherited from class drcl.ruv.Term
addCmdToHistory, autocomplete, diagnoze, duplicate, evalCommand, evalFile, getHistory, getHistoryDown, getHistorySize, getHistoryUp, getPrompt, getTitle, historySubList, historySubList, interrupt, isOutBoundCommand, isOutputEnabled, isPrevousCommandFinished, isStdoutEnabled, isTerminalDisplayEnabled, process, quit, reset, RUVOutput, saveHistory, setOutputEnabled, setStdoutEnabled, setTerminalDisplayEnabled, write
 
Methods inherited from class drcl.comp.Component
_resume, _start, _stop, addComponent, addComponent, addEventPort, addEventPort, addForkPort, addPort, addPort, addPort, addPort, addPort, addPort, addPort, addPort, addServerPort, addServerPort, cancelFork, componentAdded, componentRemoved, connect, containsComponent, containsComponent, containsPort, debug, disconnectAll, disconnectAllPeers, disconnectAllPorts, drop, drop, error, error, expose, exposeEventPorts, exposePort, exposePort, exposePort, exposePort, exposePort, findAvailable, findAvailable, findAvailable, finishing, fork, forkAt, getAllComponents, getAllPorts, getAllPorts, getAllWiresInside, getAllWiresInsideOut, getAllWiresOut, getComponent, getComponentFlag, getComponentFlag, getContract, getContractHT, getContractHT, getDebugFlagsInBinary, getDebugLevelNames, getForkManager, getID, getName, getParent, getPort, getPort, getRoot, getRuntime, getTime, iduplicate, isAncestorOf, isComponentNotificationEnabled, isContainer, isDebugEnabled, isDebugEnabledAt, isDirectlyRelatedTo, isDirectOutputEnabled, isEnabled, isErrorNoticeEnabled, isEventExportEnabled, isGarbageDisplayEnabled, isGarbageEnabled, isPortNotificationEnabled, isPortRemovable, isStarted, isStopped, isTraceEnabled, lock, notify, notifyAll, operate, portAdded, portRemoved, reboot, removeAll, removeAllComponents, removeAllPorts, removeAllPorts, removeComponent, removeComponent, removePort, removePort, removePort, resume, run, sduplicate, send, sendAt, setComponentFlag, setComponentFlag, setComponentNotificationEnabled, setContract, setDebugEnabled, setDebugEnabled, setDebugEnabledAt, setDebugEnabledAt, setDebugEnabledAt, setDirectOutputEnabled, setDirectOutputEnabled, setEnabled, setErrorNoticeEnabled, setErrorNoticeEnabled, setEventExportEnabled, setEventExportEnabled, setExecutionBoundary, setGarbageDisplayEnabled, setGarbageDisplayEnabled, setGarbageEnabled, setGarbageEnabled, setID, setID, setName, setPort, setPort, setPortNotificationEnabled, setPortRemovable, setRuntime, setTraceEnabled, setTraceEnabled, sleepFor, sleepUntil, stop, toString, unexpose, unlock, useLocalForkManager, useLocalForkManager, wait, yield
 
Methods inherited from class drcl.DrclObj
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DtermAWT

public DtermAWT()

DtermAWT

public DtermAWT(java.lang.String id_)
Method Detail

info

public java.lang.String info()
Description copied from class: Component
Returns information regarding this component. Subclasses should override this method to provide useful information at run time.

Overrides:
info in class Term

setPrompt

protected void setPrompt(java.lang.String prompt_)
Overrides:
setPrompt in class Term

setTitle

public void setTitle(java.lang.String title_)
Overrides:
setTitle in class Term

_write

protected void _write(java.lang.String msg_)
Description copied from class: Term
Puts the message on the terminal. Subclasses should override this method to implement their own display mechanism.

Specified by:
_write in class Term

show

public void show()
Specified by:
show in class Term

hide

public void hide()
Specified by:
hide in class Term

isFocused

public boolean isFocused()
Specified by:
isFocused in class Term

exit

public void exit()
Description copied from class: Term
Exits the terminal. Subclasses must call super if overriding this method.

Overrides:
exit in class Term

setCommand

protected void setCommand(java.lang.String cmd_,
                          int pos_)
Specified by:
setCommand in class Term

J-Sim v1.2.1-p7 API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~