-
public class SideControl extends Base
Edit thumb class. The SideControl class for editing the visual display the thumb and connector thumb. Thumb allows to edit the start or end interval of a task. The connector thumb allows creating a new connector for a task.
-
-
Constructor Summary
Constructors Constructor Description SideControl(String jsChart)
-
Method Summary
Modifier and Type Method Description static SideControlinstantiate()StringgetJsBase()ThumbconnectorThumb()Getter for the connector thumb settings. SideControlconnectorThumb(String settings)Setter for the connector thumb settings. voidremoveAllListeners(String type)Removes all listeners from an object. Thumbthumb()Getter for the thumb settings. SideControlthumb(String settings)Setter for the thumb settings. 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(). -
-
Constructor Detail
-
SideControl
SideControl(String jsChart)
-
-
Method Detail
-
instantiate
static SideControl instantiate()
-
connectorThumb
Thumb connectorThumb()
Getter for the connector thumb settings.
-
connectorThumb
SideControl connectorThumb(String settings)
Setter for the connector thumb settings. The connector thumb is a circle on the task that allows creating connector from one task to another.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
thumb
SideControl thumb(String settings)
Setter for the thumb settings. Thumb is a rectangle on the task that allows editing the interval of the task.
-
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().
-
-
-
-