- All Implemented Interfaces:
Serializable
,Comparable<GraphicsBase.EditMode>
- Enclosing class:
- GraphicsBase<R extends Row<?,?,?>>
public static enum GraphicsBase.EditMode extends Enum<GraphicsBase.EditMode>
An enumeration of possible editing states that the graphics view can be
in. The state gets determined every time when a mouse move event gets
received. Depending on the location of the mouse cursor different states
are entered. This behaviour can be highly application-dependent. Some
apps want the user to be able to change the start time of a timeline
object when the mouse cursor is on the left edge of the object, other
apps want to be able to change the objects percentage complete value that
way.
- Since:
- 1.0
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static GraphicsBase.EditMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static GraphicsBase.EditMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
-
DELETING
-
START_TIME_CHANGE
-
END_TIME_CHANGE
-
PERCENTAGE_COMPLETE_CHANGE
-
DRAGGING_HORIZONTAL
-
DRAGGING_VERTICAL
-
DRAGGING
-
AGENDA_START_TIME_CHANGE
-
AGENDA_END_TIME_CHANGE
-
AGENDA_DRAGGING
-
AGENDA_ASSIGNING
-
CHART_VALUE_CHANGE
-
CHART_VALUE_HIGH_CHANGE
-
CHART_VALUE_LOW_CHANGE
-
-
Method Details
-
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
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-