public class MooreVisualizationHelper<S,I,T,O> extends AutomatonVisualizationHelper<S,I,T,MooreMachine<S,I,T,O>>
VisualizationHelper.CommonAttrs, VisualizationHelper.CommonStyles, VisualizationHelper.EdgeAttrs, VisualizationHelper.EdgeStyles, VisualizationHelper.NodeAttrs, VisualizationHelper.NodeShapes, VisualizationHelper.NodeStyles
automaton
Constructor and Description |
---|
MooreVisualizationHelper(MooreMachine<S,I,T,O> automaton) |
Modifier and Type | Method and Description |
---|---|
boolean |
getNodeProperties(S node,
Map<String,String> properties)
Retrieves the properties for rendering a single node.
|
getEdgeProperties, initialNodes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGlobalEdgeProperties, getGlobalNodeProperties
public MooreVisualizationHelper(MooreMachine<S,I,T,O> automaton)
public boolean getNodeProperties(S node, Map<String,String> properties)
VisualizationHelper
false
is returned, the node will not be rendered. Consequently,
any modifications to the properties map will have no effect.
The properties are stored in the Map
argument. Note that if an implementation of a base class is
overridden, it is probably a good idea to call super.getNodeProperties(node, properties);
at the
beginning of the method.
getNodeProperties
in interface VisualizationHelper<S,TransitionEdge<I,T>>
getNodeProperties
in class DefaultVisualizationHelper<S,TransitionEdge<I,T>>
node
- the node to be renderedproperties
- the property mapCopyright © 2020. All rights reserved.