public abstract class EdgeView
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.awt.BasicStroke |
DEF_STROKE |
protected java.awt.Point |
end |
protected NodeView |
source |
protected java.awt.Point |
start |
Constructor and Description |
---|
EdgeView() |
Modifier and Type | Method and Description |
---|---|
protected void |
createEnd() |
protected void |
createStart() |
abstract java.awt.Color |
getColor() |
protected static java.awt.Stroke |
getEclipsedStroke() |
protected MapView |
getMap() |
protected MindMapEdge |
getModel() |
protected NodeView |
getSource() |
java.awt.Stroke |
getStroke() |
protected NodeView |
getTarget() |
int |
getWidth() |
protected boolean |
isTargetEclipsed() |
protected abstract void |
paint(java.awt.Graphics2D g) |
void |
paint(NodeView target,
java.awt.Graphics2D g)
This should be a task of MindMapLayout
start,end must be initialized...
|
protected void |
reset() |
protected NodeView source
protected java.awt.Point start
protected java.awt.Point end
protected static final java.awt.BasicStroke DEF_STROKE
public void paint(NodeView target, java.awt.Graphics2D g)
target
- TODOprotected void createEnd()
protected void createStart()
protected abstract void paint(java.awt.Graphics2D g)
protected void reset()
public abstract java.awt.Color getColor()
public java.awt.Stroke getStroke()
public int getWidth()
protected MindMapEdge getModel()
protected MapView getMap()
protected static java.awt.Stroke getEclipsedStroke()
protected boolean isTargetEclipsed()
protected NodeView getSource()
protected NodeView getTarget()