Package org.daypilot.data
Enum AreaAction
- java.lang.Object
-
- java.lang.Enum<AreaAction>
-
- org.daypilot.data.AreaAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AreaAction>
,java.lang.constant.Constable
public enum AreaAction extends java.lang.Enum<AreaAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUBBLE
Bubble will be activated on hover.CONTEXT_MENU
Context menu will be displayed on click.JAVASCRIPT
Custom JavaScript will be executed on click.MOVE
Activates event moving on mouse down.NONE
No action.RESIZE_END
Activates event resizing on mouse down (changes event end).RESIZE_START
Activates event resizing on mouse down (changes event start).
-
Method Summary
Modifier and Type Method Description java.lang.String
toString()
static AreaAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AreaAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AreaAction NONE
No action. The active area will be displayed but it clicking/dragging will not do anything.
-
JAVASCRIPT
public static final AreaAction JAVASCRIPT
Custom JavaScript will be executed on click.
-
CONTEXT_MENU
public static final AreaAction CONTEXT_MENU
Context menu will be displayed on click. Only supported for target objects that support context menu.
-
RESIZE_END
public static final AreaAction RESIZE_END
Activates event resizing on mouse down (changes event end). Only supported for events.
-
RESIZE_START
public static final AreaAction RESIZE_START
Activates event resizing on mouse down (changes event start). Only supported for events.
-
MOVE
public static final AreaAction MOVE
Activates event moving on mouse down. Only supported for events.
-
BUBBLE
public static final AreaAction BUBBLE
Bubble will be activated on hover.
-
-
Method Detail
-
values
public static AreaAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AreaAction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<AreaAction>
-
-