-
public class StructureEdit extends Base
Structure edit class. The StructureEdit class defines editing setting on the {api:anychart.charts.Gantt#edit}Gantt chart{api}, {api:anychart.core.ui.DataGrid#edit}DataGrid{api}, {api:anychart.core.ui.Timeline#edit}Timeline{api}. Drag a row on the chart, datagrid, or timeline to edit the structure of the tree data.
-
-
Constructor Summary
Constructors Constructor Description StructureEdit(String jsChart)
-
Method Summary
Modifier and Type Method Description static StructureEditinstantiate()StringgetJsBase()voidenabled()Getter for the enabled state of the edit chart, datagrid, timeline. StructureEditenabled(Boolean enabled)Setter for the enabled state of the edit chart, datagrid, timeline. voidfill()Getter for the row fill while editing structure of the data tree. StructureEditfill(Fill color)Setter for the row fill while editing structure of a chart using an array, an object or a string. StructureEditfill(GradientKey color)Setter for the row fill while editing structure of a chart using an array, an object or a string. StructureEditfill(Array<String> color)Setter for the row fill while editing structure of a chart using an array, an object or a string. StructureEditfill(String color, Number opacity)Row fill while editing structure of a chart color with opacity. StructureEditfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient row fill while editing structure of a chart. StructureEditfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient row fill while editing structure of a chart. StructureEditfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient row fill while editing structure of a chart. StructureEditfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient row fill while editing structure of a chart. StructureEditfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient row fill while editing structure of a chart. StructureEditfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient row fill while editing structure of a chart. StructureEditfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient row fill while editing structure of a chart. StructureEditfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient row fill while editing structure of a chart. voidplacementStroke()Getter for the placement stroke while editing structure of a chart. StructureEditplacementStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the placement stroke while editing structure of a chart. StructureEditplacementStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the placement stroke while editing structure of a chart. StructureEditplacementStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the placement stroke while editing structure of a chart. StructureEditplacementStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the placement stroke while editing structure of a chart. StructureEditplacementStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the placement stroke while editing structure of a chart. StructureEditplacementStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the placement stroke while editing structure of a chart. StructureEditplacementStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the placement stroke while editing structure of a chart. StructureEditplacementStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the placement stroke while editing structure of a chart. voidremoveAllListeners(String type)Removes all listeners from an object. voidstroke()Getter for the row stroke while editing structure of a chart. StructureEditstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the row stroke while editing structure of a chart. StructureEditstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the row stroke while editing structure of a chart. StructureEditstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the row stroke while editing structure of a chart. StructureEditstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the row stroke while editing structure of a chart. StructureEditstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the row stroke while editing structure of a chart. StructureEditstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the row stroke while editing structure of a chart. StructureEditstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the row stroke while editing structure of a chart. StructureEditstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the row stroke while editing structure of a chart. StructureEditstroke(String settings)Setter for the row stroke while editing structure of a chart 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(). StructureEditfill(String value)-
-
Constructor Detail
-
StructureEdit
StructureEdit(String jsChart)
-
-
Method Detail
-
instantiate
static StructureEdit instantiate()
-
enabled
void enabled()
Getter for the enabled state of the edit chart, datagrid, timeline.
-
enabled
StructureEdit enabled(Boolean enabled)
Setter for the enabled state of the edit chart, datagrid, timeline. Enabled state of the datagrid and timeline has priority over enabled state of the chart. Note: enabled method of the timeline has more priority over enabled of the timeline.
-
fill
void fill()
Getter for the row fill while editing structure of the data tree.
-
fill
StructureEdit fill(Fill color)
Setter for the row fill while editing structure of a chart using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(GradientKey color)
Setter for the row fill while editing structure of a chart using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(Array<String> color)
Setter for the row fill while editing structure of a chart using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(String color, Number opacity)
Row fill while editing structure of a chart color with opacity. Fill as a string or an object.
-
fill
StructureEdit fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient row fill while editing structure of a chart. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient row fill while editing structure of a chart. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient row fill while editing structure of a chart. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient row fill while editing structure of a chart. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient row fill while editing structure of a chart. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient row fill while editing structure of a chart. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient row fill while editing structure of a chart. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
StructureEdit fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient row fill while editing structure of a chart. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
placementStroke
void placementStroke()
Getter for the placement stroke while editing structure of a chart.
-
placementStroke
StructureEdit placementStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the placement stroke while editing structure of a chart. The placement stroke is a line to place a row to root item while editing. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
placementStroke
StructureEdit placementStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the placement stroke while editing structure of a chart. The placement stroke is a line to place a row to root item while editing. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
placementStroke
StructureEdit placementStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the placement stroke while editing structure of a chart. The placement stroke is a line to place a row to root item while editing. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
placementStroke
StructureEdit placementStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the placement stroke while editing structure of a chart. The placement stroke is a line to place a row to root item while editing. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
placementStroke
StructureEdit placementStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the placement stroke while editing structure of a chart. The placement stroke is a line to place a row to root item while editing. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
placementStroke
StructureEdit placementStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the placement stroke while editing structure of a chart. The placement stroke is a line to place a row to root item while editing. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
placementStroke
StructureEdit placementStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the placement stroke while editing structure of a chart. The placement stroke is a line to place a row to root item while editing. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
placementStroke
StructureEdit placementStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the placement stroke while editing structure of a chart. The placement stroke is a line to place a row to root item while editing. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
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 row stroke while editing structure of a chart.
-
stroke
StructureEdit stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the row stroke while editing structure of a chart. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
StructureEdit stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the row stroke while editing structure of a chart. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
StructureEdit stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the row stroke while editing structure of a chart. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
StructureEdit stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the row stroke while editing structure of a chart. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
StructureEdit stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the row stroke while editing structure of a chart. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
StructureEdit stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the row stroke while editing structure of a chart. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
StructureEdit stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the row stroke while editing structure of a chart. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
StructureEdit stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the row stroke while editing structure of a chart. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
StructureEdit stroke(String settings)
Setter for the row stroke while editing structure of a chart using an object.
-
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().
-
fill
StructureEdit fill(String value)
-
-
-
-