public class LatLonGraticuleLayer extends AbstractGraticuleLayer
| Modifier and Type | Class and Description | 
|---|---|
protected class  | 
LatLonGraticuleLayer.GraticuleTile  | 
AbstractGraticuleLayer.GridElement| Modifier and Type | Field and Description | 
|---|---|
static String | 
GRATICULE_LATLON_LEVEL_0  | 
static String | 
GRATICULE_LATLON_LEVEL_1  | 
static String | 
GRATICULE_LATLON_LEVEL_2  | 
static String | 
GRATICULE_LATLON_LEVEL_3  | 
static String | 
GRATICULE_LATLON_LEVEL_4  | 
static String | 
GRATICULE_LATLON_LEVEL_5  | 
protected LatLonGraticuleLayer.GraticuleTile[][] | 
gridTiles  | 
protected ArrayList<Double> | 
latitudeLabels  | 
protected ArrayList<Double> | 
longitudeLabels  | 
protected static int | 
MIN_CELL_SIZE_PIXELS  | 
frameTimeStamp, globe, graticuleSupport, gridElements, lastEyePoint, lastProjection, lastVerticalExaggeration, lastViewFOV, lastViewHeading, lastViewPitch, LINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_SOLID, terrainConformance| Constructor and Description | 
|---|
LatLonGraticuleLayer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addLabel(double value,
        String labelType,
        String graticuleType,
        double resolution,
        LatLon labelOffset)  | 
protected void | 
clear(DrawContext dc)  | 
protected void | 
clearTiles()  | 
String | 
getAngleFormat()
Get the graticule division and angular display format. 
 | 
protected String[] | 
getOrderedTypes()  | 
protected String | 
getTypeFor(double resolution)  | 
protected ArrayList<LatLonGraticuleLayer.GraticuleTile> | 
getVisibleTiles(DrawContext dc)  | 
protected void | 
initRenderingParams()  | 
protected String | 
makeAngleLabel(Angle angle,
              double resolution)  | 
protected void | 
selectRenderables(DrawContext dc)
Select the visible grid elements 
 | 
void | 
setAngleFormat(String format)
Sets the graticule division and angular display format. 
 | 
addRenderable, computeAltitudeAboveGround, computeLabelOffset, computeTerrainConformance, computeTruncatedSegment, createLineRenderable, doPreRender, doRender, getDeltaLongitude, getGraticuleLineColor, getGraticuleLineStyle, getGraticuleLineWidth, getLabelColor, getLabelFont, getRenderingParams, getRestorableState, getSurfacePoint, greatCircleIntersectionAtLatitude, greatCircleIntersectionAtLongitude, greatCircleMidPoint, isDrawGraticule, isDrawLabels, needsToUpdate, removeAllRenderables, renderGraticule, restoreState, setDrawGraticule, setDrawLabels, setGraticuleLineColor, setGraticuleLineStyle, setGraticuleLineWidth, setLabelColor, setLabelFont, setRenderingParamscreateLayerConfigElements, dispose, doPick, getDataFileStore, getExpiryTime, getLayerConfigParams, getMaxActiveAltitude, getMaxEffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getName, getOpacity, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerConfigDocument, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, setDataFileStore, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setOpacity, setPickEnabled, setScreenCredit, toStringonMessage, propertyChangeaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuespropertyChangeonMessagepublic static final String GRATICULE_LATLON_LEVEL_0
public static final String GRATICULE_LATLON_LEVEL_1
public static final String GRATICULE_LATLON_LEVEL_2
public static final String GRATICULE_LATLON_LEVEL_3
public static final String GRATICULE_LATLON_LEVEL_4
public static final String GRATICULE_LATLON_LEVEL_5
protected LatLonGraticuleLayer.GraticuleTile[][] gridTiles
protected static final int MIN_CELL_SIZE_PIXELS
protected void addLabel(double value,
                        String labelType,
                        String graticuleType,
                        double resolution,
                        LatLon labelOffset)
protected void clear(DrawContext dc)
clear in class AbstractGraticuleLayerprotected void clearTiles()
public String getAngleFormat()
Angle.ANGLE_FORMAT_DD or
 Angle.ANGLE_FORMAT_DMS.protected String[] getOrderedTypes()
protected String getTypeFor(double resolution)
protected ArrayList<LatLonGraticuleLayer.GraticuleTile> getVisibleTiles(DrawContext dc)
protected void initRenderingParams()
protected void selectRenderables(DrawContext dc)
selectRenderables in class AbstractGraticuleLayerdc - the current DrawContext.public void setAngleFormat(String format)
Angle.ANGLE_FORMAT_DD,
 Angle.ANGLE_FORMAT_DMS of Angle.ANGLE_FORMAT_DM.format - the graticule division and angular display format.IllegalArgumentException - is format is null.