public static enum TextEditorWithPreview.Layout extends java.lang.Enum<TextEditorWithPreview.Layout>
| Enum Constant and Description |
|---|
SHOW_EDITOR |
SHOW_EDITOR_AND_PREVIEW |
SHOW_PREVIEW |
| Modifier and Type | Method and Description |
|---|---|
static TextEditorWithPreview.Layout |
fromName(java.lang.String name,
TextEditorWithPreview.Layout defaultValue) |
javax.swing.Icon |
getIcon() |
java.lang.String |
getName() |
static TextEditorWithPreview.Layout |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextEditorWithPreview.Layout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextEditorWithPreview.Layout SHOW_EDITOR
public static final TextEditorWithPreview.Layout SHOW_PREVIEW
public static final TextEditorWithPreview.Layout SHOW_EDITOR_AND_PREVIEW
public static TextEditorWithPreview.Layout[] values()
for (TextEditorWithPreview.Layout c : TextEditorWithPreview.Layout.values()) System.out.println(c);
public static TextEditorWithPreview.Layout 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 static TextEditorWithPreview.Layout fromName(java.lang.String name, TextEditorWithPreview.Layout defaultValue)
public java.lang.String getName()
public javax.swing.Icon getIcon()