public class KahinaRecursiveChartView extends KahinaChartView
kahina, model, needsRedraw
Constructor and Description |
---|
KahinaRecursiveChartView(KahinaChart chartModel,
KahinaInstance<?,?,?,?> kahina) |
KahinaRecursiveChartView(KahinaInstance<?,?,?,?> kahina) |
Modifier and Type | Method and Description |
---|---|
void |
display(KahinaChart chartModel) |
int |
edgeAtCoordinates(int x,
int y) |
int |
getDisplayHeight() |
java.awt.Font |
getEdgeFont(int edgeID) |
java.awt.Stroke |
getEdgeStroke(int edgeID) |
java.awt.FontMetrics |
getFontMetrics(java.awt.Font f,
java.awt.Stroke s,
int fontSize) |
javax.swing.JComponent |
makePanel()
Returns the panel that represents this view in the GUI.
|
void |
processEvent(KahinaEdgeSelectionEvent e) |
void |
processEvent(KahinaEvent e) |
void |
recalculate()
Override this method to define necessary operations after changes to the
model (coordinate recomputations etc.)
|
boolean |
segmentDisplayed(int id) |
computeSegmentOffsets, getConfig, getDisplayWidth, getEdgeCaption, getEdgeColor, getEdgeHeight, getEdgeHighlightColor, getEdgeIDs, getEdgeWidth, getEdgeX, getEdgeY, getMarkedEdge, getNumberOfSegments, getSegmentCaption, getSegmentOffset, getSegmentWidth, getVisibleEdgeIDs, processEvent, setDisplayDecider, setMarkedEdge, setStatusAutoColorEncoding, setStatusColorEncoding, setStatusFontEncoding, setStatusHighlightColorEncoding, updateHighlightings
display, doDisplay, getModel, getTitle, isVisible, makeEditorPanel, needsRedraw, processEvent, requireRedraw, setConfig, setTitle, setVisible
public KahinaRecursiveChartView(KahinaInstance<?,?,?,?> kahina)
public KahinaRecursiveChartView(KahinaChart chartModel, KahinaInstance<?,?,?,?> kahina)
public void display(KahinaChart chartModel)
display
in class KahinaChartView
public void recalculate()
KahinaView
recalculate
in class KahinaChartView
public boolean segmentDisplayed(int id)
segmentDisplayed
in class KahinaChartView
public java.awt.FontMetrics getFontMetrics(java.awt.Font f, java.awt.Stroke s, int fontSize)
getFontMetrics
in class KahinaChartView
public java.awt.Stroke getEdgeStroke(int edgeID)
getEdgeStroke
in class KahinaChartView
public java.awt.Font getEdgeFont(int edgeID)
getEdgeFont
in class KahinaChartView
public int getDisplayHeight()
getDisplayHeight
in class KahinaChartView
public int edgeAtCoordinates(int x, int y)
edgeAtCoordinates
in class KahinaChartView
public javax.swing.JComponent makePanel()
KahinaView
makePanel
in class KahinaChartView
public void processEvent(KahinaEvent e)
processEvent
in interface KahinaListener
processEvent
in class KahinaChartView
public void processEvent(KahinaEdgeSelectionEvent e)