Constructor.
| Parameter | Description |
|---|---|
| clickEvent | The action to execute when the button is pressed. |
| delay | The initial delay before the action is executed for the first time. Value is defined in milliseconds. |
| interval | The interval between each execution of the action. Value is defined in milliseconds. |
Constructor.