interface FeatureBehavior extends AttributeWriteVisible, AttributeWriteEnabled
RichTextFeature.| Modifier and Type | Method and Description |
|---|---|
void |
applyFontSettings()
Updates the
RichTextArea according to the value from the widget for
the font-settings. |
RichTextFeature |
getFeature() |
LabelWidget |
getFontSettingsLabel() |
com.google.gwt.user.client.ui.Widget |
getFontSettingsWidget() |
com.google.gwt.user.client.ui.Widget |
getToolbarWidget() |
void |
setFontSettingsPreviewElement(com.google.gwt.dom.client.Element element)
Updates the
RichTextArea according to the value from the widget for
the font-settings. |
void |
updateFontSettings()
Updates the value of the widget for the font-settings according to the state of the
RichTextArea. |
void |
updateToolbar()
Updates the status of the
FeatureBehavior in the toolbar widget after
a change. |
setVisibleisVisiblesetEnabledisEnabledvoid updateToolbar()
FeatureBehavior in the toolbar widget after
a change. E.g. toggle buttons are updated to reflect the current state.void updateFontSettings()
RichTextArea.void applyFontSettings()
RichTextArea according to the value from the widget for
the font-settings.void setFontSettingsPreviewElement(com.google.gwt.dom.client.Element element)
RichTextArea according to the value from the widget for
the font-settings.element - is the Element where to apply font settings whenever the value changed.RichTextFeature getFeature()
RichTextFeature implemented by this object.com.google.gwt.user.client.ui.Widget getToolbarWidget()
Widget (typically a icon button) for the feature in the
RichTextToolbar.com.google.gwt.user.client.ui.Widget getFontSettingsWidget()
Widget for the feature in the
RichTextToolbar.FontSettingsPopup.LabelWidget getFontSettingsLabel()
LabelWidget for the feature in the
RichTextToolbar.FontSettingsPopup or
null if not intended (e.g. toggle features use
a CheckBox as popup widget
and do not have a separate label).Copyright © 2001–2016 mmm-Team. All rights reserved.