hades.models.string
Class StringSignal

java.lang.Object
  extended byhades.signals.Signal
      extended byhades.models.string.StringSignal
All Implemented Interfaces:
ColorSource, ContextToolTip, java.io.Serializable, Simulatable

public class StringSignal
extends Signal

StringSignal - a class that models an Signal that transports String values

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hades.signals.Signal
debug, design, DFS, driverValues, EA, glowMode, isRoot, label, lastChangeTime, lastValue, name, portPositionTable, probe, probeSymbol, receivers, segments, senders, simulator, solderDots, st, VA, value, vertexTable, VI, visible, visited
 
Constructor Summary
StringSignal()
           
StringSignal(java.lang.String name)
           
StringSignal(java.lang.String name, Port[] senders, Port[] receivers)
           
 
Method Summary
 void evaluate(java.lang.Object arg)
          evaluate
static Signal getDefaultValue()
           
 void handleGlowMode()
          do whatever is necessary to update our graphical representation when the glow mode state changed.
 
Methods inherited from class hades.signals.Signal
addReceiver, addSegment, addSender, addSolderDot, buildEdgeVectors, buildVertexArrays, canConnect, canMerge, connect, countSegments, countSendersAndReceivers, countSubgraphs, createLabel, createPortPositionTable, createVertexTable, dbg, deleteReceiver, deleteSegment, deleteSender, deleteSingularSegments, DFS, disconnect, disconnectAll, elaborate, getColor, getDebug, getDesign, getDriverValues, getFullName, getGlowMode, getLabel, getLastChangeTime, getName, getPreviousValue, getProbe, getProbeSymbol, getReceivers, getSegments, getSenders, getSimulator, getSolderDots, getToolTip, getValue, getVertexTable, getVisible, hasEvent, hasProbe, isConnected, isPortPosition, isStable, isVertex, isVisible, merge, message, moveLabelTo, numberOfDrivers, parseName, parsePorts, parseSegments, parseSolderDots, printDFS, printGraph, printPortPositionTable, printSegments, printVertexTable, propagateConnectivityChanges, readFromString, rebuildSolderDots, removeProbe, renameAfterDriver, setDebug, setDesign, setGlowMode, setName, setProbe, setProbeSymbol, setSimulator, setTrafo, setValue, setValue, setVisible, showInternalWireSegments, splitIntoSubgraphs, tearDown, toString, toStringVerbose, toStringVerboseOld, write, writeAsResource, writePorts, writeSegments, writeSolderDots
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringSignal

public StringSignal()

StringSignal

public StringSignal(java.lang.String name)

StringSignal

public StringSignal(java.lang.String name,
                    Port[] senders,
                    Port[] receivers)
Method Detail

getDefaultValue

public static Signal getDefaultValue()

evaluate

public void evaluate(java.lang.Object arg)
evaluate

Specified by:
evaluate in interface Simulatable
Overrides:
evaluate in class Signal
Parameters:
arg - An object with the new value for this signal.

handleGlowMode

public void handleGlowMode()
Description copied from class: Signal
do whatever is necessary to update our graphical representation when the glow mode state changed. Base class Signal does nothing here.

Overrides:
handleGlowMode in class Signal