|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPolylineConnection
com.pnp.xfeature.figures.FeatureConnection
public class FeatureConnection
Standard Polyline connection extended to have a link to its parent, i.e. the node it comes from and so the lineStyle, lineWidth, etc. attributes can be applied.
| Constructor Summary | |
|---|---|
FeatureConnection(FeatureNodeModel parent)
creates the connector and sets its visual properties: style, width and color |
|
| Method Summary | |
|---|---|
void |
finalize()
disposes the connector color |
boolean |
isTransparent()
getter method |
void |
paint(Graphics graphics)
calls superclass implementation if not transparent |
void |
paintFigure(Graphics graphics)
calls superclass implementation |
void |
revalidate()
calls superclass implementation |
void |
setTransparent(boolean transparent)
setter method |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureConnection(FeatureNodeModel parent)
| Method Detail |
|---|
public void finalize()
throws java.lang.Throwable
java.lang.Throwablepublic void revalidate()
public void paintFigure(Graphics graphics)
public void paint(Graphics graphics)
public boolean isTransparent()
public void setTransparent(boolean transparent)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||