public enum MenuOption extends Enum<MenuOption>
| Enum Constant and Description |
|---|
ANNOTATE |
COPY |
CUT |
DELETE |
EDIT |
MANAGE_HYPERLINK_STYLES |
MANAGE_SELECTION_STYLES |
MANAGE_STYLES |
MENU |
NEW |
PASTE |
TARGET |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
static MenuOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MenuOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuOption EDIT
public static final MenuOption TARGET
public static final MenuOption ANNOTATE
public static final MenuOption CUT
public static final MenuOption COPY
public static final MenuOption PASTE
public static final MenuOption DELETE
public static final MenuOption NEW
public static final MenuOption MENU
public static final MenuOption MANAGE_STYLES
public static final MenuOption MANAGE_SELECTION_STYLES
public static final MenuOption MANAGE_HYPERLINK_STYLES
public static MenuOption[] values()
for (MenuOption c : MenuOption.values()) System.out.println(c);
public static MenuOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getLabel()
Copyright © 2016–2018 Cognifide Ltd.. All rights reserved.