- java.lang.Object
-
- java.lang.Enum<GraphicsBase.EditMode>
-
- com.flexganttfx.view.graphics.GraphicsBase.EditMode
-
- 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
All Methods Static Methods Concrete Methods 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 Detail
-
NONE
public static final GraphicsBase.EditMode NONE
-
DELETING
public static final GraphicsBase.EditMode DELETING
-
START_TIME_CHANGE
public static final GraphicsBase.EditMode START_TIME_CHANGE
-
END_TIME_CHANGE
public static final GraphicsBase.EditMode END_TIME_CHANGE
-
PERCENTAGE_COMPLETE_CHANGE
public static final GraphicsBase.EditMode PERCENTAGE_COMPLETE_CHANGE
-
DRAGGING_HORIZONTAL
public static final GraphicsBase.EditMode DRAGGING_HORIZONTAL
-
DRAGGING_VERTICAL
public static final GraphicsBase.EditMode DRAGGING_VERTICAL
-
DRAGGING
public static final GraphicsBase.EditMode DRAGGING
-
AGENDA_START_TIME_CHANGE
public static final GraphicsBase.EditMode AGENDA_START_TIME_CHANGE
-
AGENDA_END_TIME_CHANGE
public static final GraphicsBase.EditMode AGENDA_END_TIME_CHANGE
-
AGENDA_DRAGGING
public static final GraphicsBase.EditMode AGENDA_DRAGGING
-
AGENDA_ASSIGNING
public static final GraphicsBase.EditMode AGENDA_ASSIGNING
-
CHART_VALUE_CHANGE
public static final GraphicsBase.EditMode CHART_VALUE_CHANGE
-
CHART_VALUE_HIGH_CHANGE
public static final GraphicsBase.EditMode CHART_VALUE_HIGH_CHANGE
-
CHART_VALUE_LOW_CHANGE
public static final GraphicsBase.EditMode CHART_VALUE_LOW_CHANGE
-
-
Method Detail
-
values
public static GraphicsBase.EditMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GraphicsBase.EditMode c : GraphicsBase.EditMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphicsBase.EditMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-