| Package | Description |
|---|---|
| org.xwiki.gwt.user.client.ui.rta | |
| org.xwiki.gwt.user.client.ui.rta.cmd |
| Modifier and Type | Method and Description |
|---|---|
CommandManager |
RichTextArea.getCommandManager() |
| Constructor and Description |
|---|
RichTextArea(CommandManager cm)
Custom constructor allowing us to inject a mock command manager.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CommandListenerCollection.fireBeforeCommand(CommandManager sender,
Command command,
String param)
Notifies all the listeners in this collection that the specified command is about to be executed.
|
void |
CommandListenerCollection.fireCommand(CommandManager sender,
Command command,
String param)
Notifies all the listeners in this collection that the specified command was executed.
|
static CommandManagerApi |
CommandManagerApi.newInstance(CommandManager cm)
We need this static native method because we can't instantiate JavaScript objects directly in Java code.
|
boolean |
CommandListener.onBeforeCommand(CommandManager sender,
Command command,
String param)
Notifies that the given command is about to be executed with the given parameter by the specified command
manager.
|
void |
CommandListener.onCommand(CommandManager sender,
Command command,
String param)
Notifies that the given command has been executed with the given parameter by the specified command manager.
|
Copyright © 2004–2016 XWiki. All rights reserved.