org.das2.graph.Psym
Type-safe enumeration class for the psym property of
a DasSymbolPlot
, with values for none, dots, circles, etc.
NONE
DOTS
CIRCLES
TRIANGLES
CROSS
draw
draw( java.awt.Graphics g, double x, double y, float size ) → void
Draw the psym at the given coordinates.
if drawsLines()
returns false, then the
ix and iy parameters are ignored.
Parameters
g - the graphics context.
x - the x position of the middle of the symbol
y - the y position of the middle of the symbol
size - size of the symbol
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
drawListIcon
drawListIcon( java.awt.Graphics2D g, int x, int y ) → void
Parameters
g - a Graphics2D
x - an int
y - an int
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
drawTriangle
drawTriangle( java.awt.Graphics g, double x, double y, float size ) → void
Parameters
g - a Graphics
x - a double
y - a double
size - a float
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getListIcon
getListIcon( ) → Icon
Returns:
javax.swing.Icon
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getListLabel
getListLabel( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
parsePsym
parsePsym( String str ) → Psym
return a Psym for the name, like none, dots, circles, etc.
Parameters
str - the name, e.g. none, dots, etc.
Returns:
Psym.NONE, Psym.DOTS, etc.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
toString
toString( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]