-
public class MapTicks extends VisualBase
Map axis ticks class.
-
-
Method Summary
Modifier and Type Method Description static MapTicksinstantiate()StringgetJsBase()voidenabled()Getter for the element state (enabled or disabled). MapTicksenabled(Boolean enabled)Setter for the element enabled state. voidlength()Getter for ticks length. MapTickslength(Number length)Setter for ticks length. MapTickslength(String length)Setter for ticks length. voidposition()Getter for ticks position. MapTicksposition(SidePosition value)Setter for ticks position. MapTicksposition(String value)Setter for ticks position. voidprint(PaperSize paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidprint(String paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidremoveAllListeners(String type)Removes all listeners from an object. voidstroke()Getter for ticks stroke settings. MapTicksstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for ticks stroke settings. MapTicksstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for ticks stroke settings. MapTicksstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for ticks stroke settings. MapTicksstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for ticks stroke settings. MapTicksstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for ticks stroke settings. MapTicksstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for ticks stroke settings. MapTicksstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for ticks stroke settings. MapTicksstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for ticks stroke settings. MapTicksstroke(String settings)Setter for ticks stroke settings using an object. voidsetOnClickListener(ListenersInterface.OnClickListener listener)voidsetOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)voidunlistenByKey(String key)Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). voidzIndex()Getter for the Z-index of the element. MapTickszIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. MapTickscontainer(Layer element)Setter for the container. MapTickscontainer(Stage element)Setter for the container. MapTickscontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. MapTicksparentBounds(Rect bounds)Setter for the parent bounds using single value. MapTicksparentBounds(String bounds)Setter for the parent bounds using single value. MapTicksparentBounds(Number bounds)Setter for the parent bounds using single value. MapTicksparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. -
Methods inherited from class com.anychart.core.VisualBase
container, container, container, enabled, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, zIndex -
Methods inherited from class com.anychart.core.Base
instantiate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MapTicks
MapTicks(String jsChart)
-
-
Method Detail
-
instantiate
static MapTicks instantiate()
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
length
void length()
Getter for ticks length.
-
position
void position()
Getter for ticks position.
-
position
MapTicks position(SidePosition value)
Setter for ticks position.
-
print
void print(PaperSize paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
print
void print(String paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
stroke
void stroke()
Getter for ticks stroke settings.
-
stroke
MapTicks stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for ticks stroke settings.
-
stroke
MapTicks stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for ticks stroke settings.
-
stroke
MapTicks stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for ticks stroke settings.
-
stroke
MapTicks stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for ticks stroke settings.
-
stroke
MapTicks stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for ticks stroke settings.
-
stroke
MapTicks stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for ticks stroke settings.
-
stroke
MapTicks stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for ticks stroke settings.
-
stroke
MapTicks stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for ticks stroke settings.
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener)
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)
-
unlistenByKey
void unlistenByKey(String key)
Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
MapTicks parentBounds(Rect bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
MapTicks parentBounds(String bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
MapTicks parentBounds(Number bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
-
-
-