Package org.insa.graphs.gui
Class AlgorithmPanel.StartActionEvent
- java.lang.Object
-
- java.util.EventObject
-
- java.awt.AWTEvent
-
- java.awt.event.ActionEvent
-
- org.insa.graphs.gui.AlgorithmPanel.StartActionEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- AlgorithmPanel
public class AlgorithmPanel.StartActionEvent extends java.awt.event.ActionEvent
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<? extends AbstractAlgorithm<?>>
algoClass
private ArcInspector
arcFilter
private boolean
graphicVisualization
private java.util.List<Node>
nodes
private static long
serialVersionUID
protected static java.lang.String
START_EVENT_COMMAND
protected static int
START_EVENT_ID
private boolean
textualVisualization
-
Fields inherited from class java.awt.event.ActionEvent
ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASK
-
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
-
-
Constructor Summary
Constructors Constructor Description StartActionEvent(java.lang.Class<? extends AbstractAlgorithm<?>> algoClass, java.util.List<Node> nodes, ArcInspector arcFilter, boolean graphicVisualization, boolean textualVisualization)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends AbstractAlgorithm<?>>
getAlgorithmClass()
ArcInspector
getArcFilter()
java.util.List<Node>
getNodes()
boolean
isGraphicVisualizationEnabled()
boolean
isTextualVisualizationEnabled()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
START_EVENT_COMMAND
protected static final java.lang.String START_EVENT_COMMAND
- See Also:
- Constant Field Values
-
START_EVENT_ID
protected static final int START_EVENT_ID
- See Also:
- Constant Field Values
-
nodes
private final java.util.List<Node> nodes
-
algoClass
private final java.lang.Class<? extends AbstractAlgorithm<?>> algoClass
-
arcFilter
private final ArcInspector arcFilter
-
graphicVisualization
private final boolean graphicVisualization
-
textualVisualization
private final boolean textualVisualization
-
-
Constructor Detail
-
StartActionEvent
public StartActionEvent(java.lang.Class<? extends AbstractAlgorithm<?>> algoClass, java.util.List<Node> nodes, ArcInspector arcFilter, boolean graphicVisualization, boolean textualVisualization)
-
-
Method Detail
-
getNodes
public java.util.List<Node> getNodes()
- Returns:
- Nodes associated with this event.
-
getArcFilter
public ArcInspector getArcFilter()
- Returns:
- Arc filter associated with this event.
-
getAlgorithmClass
public java.lang.Class<? extends AbstractAlgorithm<?>> getAlgorithmClass()
- Returns:
- Algorithm class associated with this event.
-
isGraphicVisualizationEnabled
public boolean isGraphicVisualizationEnabled()
- Returns:
- true if graphic visualization is enabled.
-
isTextualVisualizationEnabled
public boolean isTextualVisualizationEnabled()
- Returns:
- true if textual visualization is enabled.
-
-