|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.macro.MacroSelector
public class MacroSelector
Controls the currently selected macros.
| Constructor Summary | |
|---|---|
MacroSelector(MacroDisplayer displayer)
Creates a new macro selector. |
|
| Method Summary | |
|---|---|
boolean |
canUpdate()
|
void |
destroy()
Destroys this selector. |
MacroDisplayer |
getDisplayer()
|
Element |
getMacro(int index)
|
int |
getMacroCount()
|
boolean |
onBeforeCommand(CommandManager sender,
Command command,
String param)
|
void |
onCommand(CommandManager sender,
Command command,
String param)
|
void |
onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
|
void |
onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
|
void |
update()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MacroSelector(MacroDisplayer displayer)
displayer - the displayer to be used for selecting the macros| Method Detail |
|---|
public void destroy()
public void onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
onMouseUp in interface com.google.gwt.event.dom.client.MouseUpHandlerMouseUpHandler.onMouseUp(MouseUpEvent)public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandlerKeyUpHandler.onKeyUp(KeyUpEvent)
public boolean onBeforeCommand(CommandManager sender,
Command command,
String param)
onBeforeCommand in interface CommandListenerCommandListener.onBeforeCommand(CommandManager, Command, String)
public void onCommand(CommandManager sender,
Command command,
String param)
onCommand in interface CommandListenerCommandListener.onCommand(CommandManager, Command, String)public void update()
update in interface UpdatableUpdatable.update()public boolean canUpdate()
canUpdate in interface UpdatableUpdatable.canUpdate()public int getMacroCount()
public Element getMacro(int index)
index - the index of the selected macro to return
public MacroDisplayer getDisplayer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||