-
public class ElementEdit extends Base
Settings for editing of the timeline elements.
-
-
Constructor Summary
Constructors Constructor Description ElementEdit(String jsChart)
-
Method Summary
Modifier and Type Method Description static ElementEditinstantiate()StringgetJsBase()ThumbconnectorThumbs()Getter for common settings for connector thumbs while editing. ElementEditconnectorThumbs(String settings)Setter for common settings for connector thumbs while editing. voidenabled()Getter for the enabled state of the editing control. ElementEditenabled(Boolean enabled)Setter for the enabled state of the editing control. SideControlend()Getter for the end interval of the task. ElementEditend(String settings)Setter for the end interval of the task. voidfill()Getter for the fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). ElementEditfill(Fill color)Setter for fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods) using an array, an object or a string. ElementEditfill(GradientKey color)Setter for fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods) using an array, an object or a string. ElementEditfill(Array<String> color)Setter for fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods) using an array, an object or a string. ElementEditfill(String color, Number opacity)Fill color of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods) with opacity. ElementEditfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). ElementEditfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). ElementEditfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). ElementEditfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). ElementEditfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). ElementEditfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). ElementEditfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). ElementEditfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). voidremoveAllListeners(String type)Removes all listeners from an object. SideControlstart()Getter for the start interval of the task. ElementEditstart(String settings)Setter for the start interval of the task. voidstroke()Getter for the editing control stroke. ElementEditstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the editing control stroke. ElementEditstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the editing control stroke. ElementEditstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the editing control stroke. ElementEditstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the editing control stroke. ElementEditstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the editing control stroke. ElementEditstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the editing control stroke. ElementEditstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the editing control stroke. ElementEditstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the editing control stroke. ElementEditstroke(String settings)Setter for the editing control stroke using an object. Thumbthumbs()Getter for common settings for thumbs while editing. ElementEditthumbs(String settings)Setter for common settings for thumbs while editing. 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(). ElementEditfill(String value)-
-
Constructor Detail
-
ElementEdit
ElementEdit(String jsChart)
-
-
Method Detail
-
instantiate
static ElementEdit instantiate()
-
connectorThumbs
Thumb connectorThumbs()
Getter for common settings for connector thumbs while editing.
-
connectorThumbs
ElementEdit connectorThumbs(String settings)
Setter for common settings for connector thumbs while editing. The connector thumbs are a circles on the tasks that allow creating connectors from one task to another.
-
enabled
void enabled()
Getter for the enabled state of the editing control.
-
enabled
ElementEdit enabled(Boolean enabled)
Setter for the enabled state of the editing control. This method allows to edit only the elements and doesn't allow editing of the structure.
-
end
SideControl end()
Getter for the end interval of the task.
-
end
ElementEdit end(String settings)
Setter for the end interval of the task. Settings for visual display of the right side control on the task. Works only for tasks with duration.
-
fill
void fill()
Getter for the fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods).
-
fill
ElementEdit fill(Fill color)
Setter for fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods) using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(GradientKey color)
Setter for fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods) using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(Array<String> color)
Setter for fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods) using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(String color, Number opacity)
Fill color of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods) with opacity. Fill as a string or an object.
-
fill
ElementEdit fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
ElementEdit fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill of all timeline elements preview while editing (tasks, grouping tasks, baselines, milestone, periods). {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
start
SideControl start()
Getter for the start interval of the task.
-
start
ElementEdit start(String settings)
Setter for the start interval of the task. Settings for visual display of the left side control on the task. Works only for tasks with duration.
-
stroke
void stroke()
Getter for the editing control stroke.
-
stroke
ElementEdit stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the editing control stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
ElementEdit stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the editing control stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
ElementEdit stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the editing control stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
ElementEdit stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the editing control stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
ElementEdit stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the editing control stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
ElementEdit stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the editing control stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
ElementEdit stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the editing control stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
ElementEdit stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the editing control stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
ElementEdit stroke(String settings)
Setter for the editing control stroke using an object.
-
thumbs
ElementEdit thumbs(String settings)
Setter for common settings for thumbs while editing. Thumbs are a rectangles on the tasks that allow editing the intervals of the tasks.
-
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
ElementEdit fill(String value)
-
-
-
-