Package ucar.unidata.view.geoloc
Class LatLonAxisScaleInfo
java.lang.Object
ucar.visad.display.AxisScaleInfo
ucar.unidata.view.geoloc.LatLonAxisScaleInfo
- Direct Known Subclasses:
AxisScaleInfo
Class to hold lat/lon specific AxisScaleInfo stuff
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
Gets the base label.Gets the coord format.double
Gets the increment.int
Gets the minor division.int
hashCode()
boolean
Checks if label has relief.boolean
isUse360()
Checks to see if user wants 360 degree anglesvoid
setBaseLabel
(double baseLabel) Sets the base label.void
setBaseLabel
(String baseLabel) Sets the base label.void
setCoordFormat
(String coordFormat) Sets the coord format.void
setIncrement
(double increment) Sets the increment.void
setIncrement
(String increment) Sets the increment.void
setLabelRelief
(boolean labelRelief) Sets the label relief.void
setMinorDivision
(int minorDivision) Sets the minor division.void
setUse360
(boolean use360) The user wants 360 degree anglesMethods inherited from class ucar.visad.display.AxisScaleInfo
getFont, getLabel, isVisible, setFont, setLabel, setVisible
-
Field Details
-
COORD_FORMATS
Some default coordinate formats
-
-
Constructor Details
-
LatLonAxisScaleInfo
public LatLonAxisScaleInfo()Instantiates a new lat lon scale info.
-
-
Method Details
-
getCoordFormat
Gets the coord format.- Returns:
- the coord format
-
setCoordFormat
Sets the coord format.- Parameters:
coordFormat
- the new coord format
-
getBaseLabel
public double getBaseLabel()Gets the base label.- Returns:
- the base label
-
setBaseLabel
Sets the base label. deprecated- Parameters:
baseLabel
- the new base label
-
setBaseLabel
public void setBaseLabel(double baseLabel) Sets the base label.- Parameters:
baseLabel
- the new base label
-
getIncrement
public double getIncrement()Gets the increment.- Returns:
- the increment
-
setIncrement
Sets the increment. deprecated- Parameters:
increment
- the new increment
-
setIncrement
public void setIncrement(double increment) Sets the increment.- Parameters:
increment
- the new increment
-
getMinorDivision
public int getMinorDivision()Gets the minor division.- Returns:
- the minor division
-
setMinorDivision
public void setMinorDivision(int minorDivision) Sets the minor division.- Parameters:
minorDivision
- the new minor division
-
isUse360
public boolean isUse360()Checks to see if user wants 360 degree angles- Returns:
- true, if is use360
-
setUse360
public void setUse360(boolean use360) The user wants 360 degree angles- Parameters:
use360
- the new use360
-
isLabelRelief
public boolean isLabelRelief()Checks if label has relief.- Returns:
- true, if label has relief
-
setLabelRelief
public void setLabelRelief(boolean labelRelief) Sets the label relief.- Parameters:
labelRelief
- the new label relief
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAxisScaleInfo
-
equals
- Overrides:
equals
in classAxisScaleInfo
-