public enum EditAction extends java.lang.Enum<EditAction> implements JSONString, Toolbar.Item
Enum Constant and Description |
---|
_CLEAR
virtual action that clears inheritance
|
COPYMOVE
Cut/Copy/Paste actions
|
DELETE
Delete action
|
EDIT
Edit action
|
EDITANNOTATE
Edit/Annotate actions
|
EDITANNOTATECOPYMOVEDELETEINSERT
Edit/Annotate/Cut/Copy/Paste/Delete/Insert actions
|
EDITANNOTATECOPYMOVEINSERT
Edit/Annotate/Copy/Move/Insert actions
|
EDITANNOTATEDELETE
Edit/Annotate/Delete actions
|
EDITANNOTATEDELETEINSERT
Edit/Annotate/Delete/Insert actions
|
EDITCOPYMOVEDELETEINSERT
Edit/Cut/Copy/Paste/Delete/Insert actions
|
EDITCOPYMOVEINSERT
Edit/Copy/Move/Insert actions
|
EDITDELETE
Edit/Delete actions
|
EDITDELETEINSERT
Edit/Delete/Insert actions
|
INSERT
Insert action
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toJSONString()
Returns the js type, i.e.
|
static EditAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EditAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(JSONWriter writer)
Serialize to JSON writer.
|
public static final EditAction EDIT
public static final EditAction DELETE
public static final EditAction INSERT
public static final EditAction COPYMOVE
public static final EditAction EDITDELETE
public static final EditAction EDITANNOTATEDELETE
public static final EditAction EDITANNOTATEDELETEINSERT
public static final EditAction EDITDELETEINSERT
public static final EditAction EDITANNOTATECOPYMOVEDELETEINSERT
public static final EditAction EDITANNOTATE
public static final EditAction EDITCOPYMOVEDELETEINSERT
public static final EditAction EDITANNOTATECOPYMOVEINSERT
public static final EditAction EDITCOPYMOVEINSERT
public static final EditAction _CLEAR
public static EditAction[] values()
for (EditAction c : EditAction.values()) System.out.println(c);
public static EditAction 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toJSONString()
toJSONString
in interface JSONString
public void write(JSONWriter writer) throws JSONException
write
in interface Toolbar.Item
writer
- the writerJSONException
- if a JSON error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved