|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.InsertHTMLExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertBlockHTMLExecutable
org.xwiki.gwt.wysiwyg.client.plugin.separator.exec.InsertHRExecutable
public class InsertHRExecutable
Inserts a horizontal rule in place of the current selection. It should be noted that hr, being a block level element, must be added under a flow container. Because of this, we split the DOM tree up to the nearest flow container and insert the hr element between the two parts.
| Field Summary |
|---|
| Fields inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable |
|---|
cache, domUtils |
| Fields inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable |
|---|
rta |
| Constructor Summary | |
|---|---|
InsertHRExecutable(RichTextArea rta)
Creates a new executable that can be used to insert a horizontal rule in the specified rich text area. |
|
| Method Summary | |
|---|---|
boolean |
execute(java.lang.String param)
|
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertBlockHTMLExecutable |
|---|
insertNode |
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertHTMLExecutable |
|---|
execute |
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable |
|---|
getParameter, hasValidSelection, isEnabled, isExecuted |
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable |
|---|
isSupported |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InsertHRExecutable(RichTextArea rta)
rta - the execution target| Method Detail |
|---|
public boolean execute(java.lang.String param)
execute in interface Executableexecute in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertHTMLExecutableInsertHTMLExecutable.execute(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||