public static class MapDisplayControl.LatLonLabelState extends LatLonLabelData
fastRendering, myLatLonLabels| Constructor and Description |
|---|
LatLonLabelState()
Parameterless ctor
|
LatLonLabelState(boolean isLatitude,
float spacing)
The ctor
|
LatLonLabelState(LatLonLabelData that)
Ctor for creating from a LatLonData
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkVisibility()
Apply the visibility to the myLatLon
|
protected boolean |
getRealVisibility()
Overwrite the base class method to take into account the
display's visibility
|
protected void |
init(MapDisplayControl mapDisplayControl)
Set the MapDisplayControl
|
void |
initWith(LatLonLabelData that)
Copy the state from the given LatLonData
|
void |
setAlignment(java.lang.String value)
Set the alignment point
|
void |
setBaseValue(float value)
Set the base
|
void |
setColor(java.awt.Color value)
Set the color
|
void |
setFastRendering(boolean value)
Set the fast rendering flag
|
void |
setFont(java.lang.Object value)
Set the font
|
void |
setInterval(float value)
Set the spacing of the lines
|
void |
setLabelFormat(java.lang.String value)
Set the label format
|
void |
setLabelLines(float[] values)
Set the label lines of the lines
|
void |
setSphere(boolean value)
Set the sphere flag
|
void |
setUse360(boolean value)
Set the use360 property
|
void |
setVisible(boolean value)
Set the visibility
|
void |
stateChanged()
Called by the base class when one of the latlon values have changed.
|
java.lang.String |
toString()
to string
|
formatLabelLines, getAlignment, getBaseValue, getColor, getFastRendering, getFont, getInterval, getIsLatitude, getLabelFormat, getLabelLines, getLatLonLabels, getMaxValue, getMinValue, getSphere, getUse360, getVisible, parseLabelLineString, setIsLatitude, setLabelsLineString, setMaxValue, setMinValuepublic LatLonLabelState()
public LatLonLabelState(LatLonLabelData that)
that - The object to copy frompublic LatLonLabelState(boolean isLatitude,
float spacing)
isLatitude - Is this latitude or longitudespacing - Line spacingprotected void init(MapDisplayControl mapDisplayControl)
mapDisplayControl - The display I am part ofpublic void initWith(LatLonLabelData that)
initWith in class LatLonLabelDatathat - The LatLonData to copy frompublic void setColor(java.awt.Color value)
setColor in class LatLonLabelDatavalue - the new Colorpublic void setVisible(boolean value)
setVisible in class LatLonLabelDatavalue - true to be visiblepublic void setFastRendering(boolean value)
setFastRendering in class LatLonLabelDatavalue - true to turn on fast renderingpublic void setLabelLines(float[] values)
setLabelLines in class LatLonLabelDatavalues - the label linespublic void setInterval(float value)
setInterval in class LatLonLabelDatavalue - the line spacingpublic void setBaseValue(float value)
setBaseValue in class LatLonLabelDatavalue - the line widthpublic void setFont(java.lang.Object value)
setFont in class LatLonLabelDatavalue - the label fontpublic void setAlignment(java.lang.String value)
setAlignment in class LatLonLabelDatavalue - the alignment pointpublic void setLabelFormat(java.lang.String value)
setLabelFormat in class LatLonLabelDatavalue - the label formatpublic void setSphere(boolean value)
setSphere in class LatLonLabelDatavalue - the sphere flagpublic void setUse360(boolean value)
setUse360 in class LatLonLabelDatavalue - true to use 0-360 for longitudesprotected void checkVisibility()
protected boolean getRealVisibility()
getRealVisibility in class LatLonLabelDatapublic void stateChanged()
stateChanged in class LatLonLabelDatapublic java.lang.String toString()
toString in class java.lang.Object