Class StringSignal

  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(java.lang.String name)
StringSignal(java.lang.String name, Port[] senders, Port[] receivers)
Method Summary
 void evaluate(java.lang.Object arg)
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


public StringSignal()


public StringSignal(java.lang.String name)


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


public static Signal getDefaultValue()


public void evaluate(java.lang.Object arg)

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


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.

handleGlowMode in class Signal