public class ColoredPathDAGView extends KahinaDAGView
ANTIALIASING, config, layout, NO_ANTIALIASING, verbose
kahina, needsRedraw
Constructor and Description |
---|
ColoredPathDAGView(KahinaInstance<?,?,?,?> kahina,
KahinaDAGLayouter layout) |
Modifier and Type | Method and Description |
---|---|
void |
display(ColoredPathDAG dagModel) |
java.util.List<java.awt.Color> |
getEdgeColors(int edgeID) |
ColoredPathDAG |
getModel() |
javax.swing.JComponent |
makePanel()
Returns the panel that represents this view in the GUI.
|
void |
recalculate()
Override this method to define necessary operations after changes to the
model (coordinate recomputations etc.)
|
display, displaysNode, getConfig, getDAGModel, getDisplayHeight, getDisplayWidth, getLayouter, getMarkedNode, getNodeBorderColor, getNodeColor, getNodeFont, getNodeWidth, getNodeWidths, getNodeX, getNodeY, getXCoordinates, getYCoordinates, isNodeVisible, processEvent, setConfig, setLayouter, setMarkedNode, setNodeBorderColor, setStatusColorEncoding, setStatusFontEncoding
display, doDisplay, getTitle, isVisible, makeEditorPanel, needsRedraw, processEvent, requireRedraw, setConfig, setTitle, setVisible
public ColoredPathDAGView(KahinaInstance<?,?,?,?> kahina, KahinaDAGLayouter layout)
public ColoredPathDAG getModel()
getModel
in class KahinaView<KahinaDAG>
public void display(ColoredPathDAG dagModel)
public java.util.List<java.awt.Color> getEdgeColors(int edgeID)
public void recalculate()
KahinaView
recalculate
in class KahinaDAGView
public javax.swing.JComponent makePanel()
KahinaView
makePanel
in class KahinaDAGView