class FeatureBehaviorFontFamily extends AbstractSelectionFeatureBehavior
FeatureBehavior for RichTextFeature.FONT_FAMILY.| Constructor and Description |
|---|
FeatureBehaviorFontFamily(RichTextToolbar richTextToolbar)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyFontSettings()
Updates the
RichTextArea according to the value from the widget for
the font-settings. |
protected void |
applyFontSettings(String value,
com.google.gwt.dom.client.Style style) |
protected List<String> |
createOptions() |
RichTextFeature |
getFeature() |
protected String |
getValue() |
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
applyFontSettings, getCombobox, getDataList, getFontSettingsLabel, getFontSettingsWidget, hasFontSettingsWidget, setFontSettingsPreviewElement, updateFontSettingsgetToolbarWidget, isEnabled, setEnabledcreateFontSettingsLabel, createId, getFormatter, getIconMarkup, getLocalizedLabel, getRichTextToolbar, isVisible, setVisible, updateToolbarpublic FeatureBehaviorFontFamily(RichTextToolbar richTextToolbar)
richTextToolbar - is the RichTextToolbar owning this FeatureBehavior.public RichTextFeature getFeature()
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
protected List<String> createOptions()
createOptions in class AbstractSelectionFeatureBehaviorList of available options for the datalist.public void applyFontSettings()
RichTextArea according to the value from the widget for
the font-settings.applyFontSettings in interface FeatureBehaviorapplyFontSettings in class AbstractSelectionFeatureBehaviorprotected void applyFontSettings(String value, com.google.gwt.dom.client.Style style)
applyFontSettings in class AbstractSelectionFeatureBehaviorvalue - the value to set (e.g. font family).style - the Style to modify.protected String getValue()
getValue in class AbstractSelectionFeatureBehaviorCopyright © 2001–2016 mmm-Team. All rights reserved.