public static enum SHTMLEditorPane.PasteMode extends java.lang.Enum<SHTMLEditorPane.PasteMode>
Enum Constant and Description |
---|
PASTE_HTML |
PASTE_PLAIN_TEXT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
static SHTMLEditorPane.PasteMode |
getValueFromPrefs() |
SHTMLEditorPane.PasteMode |
invert() |
static SHTMLEditorPane.PasteMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SHTMLEditorPane.PasteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SHTMLEditorPane.PasteMode PASTE_HTML
public static final SHTMLEditorPane.PasteMode PASTE_PLAIN_TEXT
public static SHTMLEditorPane.PasteMode[] values()
for (SHTMLEditorPane.PasteMode c : SHTMLEditorPane.PasteMode.values()) System.out.println(c);
public static SHTMLEditorPane.PasteMode 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 getDisplayName()
public SHTMLEditorPane.PasteMode invert()
public static SHTMLEditorPane.PasteMode getValueFromPrefs()