Enum Class Plugin
- All Implemented Interfaces:
Serializable,Comparable<Plugin>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnables the "autoresize" plugin. -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
ACCORDION
-
ADVLIST
-
ANCHOR
-
AUTOLINK
-
AUTORESIZE
Enables the "autoresize" plugin. This will let take the editor as much space as necessary to display all the content.
Be aware, that the editor might be smaller than a fixed height that you have set. To prevent any issues regarding that, the editor will remove the "height" inline styling. Also be aware, that the editor will take all available space, when growing. This may lead to unintuitive scrolling behavior.
To prevent the toolbar of the editor from being "scrolled out" of the visible area of the field, you need to configure a max-height for the editor by providing the configuration flag
max-height:HugeRte myRte = new HugeRte(); myRte.configurePlugins(Plugin.AUTORESIZE); myRte.configure("max_height", 400);Please note, that the editor only accepts numerical values. That value is interpreted as pixels and cannot be changed, while the editor is attached. This is a limitation of the underlying editor engine. When providing a max-height this way, it is not necessary to also provide a normal css max-height.
-
AUTOSAVE
-
CHARMAP
-
CODE
-
CODESAMPLE
-
DIRECTIONALITY
-
EMOTICONS
-
FULLSCREEN
-
HELP
-
IMAGE
-
IMPORT_CSS
-
INSERT_DATETIME
-
LINK
-
LISTS
-
MEDIA
-
NONBREAKING
-
PAGEBREAK
-
PREVIEW
-
QUICKBARS
-
SAVE
-
SEARCH_REPLACE
-
TABLE
-
TEMPLATE
-
VISUAL_BLOCKS
-
VISUAL_CHARS
-
WORDCOUNT
-
-
Field Details
-
pluginLabel
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-