Package cn.mapway.ui.shared
Enum DesignEventType
- java.lang.Object
-
- java.lang.Enum<DesignEventType>
-
- cn.mapway.ui.shared.DesignEventType
-
- All Implemented Interfaces:
Serializable,Comparable<DesignEventType>
public enum DesignEventType extends Enum<DesignEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AddAlignBottomAlignCenterAlignHeightAlignHorizontalAlignLeftAlignMiddleAlignRightAlignTopAlignVerticalAlignWidthCancelCloseCopyCreateDeleteDownDrawLayoutLeftLockedMenuModeMoveNewOkOpenPasteRedoRefreshRenameResizeRightSaveSaveAsSelectStackHorizontalStackVerticalUndoUpUpdate
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DesignEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DesignEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Layout
public static final DesignEventType Layout
-
Select
public static final DesignEventType Select
-
Move
public static final DesignEventType Move
-
Delete
public static final DesignEventType Delete
-
Add
public static final DesignEventType Add
-
Up
public static final DesignEventType Up
-
Down
public static final DesignEventType Down
-
Ok
public static final DesignEventType Ok
-
Cancel
public static final DesignEventType Cancel
-
Menu
public static final DesignEventType Menu
-
Mode
public static final DesignEventType Mode
-
Update
public static final DesignEventType Update
-
Draw
public static final DesignEventType Draw
-
Resize
public static final DesignEventType Resize
-
Refresh
public static final DesignEventType Refresh
-
Create
public static final DesignEventType Create
-
Locked
public static final DesignEventType Locked
-
Copy
public static final DesignEventType Copy
-
Paste
public static final DesignEventType Paste
-
Save
public static final DesignEventType Save
-
Open
public static final DesignEventType Open
-
Close
public static final DesignEventType Close
-
Undo
public static final DesignEventType Undo
-
Redo
public static final DesignEventType Redo
-
AlignLeft
public static final DesignEventType AlignLeft
-
AlignRight
public static final DesignEventType AlignRight
-
AlignCenter
public static final DesignEventType AlignCenter
-
AlignHorizontal
public static final DesignEventType AlignHorizontal
-
AlignTop
public static final DesignEventType AlignTop
-
AlignBottom
public static final DesignEventType AlignBottom
-
AlignMiddle
public static final DesignEventType AlignMiddle
-
AlignWidth
public static final DesignEventType AlignWidth
-
AlignHeight
public static final DesignEventType AlignHeight
-
AlignVertical
public static final DesignEventType AlignVertical
-
StackVertical
public static final DesignEventType StackVertical
-
StackHorizontal
public static final DesignEventType StackHorizontal
-
Left
public static final DesignEventType Left
-
Right
public static final DesignEventType Right
-
Rename
public static final DesignEventType Rename
-
SaveAs
public static final DesignEventType SaveAs
-
New
public static final DesignEventType New
-
-
Method Detail
-
values
public static DesignEventType[] 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 (DesignEventType c : DesignEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DesignEventType 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
-
-