A toolbar for use with {@link RichTextArea}. It provides a simple UI for all rich text formatting, dynamically displayed only for the available functionality.
A limited subset of the buttons will provide user feedback depending on the cursor location. Specifically, the following toggle buttons will appear depressed if the cursor is over a portion of text that exhibits the associated style:
BOLD_TOGGLE
ITALIC_TOGGLE
UNDERLINE_TOGGLE
SUBSCRIPT_TOGGLE
SUPERSCRIPT_TOGGLE
STRIKETHROUGH_TOGGLE
CSS Style Rules
.gwt-RichTextToolbar { primary style }
.gwt-BoldToggle { on the BoldToggle control }
.gwt-ItalicToggle { on the ItalicToggle control }
.gwt-UnderlineToggle { on the UnderlineToggle control }
.gwt-SubscriptToggle { on the SubscriptToggle control }
.gwt-SuperscriptToggle { on the SuperscriptToggle control }
.gwt-JustifyLeftButton { on the JustifyLeftButton control }
.gwt-JustifyCenterButton { on the JustifyCenterButton control }
.gwt-JustifyRightButton { on the JustifyRightButton control }
.gwt-StrikethroughButton { on the StrikethroughButton control }
.gwt-IndentButton { on the IndentButton control }
.gwt-OutdentButton { on the OutdentButton control }
.gwt-HorizontalRuleButton { on the HorizontalRuleButton control }
.gwt-OrderedListButton { on the OrderedListButton control }
.gwt-UnorderedListButton { on the UnorderedListButton control }
.gwt-InsertImageButton { on the InsertImageButton control }
.gwt-CreateLinkButton { on the CreateLinkButton control }
.gwt-RemoveLinkButton { on the RemoveLinkButton control }
.gwt-RemoveFormatButton { on the RemoveFormatButton control }
.gwt-hasRichTextToolbar { added to associated RichTextArea }
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.