|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.das2.graph.Psym
public class Psym
Field Summary | |
---|---|
static Psym |
CIRCLES
|
static Psym |
CROSS
|
static Psym |
DOTS
|
static Psym |
NONE
|
static Psym |
TRIANGLES
|
Method Summary | |
---|---|
void |
draw(java.awt.Graphics g,
double x,
double y,
float size)
Draw the psym at the given coordinates. |
void |
drawTriangle(java.awt.Graphics g,
double x,
double y,
float size)
|
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. |
static Psym |
parsePsym(java.lang.String str)
|
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 Psym NONE
public static final Psym DOTS
public static final Psym CIRCLES
public static final Psym TRIANGLES
public static final Psym CROSS
Method Detail |
---|
public java.lang.String toString()
Enumeration
String
that will be helpful to the user
when choosing this as an option from a list.
toString
in interface Enumeration
toString
in class java.lang.Object
public java.lang.String getListLabel()
Displayable
String
that will help the user
identify this item when choosing from a list.
getListLabel
in interface Displayable
public javax.swing.Icon getListIcon()
Enumeration
null
if there
is no icon available.
getListIcon
in interface Displayable
getListIcon
in interface Enumeration
public void draw(java.awt.Graphics g, double x, double y, float size)
drawsLines()
returns false, then the
ix and iy parameters are ignored.
public void drawTriangle(java.awt.Graphics g, double x, double y, float size)
public static Psym parsePsym(java.lang.String str)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |