|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.noaa.pmel.sgt.PointAttribute
Set the rendereing style for point data.
Color
, width, and mark type are
PointAttribute
properties.
CartesianGraph
,
PointCartesianRenderer
,
PlotMark
Field Summary | |
static int |
CENTERED
Position label over the point |
static int |
E
Position label east of the point |
static int |
N
Position label north of the point |
static int |
NE
Position label northeast of the point |
static int |
NW
Position label northwest of the point |
static int |
S
Position label south of the point |
static int |
SE
Position label southeast of the point |
static int |
SW
Position label southwest of the point |
static int |
W
Position label west of the point |
Constructor Summary | |
PointAttribute()
Default constructor. |
|
PointAttribute(int mark,
java.awt.Color color)
Constructor for plot marks. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add listener to changes in PointAttribute properties. |
PointAttribute |
copy()
Copy the PointAttribute . |
java.awt.Color |
getColor()
Get Point Color . |
java.awt.Color |
getLabelColor()
Get label Color . |
java.awt.Font |
getLabelFont()
Get label Font . |
double |
getLabelHeightP()
Get label height. |
int |
getLabelPosition()
Get label position. |
int |
getMark()
Get plot mark |
double |
getMarkHeightP()
Get mark height |
double |
getWidthP()
Get Point width. |
boolean |
isDrawLabel()
Is label drawing on? |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove change listener. |
void |
setColor(java.awt.Color c)
Set the point Color . |
void |
setDrawLabel(boolean dl)
Set label drawing. |
void |
setLabelColor(java.awt.Color col)
Set label Color . |
void |
setLabelFont(java.awt.Font font)
Set label Font . |
void |
setLabelHeightP(double h)
Set label height. |
void |
setLabelPosition(int pos)
Set label position. |
void |
setMark(int mark)
Set plot mark Property Change: mark . |
void |
setMarkHeightP(double markh)
Set mark height. |
void |
setWidthP(double t)
Set the Point width in physical units. |
java.lang.String |
toString()
Get a String representation of the
PointAttribute . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CENTERED
public static final int N
public static final int NE
public static final int E
public static final int SE
public static final int S
public static final int SW
public static final int W
public static final int NW
Constructor Detail |
public PointAttribute()
public PointAttribute(int mark, java.awt.Color color)
mark
- plot markcolor
- Point colorPlotMark
Method Detail |
public PointAttribute copy()
PointAttribute
.PointAttribute
public void setMarkHeightP(double markh)
markHeightP
.markh
- mark heightpublic double getMarkHeightP()
public void setColor(java.awt.Color c)
Color
.
color
.c
- point Color
public void setWidthP(double t)
widthP
.t
- Point widthpublic java.awt.Color getColor()
Color
.Color
public double getWidthP()
public void setMark(int mark)
mark
.mark
- the plot markPlotMark
public int getMark()
PlotMark
public void setLabelPosition(int pos)
labelPosition
.public int getLabelPosition()
public void setLabelColor(java.awt.Color col)
Color
.
labelColor
.public java.awt.Color getLabelColor()
Color
.public void setLabelFont(java.awt.Font font)
Font
.
labelFont
.public java.awt.Font getLabelFont()
Font
.public void setLabelHeightP(double h)
labelHeightP
.public double getLabelHeightP()
public void setDrawLabel(boolean dl)
drawLabel
.public boolean isDrawLabel()
public java.lang.String toString()
String
representation of the
PointAttribute
.toString
in interface Attribute
toString
in class java.lang.Object
String
representationpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
PointAttribute
properties.addPropertyChangeListener
in interface Attribute
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Attribute
removePropertyChangeListener
in interface Attribute
|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |