public class ZoomControlOptions extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
ZoomControlOptions.Property |
Constructor and Description |
---|
ZoomControlOptions()
Creates new ZoomControlOptions object.
|
ZoomControlOptions(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ControlPosition |
getPosition()
Returns value of position property.
|
ZoomControlStyle |
getStyle()
Returns value of style property.
|
void |
setPosition(ControlPosition position)
Sets new value for position property.
|
void |
setStyle(ZoomControlStyle style)
Sets new value for style property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public ZoomControlOptions()
@Deprecated public ZoomControlOptions(Map map)
map
- owner Map objectpublic ControlPosition getPosition()
Contains the 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()
public ZoomControlStyle getStyle()
Contains the Style id. Used to select what style of zoom control to display.
setStyle(com.teamdev.jxmaps.ZoomControlStyle)
public void setStyle(ZoomControlStyle style)
style
- new property valuegetStyle()