public abstract class AbstractIcon
extends com.googlecode.sarasvati.visual.icon.AbstractNodeIcon
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DASH_EMPTY
length of the space between dashes.
|
protected static int |
DASH_FULL
length of the dash.
|
protected static int |
FONT_SIZE
font size.
|
protected static int |
ROUND_CORNER
corner radius.
|
| Constructor and Description |
|---|
AbstractIcon(com.googlecode.sarasvati.Node node)
constructs a blackboard node icon for a given runtime node.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor() |
float[] |
getDashes() |
String |
getLabel() |
com.googlecode.sarasvati.Node |
getNode() |
boolean |
isFailed() |
boolean |
isJoin() |
boolean |
isTerminal() |
void |
resetGfx(Graphics2D gfx) |
void |
setColor(Color color) |
void |
setDashes(float[] dashes) |
void |
setFailed(boolean failed) |
void |
setJoin(boolean join) |
void |
setLabel(String label) |
void |
setNode(com.googlecode.sarasvati.Node node) |
void |
setTerminal(boolean terminal) |
protected static final int ROUND_CORNER
protected static final int DASH_EMPTY
protected static final int DASH_FULL
protected static final int FONT_SIZE
public AbstractIcon(com.googlecode.sarasvati.Node node)
node - nodetoken - node tokenpublic void resetGfx(Graphics2D gfx)
public boolean isJoin()
public void setJoin(boolean join)
public String getLabel()
public void setLabel(String label)
public Color getColor()
public void setColor(Color color)
public float[] getDashes()
public void setDashes(float[] dashes)
public com.googlecode.sarasvati.Node getNode()
public void setNode(com.googlecode.sarasvati.Node node)
public boolean isTerminal()
public void setTerminal(boolean terminal)
public boolean isFailed()
public void setFailed(boolean failed)
Copyright © 2025. All rights reserved.