class FeatureBehaviorBold extends AbstractToggleFeatureBehavior
FeatureBehavior
for RichTextFeature.BOLD
.Constructor and Description |
---|
FeatureBehaviorBold(RichTextToolbar richTextToolbar)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
RichTextFeature |
getFeature() |
Boolean |
getValue()
This method gets the value of this object.
|
void |
toggle()
Toggles the
feature . |
protected void |
updateFontSettings(boolean checked,
com.google.gwt.dom.client.Style style) |
applyFontSettings, getFontSettingsWidget, getToolbarWidget, hasFontSettingsWidget, isEnabled, onClick, setEnabled, setFontSettingsPreviewElement, setValue, updateFontSettings, updateFontSettings, updateToolbar
createFontSettingsLabel, createId, getFontSettingsLabel, getFormatter, getIconMarkup, getLocalizedLabel, getRichTextToolbar, isVisible, setVisible
FeatureBehaviorBold(RichTextToolbar richTextToolbar)
richTextToolbar
- is the RichTextToolbar
instance.public RichTextFeature getFeature()
public Boolean getValue()
null
unless otherwise stated.public void toggle()
feature
.toggle
in class AbstractToggleFeatureBehavior
protected void updateFontSettings(boolean checked, com.google.gwt.dom.client.Style style)
updateFontSettings
in class AbstractToggleFeatureBehavior
checked
- - the value of the checkbox
.style
- the Style
to update.Copyright © 2001–2016 mmm-Team. All rights reserved.