public class KahinaLayeredTreeView extends KahinaAbstractTreeView
config, kahina, model, needsRedraw
Constructor and Description |
---|
KahinaLayeredTreeView(boolean displaySecondDimensionInTopLayer,
KahinaLayeredTreeViewPanel.Orientation orientation,
KahinaInstance<?,?,?,?> kahina,
int... layers) |
KahinaLayeredTreeView(KahinaLayeredTreeViewPanel.Orientation orientation,
KahinaInstance<?,?,?,?> kahina,
int... layers) |
Modifier and Type | Method and Description |
---|---|
void |
displaySecondaryTree(KahinaTree treeModel) |
void |
doDisplay()
Subclasses may override this method to take certain actions directly
after
KahinaView.model has changed. |
KahinaTreeViewConfiguration |
getConfig() |
KahinaTree |
getModel() |
KahinaTree |
getSecondaryModel() |
KahinaTreeView |
getView(int index) |
javax.swing.JComponent |
makePanel()
Returns the panel that represents this view in the GUI.
|
protected void |
processEvent(KahinaUpdateEvent e) |
void |
selectStep(int stepID) |
void |
setConfig(KahinaViewConfiguration config) |
void |
setStatusColorEncoding(int status,
java.awt.Color color) |
display, getTitle, isVisible, makeEditorPanel, needsRedraw, processEvent, recalculate, requireRedraw, setTitle, setVisible
public KahinaLayeredTreeView(KahinaLayeredTreeViewPanel.Orientation orientation, KahinaInstance<?,?,?,?> kahina, int... layers)
public KahinaLayeredTreeView(boolean displaySecondDimensionInTopLayer, KahinaLayeredTreeViewPanel.Orientation orientation, KahinaInstance<?,?,?,?> kahina, int... layers)
public void doDisplay()
KahinaView
KahinaView.model
has changed. This default implementation does
nothing.doDisplay
in class KahinaView<KahinaTree>
public void displaySecondaryTree(KahinaTree treeModel)
displaySecondaryTree
in class KahinaAbstractTreeView
public KahinaTree getModel()
getModel
in class KahinaView<KahinaTree>
public KahinaTree getSecondaryModel()
getSecondaryModel
in class KahinaAbstractTreeView
public javax.swing.JComponent makePanel()
KahinaView
makePanel
in class KahinaView<KahinaTree>
public KahinaTreeView getView(int index)
public void setStatusColorEncoding(int status, java.awt.Color color)
setStatusColorEncoding
in class KahinaAbstractTreeView
public void selectStep(int stepID)
protected void processEvent(KahinaUpdateEvent e)
processEvent
in class KahinaView<KahinaTree>
public KahinaTreeViewConfiguration getConfig()
getConfig
in class KahinaView<KahinaTree>
public void setConfig(KahinaViewConfiguration config)
setConfig
in class KahinaView<KahinaTree>