public class Projection extends JavascriptObject implements Serializable
counter, JS_GLOBAL, objectIds
Constructor and Description |
---|
Projection(String code)
Creates a new instance.
|
Projection(String code,
String units,
String axisOrientation)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Projection |
axisOrientation(String axisOrientation)
Sets the axis orientation for this projection.
|
Projection |
code(String code)
Sets the SRS identification code.
|
String |
getAxisOrientation()
Returns the axis orientation for this projection.
|
String |
getCode()
Returns the SRS identification code for this projection.
|
String |
getJsType()
Returns a String with the type of Javascript object that this object represents.
|
String |
getUnits()
Returns the units for this projection.
|
String |
renderJs()
Returns a String with containing the rendered Javascript code for this object.
|
void |
setAxisOrientation(String axisOrientation)
Sets the axis orientation for this projection.
|
void |
setCode(String code)
Sets the SRS identification code.
|
void |
setUnits(String units)
Sets the units for this projection.
|
Projection |
units(String units)
Sets the units for this projection.
|
escapeQuoteJs, getJsId, getJsIdWithSuffix
public Projection(String code)
code
- SRS identification codepublic String getCode()
public void setCode(String code)
code
- New valuepublic Projection code(String code)
code
- New valuepublic String getUnits()
public void setUnits(String units)
units
- New valuepublic Projection units(String units)
units
- New valuepublic String getAxisOrientation()
public void setAxisOrientation(String axisOrientation)
axisOrientation
- New valuepublic Projection axisOrientation(String axisOrientation)
axisOrientation
- New valuepublic String getJsType()
JavascriptObject
getJsType
in interface IJavascriptObject
getJsType
in class JavascriptObject
public String renderJs()
JavascriptObject
renderJs
in interface IJavascriptObject
renderJs
in class JavascriptObject
Copyright © 2015. All rights reserved.