hades.models.io
Class OpinWithLabel

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.gates.GenericGate
          extended byhades.models.io.Opin
              extended byhades.models.io.OpinWithLabel
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, OutputConnector, java.io.Serializable, Simulatable

public class OpinWithLabel
extends Opin
implements OutputConnector

OpinWithLabel - a simple subclass of Opin which displays both the colored circle (as Opin) but also a label indicating the current input StdLogic1164 value.

See Also:
Serialized Form

Field Summary
(package private) static java.awt.Color[] _colors
           
 
Fields inherited from class hades.models.io.Opin
port_A, port_toplevel, showOnOff, value
 
Fields inherited from class hades.models.gates.GenericGate
t_delay
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
OpinWithLabel()
           
 
Method Summary
protected  void initDisplay()
           
 void setSymbol(Symbol s)
           
protected  void showState(StdLogic1164 value)
           
 java.lang.String toString()
          toString() - the usual info method
 
Methods inherited from class hades.models.io.Opin
elaborate, evaluate, getToolTip, setName
 
Methods inherited from class hades.models.gates.GenericGate
configure, copy, getDelay, initialize, scheduleEvent, scheduleEventAfter, scheduleOutputValue, scheduleOutputValueAfter, setDelay, setDelay, write
 
Methods inherited from class hades.simulator.SimObject
constructDynamicSymbol, getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getVersionId, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setParent, setPorts, setSimulator, setVersionId, setVisible, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface hades.simulator.Simulatable
message
 

Field Detail

_colors

static java.awt.Color[] _colors
Constructor Detail

OpinWithLabel

public OpinWithLabel()
Method Detail

setSymbol

public void setSymbol(Symbol s)
Overrides:
setSymbol in class Opin

initDisplay

protected void initDisplay()
Overrides:
initDisplay in class Opin

showState

protected void showState(StdLogic1164 value)
Overrides:
showState in class Opin

toString

public java.lang.String toString()
toString() - the usual info method

Overrides:
toString in class Opin