|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IEditModeController.EditMode> com.dlsc.flexgantt.swing.layer.system.IEditModeController.EditMode
public static enum IEditModeController.EditMode
An enumeration of possible editing states that the drag layer 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 behavour 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.
Enum Constant Summary | |
---|---|
CHANGE_CAPACITY
Value used when the capacity of a timeline object gets changed. |
|
CHANGE_END_TIME
Value used when the end time of a timeline object gets changed. |
|
CHANGE_NODE
Value used when a timeline object gets assigned to a new hierarchy node (vertical drag and drop). |
|
CHANGE_NODE_AND_TIME_SPAN
Value used when a timeline object gets assigned to a new time span (horizontal drag and drop) and / or hierarchy node. |
|
CHANGE_PERCENTAGE_COMPLETE
Value used when the percentage complete value of a timeline object gets changed. |
|
CHANGE_START_TIME
Value used when the start time of a timeline object gets changed. |
|
CHANGE_TIME_SPAN
Value used when a timeline object gets assigned to a new time span (horizontal drag and drop). |
|
NONE
Value used when no editing shall occure. |
Method Summary | |
---|---|
static IEditModeController.EditMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IEditModeController.EditMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IEditModeController.EditMode NONE
public static final IEditModeController.EditMode CHANGE_END_TIME
public static final IEditModeController.EditMode CHANGE_PERCENTAGE_COMPLETE
public static final IEditModeController.EditMode CHANGE_CAPACITY
public static final IEditModeController.EditMode CHANGE_START_TIME
public static final IEditModeController.EditMode CHANGE_NODE
public static final IEditModeController.EditMode CHANGE_TIME_SPAN
public static final IEditModeController.EditMode CHANGE_NODE_AND_TIME_SPAN
Method Detail |
---|
public static final IEditModeController.EditMode[] values()
for(IEditModeController.EditMode c : IEditModeController.EditMode.values()) System.out.println(c);
public static IEditModeController.EditMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |