-
public class Separator extends VisualBase
Class for a separator element.
-
-
Method Summary
Modifier and Type Method Description static Separatorinstantiate()StringgetJsBase()voidenabled()Getter for the element state (enabled or disabled). Separatorenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the separator fill. Separatorfill(Fill color)Setter for separator fill settings using an array, an object or a string. Separatorfill(GradientKey color)Setter for separator fill settings using an array, an object or a string. Separatorfill(Array<String> color)Setter for separator fill settings using an array, an object or a string. Separatorfill(String color, Number opacity)Fill color with opacity. Separatorfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill for the separator. Separatorfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill for the separator. Separatorfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill for the separator. Separatorfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill for the separator. Separatorfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill for the separator. Separatorfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill for the separator. Separatorfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill for the separator. Separatorfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill for the separator. RectgetRemainingBounds()voidheight()Getter for separator height. Separatorheight(Number value)Setter for separator height. Separatorheight(String value)Setter for separator height. Marginmargin()Getter for the margin of the separator. Separatormargin(String spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, String left)Setter for the margin of the separator. Separatormargin(String spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, Number left)Setter for the margin of the separator. Separatormargin(String spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, String left)Setter for the margin of the separator. Separatormargin(String spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, Number left)Setter for the margin of the separator. Separatormargin(String spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, String left)Setter for the margin of the separator. Separatormargin(String spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, Number left)Setter for the margin of the separator. Separatormargin(String spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, String left)Setter for the margin of the separator. Separatormargin(String spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, Number left)Setter for the margin of the separator. Separatormargin(Number spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, String left)Setter for the margin of the separator. Separatormargin(Number spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, Number left)Setter for the margin of the separator. Separatormargin(Number spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, String left)Setter for the margin of the separator. Separatormargin(Number spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, Number left)Setter for the margin of the separator. Separatormargin(Number spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, String left)Setter for the margin of the separator. Separatormargin(Number spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, Number left)Setter for the margin of the separator. Separatormargin(Number spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, String left)Setter for the margin of the separator. Separatormargin(Number spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, Number left)Setter for the margin of the separator. Separatormargin(Array<Number> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, String left)Setter for the margin of the separator. Separatormargin(Array<Number> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, Number left)Setter for the margin of the separator. Separatormargin(Array<Number> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, String left)Setter for the margin of the separator. Separatormargin(Array<Number> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, Number left)Setter for the margin of the separator. Separatormargin(Array<Number> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, String left)Setter for the margin of the separator. Separatormargin(Array<Number> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, Number left)Setter for the margin of the separator. Separatormargin(Array<Number> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, String left)Setter for the margin of the separator. Separatormargin(Array<Number> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, Number left)Setter for the margin of the separator. Separatormargin(Array<String> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, String left)Setter for the margin of the separator. Separatormargin(Array<String> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, Number left)Setter for the margin of the separator. Separatormargin(Array<String> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, String left)Setter for the margin of the separator. Separatormargin(Array<String> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, Number left)Setter for the margin of the separator. Separatormargin(Array<String> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, String left)Setter for the margin of the separator. Separatormargin(Array<String> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, Number left)Setter for the margin of the separator. Separatormargin(Array<String> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, String left)Setter for the margin of the separator. Separatormargin(Array<String> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, Number left)Setter for the margin of the separator. voidorientation()Getter fo the orientation of the separator. Separatororientation(Orientation orientation)Getter fo the orientation of the separator. Separatororientation(String orientation)Getter fo the orientation of the separator. 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. Separatorstroke(Stroke strokeOrFill, Number thickness, String dashpattern, String lineJoin, String lineCap)Separator stroke. Separatorstroke(Stroke strokeOrFill, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Separator stroke. Separatorstroke(Stroke strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Separator stroke. Separatorstroke(Stroke strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Separator stroke. Separatorstroke(ColoredFill strokeOrFill, Number thickness, String dashpattern, String lineJoin, String lineCap)Separator stroke. Separatorstroke(ColoredFill strokeOrFill, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Separator stroke. Separatorstroke(ColoredFill strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Separator stroke. Separatorstroke(ColoredFill strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Separator stroke. Separatorstroke(String strokeOrFill, Number thickness, String dashpattern, String lineJoin, String lineCap)Separator stroke. Separatorstroke(String strokeOrFill, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Separator stroke. Separatorstroke(String strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Separator stroke. Separatorstroke(String strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Separator stroke. 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(). voidwidth()Getter for separator width. Separatorwidth(Number value)Setter for separator width. Separatorwidth(String value)Setter for separator width. voidzIndex()Getter for the Z-index of the element. SeparatorzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Separatorcontainer(Layer element)Setter for the container. Separatorcontainer(Stage element)Setter for the container. Separatorcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. SeparatorparentBounds(Rect bounds)Setter for the parent bounds using single value. SeparatorparentBounds(String bounds)Setter for the parent bounds using single value. SeparatorparentBounds(Number bounds)Setter for the parent bounds using single value. SeparatorparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. Separatorfill(String value)Separatorstroke(String value)-
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
-
Separator
Separator(String jsChart)
-
-
Method Detail
-
instantiate
static Separator instantiate()
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fill
void fill()
Getter for the separator fill.
-
fill
Separator fill(Fill color)
Setter for separator fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(GradientKey color)
Setter for separator fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(Array<String> color)
Setter for separator fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill for the separator. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill for the separator. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill for the separator. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill for the separator. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill for the separator. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill for the separator. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill for the separator. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Separator fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill for the separator. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
getRemainingBounds
Rect getRemainingBounds()
-
height
void height()
Getter for separator height.
-
margin
Separator margin(String spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(String spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(String spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(String spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(String spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(String spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(String spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(String spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Number spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Number spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Number spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Number spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Number spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Number spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Number spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Number spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<Number> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<Number> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<Number> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<Number> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<Number> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<Number> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<Number> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<Number> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<String> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<String> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, String bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<String> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<String> spaceOrTopOrTopAndBottom, String rightOrRightAndLeft, Number bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<String> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<String> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, String bottom, Number left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<String> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, String left)
Setter for the margin of the separator.
-
margin
Separator margin(Array<String> spaceOrTopOrTopAndBottom, Number rightOrRightAndLeft, Number bottom, Number left)
Setter for the margin of the separator.
-
orientation
void orientation()
Getter fo the orientation of the separator.
-
orientation
Separator orientation(Orientation orientation)
Getter fo the orientation of the separator.
-
orientation
Separator orientation(String orientation)
Getter fo the orientation of the separator.
-
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
Separator stroke(Stroke strokeOrFill, Number thickness, String dashpattern, String lineJoin, String lineCap)
Separator stroke.
-
stroke
Separator stroke(Stroke strokeOrFill, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Separator stroke.
-
stroke
Separator stroke(Stroke strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Separator stroke.
-
stroke
Separator stroke(Stroke strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Separator stroke.
-
stroke
Separator stroke(ColoredFill strokeOrFill, Number thickness, String dashpattern, String lineJoin, String lineCap)
Separator stroke.
-
stroke
Separator stroke(ColoredFill strokeOrFill, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Separator stroke.
-
stroke
Separator stroke(ColoredFill strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Separator stroke.
-
stroke
Separator stroke(ColoredFill strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Separator stroke.
-
stroke
Separator stroke(String strokeOrFill, Number thickness, String dashpattern, String lineJoin, String lineCap)
Separator stroke.
-
stroke
Separator stroke(String strokeOrFill, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Separator stroke.
-
stroke
Separator stroke(String strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Separator stroke.
-
stroke
Separator stroke(String strokeOrFill, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Separator stroke.
-
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().
-
width
void width()
Getter for separator width.
-
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
Separator 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
Separator 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
Separator 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
Separator 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.
-
-
-
-