|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<CommandListener>
org.xwiki.gwt.user.client.ui.rta.cmd.CommandListenerCollection
public class CommandListenerCollection
A collection of CommandListener. It provides an easy way of notifying all the listeners when a
Command is executed.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
CommandListenerCollection()
|
|
| Method Summary | |
|---|---|
boolean |
fireBeforeCommand(CommandManager sender,
Command command,
java.lang.String param)
Notifies all the listeners in this collection that the specified command is about to be executed. |
void |
fireCommand(CommandManager sender,
Command command,
java.lang.String param)
Notifies all the listeners in this collection that the specified command was executed. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public CommandListenerCollection()
| Method Detail |
|---|
public boolean fireBeforeCommand(CommandManager sender,
Command command,
java.lang.String param)
sender - The command manager that will execute the command.command - The command that is about to be executed.param - The parameter that will be used to execute the command.
public void fireCommand(CommandManager sender,
Command command,
java.lang.String param)
sender - The command manager that executed the command.command - The command executed.param - The parameter used when the command was executed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||