Package net.automatalib.visualization
Class DummyVP
- java.lang.Object
-
- net.automatalib.visualization.DummyVP
-
- All Implemented Interfaces:
VisualizationProvider
@MetaInfServices(VisualizationProvider.class) public class DummyVP extends Object implements VisualizationProvider
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDtheidof thisVisualizationProvider.
-
Constructor Summary
Constructors Constructor Description DummyVP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckUsable()Checks whether the provider is supported on the current platform.StringgetId()Returns the id of the visualization provider.intgetPriority()Returns the priority of the provider.<N,E>
voidvisualize(Graph<N,E> graph, List<VisualizationHelper<N,? super E>> additionalHelpers, boolean modal, Map<String,String> options)Visualizes the given graph by means of executing the visualization implementation.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.automatalib.visualization.VisualizationProvider
getDescription
-
-
-
-
Field Detail
-
ID
public static final String ID
theidof thisVisualizationProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:VisualizationProviderReturns the id of the visualization provider. This value is used and matched against theAutomataLibProperty.VISUALIZATION_PROVIDERproperty to select the chosen visualization provider.- Specified by:
getIdin interfaceVisualizationProvider- Returns:
- the id of the provider
-
getPriority
public int getPriority()
Description copied from interface:VisualizationProviderReturns the priority of the provider. If no provider is selected via theAutomataLibProperty.VISUALIZATION_PROVIDERproperty, the provider with the highest priority is chosen.- Specified by:
getPriorityin interfaceVisualizationProvider- Returns:
- the priority of the provider
-
checkUsable
public boolean checkUsable()
Description copied from interface:VisualizationProviderChecks whether the provider is supported on the current platform.- Specified by:
checkUsablein interfaceVisualizationProvider- Returns:
trueif the provider is able to visualiza,falseotherwise- See Also:
VisualizationProvider.visualize(Graph, List, boolean, Map)
-
visualize
public <N,E> void visualize(Graph<N,E> graph, List<VisualizationHelper<N,? super E>> additionalHelpers, boolean modal, Map<String,String> options)
Description copied from interface:VisualizationProviderVisualizes the given graph by means of executing the visualization implementation.- Specified by:
visualizein interfaceVisualizationProvider- Type Parameters:
N- the node type of the graph modelE- the edge type of the graph model- Parameters:
graph- the graph model to visualizeadditionalHelpers- additional helpers to influence the visualizationmodal- a flag, whether the visualized graph should be displayed in a modal dialog (halting the current program execution) or not.options- additional options for the provider
-
-