|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The interface for a rich text editor toolbar.
| Method Summary | |
|---|---|
void |
addAction(IRichTextAction action)
Adds a button action to the tool bar. |
void |
addAction(IRichTextComboAction action)
Adds a combo action to the tool bar. |
void |
addSeparator()
Adds a separator to the tool bar. |
void |
setEnabled(boolean enabled)
Updates the actionable states of the tool buttons in the tool bar. |
| Method Detail |
public void addAction(IRichTextAction action)
action - the button action to addpublic void addAction(IRichTextComboAction action)
action - the combo action to addpublic void addSeparator()
public void setEnabled(boolean enabled)
The tool buttons in the rich text editor tool bar are shared by the rich text and markup language tab. This method provides a way for the tool buttons to be enabled or disabled based on (1) the tab selection and (2) the editable state of the editor.
enabled - if true, enables all tool buttons; if
false, disables all tool buttons except for
those that are still applicable even when the editor is
read-only
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||