public enum PredefinedContextMenuCommand extends Enum<PredefinedContextMenuCommand>
ContextMenuOwner
Enum Constant and Description |
---|
CLIPBOARD_COPY
A clipboard Copy command
|
CLIPBOARD_CUT
A clipboard Cut command
|
CLIPBOARD_PASTE
A clipboard Paste command
|
COMMENTS_DYNAMIC_ITEMS
Adds either one command (namely 'Add Comment') or, if there is a comment in the current cell, two commands
(namely 'Edit Comment' and 'Remove Comment')
|
DEPENDENCIES |
HYPERLINK_DYNAMIC_ITEMS
Adds either one command (namely 'Add Hyperlink') or, if there is a comment in the current cell, two commands
(namely 'Edit Hyperlink' and 'Remove Hyperlink')
|
SEARCH
Calls the API-embedded search dialog to find the spreadsheet content
|
SEPARATOR
A line separating groups of commands
|
SHOW_FORMAT_DIALOG
Calls the API-embedded format dialog in which the user can select the value format for the current cell
|
Modifier and Type | Method and Description |
---|---|
static PredefinedContextMenuCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PredefinedContextMenuCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PredefinedContextMenuCommand SEPARATOR
public static final PredefinedContextMenuCommand CLIPBOARD_CUT
public static final PredefinedContextMenuCommand CLIPBOARD_COPY
public static final PredefinedContextMenuCommand CLIPBOARD_PASTE
public static final PredefinedContextMenuCommand SHOW_FORMAT_DIALOG
public static final PredefinedContextMenuCommand COMMENTS_DYNAMIC_ITEMS
public static final PredefinedContextMenuCommand HYPERLINK_DYNAMIC_ITEMS
public static final PredefinedContextMenuCommand SEARCH
public static final PredefinedContextMenuCommand DEPENDENCIES
public static PredefinedContextMenuCommand[] values()
for (PredefinedContextMenuCommand c : PredefinedContextMenuCommand.values()) System.out.println(c);
public static PredefinedContextMenuCommand 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 nullCopyright © 2024. All rights reserved.