public static enum TextAreaClass.EditorType extends Enum<TextAreaClass.EditorType>
Indicates which editor should be used to manipulate the content of the property.
Enum Constant and Description |
---|
PURE_TEXT
Plain text without any known syntax.
|
TEXT
Edit wiki syntax using a text editor.
|
WYSIWYG
Edit wiki syntax using a visual editor.
|
Modifier and Type | Method and Description |
---|---|
static TextAreaClass.EditorType |
getByValue(String value)
Retreive the
TextAreaClass.EditorType based on its value. |
String |
toString() |
static TextAreaClass.EditorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAreaClass.EditorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAreaClass.EditorType PURE_TEXT
public static final TextAreaClass.EditorType TEXT
public static final TextAreaClass.EditorType WYSIWYG
public static TextAreaClass.EditorType[] values()
for (TextAreaClass.EditorType c : TextAreaClass.EditorType.values()) System.out.println(c);
public static TextAreaClass.EditorType 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 static TextAreaClass.EditorType getByValue(String value)
TextAreaClass.EditorType
based on its value.
The search is case insensitive.
value
- the value of the editor typepublic String toString()
toString
in class Enum<TextAreaClass.EditorType>
Copyright © 2004–2022 XWiki. All rights reserved.