org.xwiki.gwt.wysiwyg.client.plugin.macro
Class MacroController

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroController
All Implemented Interfaces:
com.google.gwt.event.dom.client.DoubleClickHandler, com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.shared.EventHandler

public class MacroController
extends Object
implements com.google.gwt.event.dom.client.DoubleClickHandler, com.google.gwt.event.dom.client.KeyDownHandler

Listens to rich text area events and takes actions on existing macros.

Version:
$Id$

Constructor Summary
MacroController(MacroPlugin plugin)
          Creates a new macro controller.
 
Method Summary
 void onDoubleClick(com.google.gwt.event.dom.client.DoubleClickEvent event)
          
 void onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroController

public MacroController(MacroPlugin plugin)
Creates a new macro controller.

Parameters:
plugin - the object used to access the rich text area and to perform actions on existing macros
Method Detail

onDoubleClick

public void onDoubleClick(com.google.gwt.event.dom.client.DoubleClickEvent event)

Specified by:
onDoubleClick in interface com.google.gwt.event.dom.client.DoubleClickHandler
See Also:
DoubleClickHandler.onDoubleClick(DoubleClickEvent)

onKeyDown

public void onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)

Specified by:
onKeyDown in interface com.google.gwt.event.dom.client.KeyDownHandler
See Also:
KeyDownHandler.onKeyDown(KeyDownEvent)


Copyright © 2004-2012 XWiki. All Rights Reserved.