-
public class Base extends VisualBase
Base pointer class for all pointers.
-
-
Method Summary
Modifier and Type Method Description static Baseinstantiate()StringgetJsBase()voidaxisIndex()Getter for the axis index. BaseaxisIndex(Number index)Setter for the axis index. Viewdata(List<DataEntry> data)voiddataIndex()Getter for the data index. BasedataIndex(Number index)Setter for the data index. voidenabled()Getter for the element state (enabled or disabled). Baseenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the pointer fill color. Basefill(Fill color)Sets pointer fill settings using an array or a string. Basefill(GradientKey color)Sets pointer fill settings using an array or a string. Basefill(Array<String> color)Sets pointer fill settings using an array or a string. Basefill(String color, Number opacity)Pointer fill color with opacity. Basefill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Basefill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Basefill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Basefill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Basefill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Basefill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Basefill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient pointer fill. Basefill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient pointer fill. PatternFillhatchFill()Getter for hatch fill settings. BasehatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for hatch fill settings. BasehatchFill(String type, String color, Number thickness, Number size)Setter for hatch fill settings. BasehatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. BasehatchFill(HatchFill settings)Setter for hatch fill settings using an instance. BasehatchFill(Boolean enabled)Setter for hatch fill using boolean. Baseid()Getter for the pointer id. Baseid(String id)Setter for the pointer id. Baseid(Number id)Setter for the pointer id. 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 the pointer stroke. Basestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Basestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Basestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Basestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Basestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Basestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Basestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Basestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Basestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Basestroke(String settings)Setter for the stroke 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. BasezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Basecontainer(Layer element)Setter for the container. Basecontainer(Stage element)Setter for the container. Basecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. BaseparentBounds(Rect bounds)Setter for the parent bounds using single value. BaseparentBounds(String bounds)Setter for the parent bounds using single value. BaseparentBounds(Number bounds)Setter for the parent bounds using single value. BaseparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. Viewdata(View data)Viewdata(List<DataEntry> data, TreeFillingMethod fillMethod)Viewdata(List<DataEntry> data, String fillMethod)Basefill(String value)-
Methods inherited from class com.anychart.core.VisualBase
container, container, container, enabled, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, zIndex -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Base
Base(String jsChart)
-
-
Method Detail
-
instantiate
static Base instantiate()
-
axisIndex
void axisIndex()
Getter for the axis index.
-
dataIndex
void dataIndex()
Getter for the data index.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fill
void fill()
Getter for the pointer fill color.
-
fill
Base fill(Fill color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(GradientKey color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(Array<String> color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(String color, Number opacity)
Pointer fill color with opacity. Fill as a string or an object.
-
fill
Base fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Base fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
PatternFill hatchFill()
Getter for hatch fill settings.
-
hatchFill
Base hatchFill(HatchFillType type, String color, Number thickness, Number size)
Setter for hatch fill settings. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hatchFill
Base hatchFill(String type, String color, Number thickness, Number size)
Setter for hatch fill settings. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hatchFill
Base hatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Base hatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Base hatchFill(Boolean enabled)
Setter for hatch fill using boolean. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
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 the pointer stroke.
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
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
Base 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
Base 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
Base 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.
-
parentBounds
Base parentBounds(Number left, Number top, Number width, Number height)
Setter for the parent bounds using several values. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
data
View data(List<DataEntry> data, TreeFillingMethod fillMethod)
-
-
-
-