|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.das2.graph.PsymConnector
public class PsymConnector
| Field Summary | |
|---|---|
static PsymConnector |
DASHFINE
|
static PsymConnector |
DOTFINE
|
static PsymConnector |
NONE
|
static PsymConnector |
SOLID
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g,
java.awt.geom.GeneralPath path,
float width)
|
void |
drawLine(java.awt.Graphics2D g,
double x1,
double y1,
double x2,
double y2,
float width)
See draw( Graphics2D, GeneralPath, float ) for drawing traces. |
javax.swing.Icon |
getListIcon()
An icon can be provided that will be shown in a list along with the textual description of the element. |
java.lang.String |
getListLabel()
return a String that will help the user
identify this item when choosing from a list. |
protected java.awt.Stroke |
getStroke(float width)
|
java.lang.String |
toString()
Type-safe Enumerations implementing this interface should override the toString() method to return a String that will be helpful to the user
when choosing this as an option from a list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PsymConnector NONE
public static final PsymConnector SOLID
public static final PsymConnector DOTFINE
public static final PsymConnector DASHFINE
| Method Detail |
|---|
protected java.awt.Stroke getStroke(float width)
public void draw(java.awt.Graphics2D g,
java.awt.geom.GeneralPath path,
float width)
public void drawLine(java.awt.Graphics2D g,
double x1,
double y1,
double x2,
double y2,
float width)
g - x1 - y1 - x2 - y2 - width - public javax.swing.Icon getListIcon()
Enumerationnull if there
is no icon available.
getListIcon in interface DisplayablegetListIcon in interface Enumerationpublic java.lang.String getListLabel()
DisplayableString that will help the user
identify this item when choosing from a list.
getListLabel in interface Displayablepublic java.lang.String toString()
EnumerationString that will be helpful to the user
when choosing this as an option from a list.
toString in interface EnumerationtoString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||