org.xwiki.gwt.wysiwyg.client.plugin.text.exec
Class BoldExecutable
java.lang.Object
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.InlineStyleExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.ToggleInlineStyleExecutable
org.xwiki.gwt.wysiwyg.client.plugin.text.exec.BoldExecutable
- All Implemented Interfaces:
- Executable
public class BoldExecutable
- extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.ToggleInlineStyleExecutable
If there is no selection, the insertion point will set bold for subsequently typed characters. If there is a
selection and all of the characters are already bold, the bold will be removed. Otherwise, all selected characters
will become bold.
- Version:
- $Id: dd0a6a0520f2764164a0b938aaa5a52815febff6 $
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.ToggleInlineStyleExecutable |
addStyle, execute, execute, isExecuted, isExecuted, matchesInheritedStyle, matchesStyle, removeStyle |
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.InlineStyleExecutable |
addStyle, execute, getNonEmptyTextNodes, getParameter, getParameter, getParameter, getParameter, getProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoldExecutable
public BoldExecutable(RichTextArea rta)
- Creates a new executable of this type.
- Parameters:
rta - the execution target
matchesStyle
protected boolean matchesStyle(Element inputElement)
-
- Overrides:
matchesStyle in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.ToggleInlineStyleExecutable
- See Also:
ToggleInlineStyleExecutable.matchesStyle(Element)
Copyright © 2004–2015 XWiki. All rights reserved.