Package 

Class ElementEdit


  • 
    public class ElementEdit
    extends Base
                        

    Settings for editing of the timeline elements.

    • Constructor Detail

      • ElementEdit

        ElementEdit(String jsChart)
    • Method Detail

      • 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

         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

         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.

      • thumbs

         Thumb thumbs()

        Getter for common settings for thumbs while editing.

      • 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.

      • unlistenByKey

         void unlistenByKey(String key)

        Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().