public class PanControlOptions extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
PanControlOptions.Property |
Constructor and Description |
---|
PanControlOptions()
Creates new PanControlOptions object.
|
PanControlOptions(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ControlPosition |
getPosition()
Returns value of position property.
|
void |
setPosition(ControlPosition position)
Sets new value for position property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public PanControlOptions()
@Deprecated public PanControlOptions(Map map)
map
- owner Map objectpublic ControlPosition getPosition()
Contains position id. Used to specify the position of the control on the map. The default position is TOP_LEFT.
setPosition(com.teamdev.jxmaps.ControlPosition)
public void setPosition(ControlPosition position)
position
- new property valuegetPosition()