Package com.inet.editor
Enum Class BaseEditorToolBar.DEFAULT_COMPONENTS
java.lang.Object
java.lang.Enum<BaseEditorToolBar.DEFAULT_COMPONENTS>
com.inet.editor.BaseEditorToolBar.DEFAULT_COMPONENTS
- All Implemented Interfaces:
Serializable,Comparable<BaseEditorToolBar.DEFAULT_COMPONENTS>,Constable
- Enclosing class:
- BaseEditorToolBar
public static enum BaseEditorToolBar.DEFAULT_COMPONENTS
extends Enum<BaseEditorToolBar.DEFAULT_COMPONENTS>
These are the names of the default components of the tool bar of the
BaseEditor.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheJButtonto add an image at the current positionTheJToggleButtonto center the contents of the selected paragraph(s)TheJToggleButtonto justify the contents of the selected paragraph(s)TheJToggleButtonto align the contents of the selected paragraph(s) to the leftTheJToggleButtonto align the contents of the selected paragraph(s) to the rightTheJToggleButtonto enable/disable the automatic spell checkingTheJButtonto toggle the bold font propertyTheJButtonto toggle the format between HTML and plain textTheJButtonto start the spell checkingTheJButtonto open a search dialog for the contents of the editorTheJButtonto insert a horizontal ruleTheJButtonto add or modify a hyperlinkTheJButtonto decrease the indent of the selected paragraph(s)TheJButtonto increase the indent of the selected paragraph(s)TheJToggleButtonto toggle the italic font propertyTheJButtonto create an ordered listTheJButtonto redo the latest undone actionTheJToggleButtonto toggle the underline font propertyTheJButtonto undo the last actionTheJToggleButtonto create an unordered listThe font familyJComboBoxThe font sizeJComboBoxTheColorButtonto change the font color -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BaseEditorToolBar.DEFAULT_COMPONENTS[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
btnAutoSpellCheck
TheJToggleButtonto enable/disable the automatic spell checking -
btnCheckSpelling
TheJButtonto start the spell checking -
cmbFontFamily
The font familyJComboBox -
cmbFontSize
The font sizeJComboBox -
ddbFontColor
TheColorButtonto change the font color -
btnBold
TheJButtonto toggle the bold font property -
btnItalic
TheJToggleButtonto toggle the italic font property -
btnUnderline
TheJToggleButtonto toggle the underline font property -
btnAlignLeft
TheJToggleButtonto align the contents of the selected paragraph(s) to the left -
btnAlignCenter
TheJToggleButtonto center the contents of the selected paragraph(s) -
btnAlignRight
TheJToggleButtonto align the contents of the selected paragraph(s) to the right -
btnAlignJustify
TheJToggleButtonto justify the contents of the selected paragraph(s) -
btnUnorderedList
TheJToggleButtonto create an unordered list -
btnOrderedList
TheJButtonto create an ordered list -
btnIndentIncrease
TheJButtonto increase the indent of the selected paragraph(s) -
btnIndentDecrease
TheJButtonto decrease the indent of the selected paragraph(s) -
btnHorizontalRule
TheJButtonto insert a horizontal rule -
btnAddImage
TheJButtonto add an image at the current position -
btnHyperlink
TheJButtonto add or modify a hyperlink -
btnUndo
TheJButtonto undo the last action -
btnRedo
TheJButtonto redo the latest undone action -
btnFind
TheJButtonto open a search dialog for the contents of the editor -
btnChangeFormat
TheJButtonto toggle the format between HTML and plain text
-
-
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
-