org.xwiki.gwt.wysiwyg.client.plugin.readonly
Class OperaReadOnlyKeyboardHandler
java.lang.Object
org.xwiki.gwt.user.client.KeyboardAdaptor
org.xwiki.gwt.wysiwyg.client.plugin.readonly.ReadOnlyKeyboardHandler
org.xwiki.gwt.wysiwyg.client.plugin.readonly.OperaReadOnlyKeyboardHandler
- All Implemented Interfaces:
- com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.dom.client.KeyPressHandler, com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.shared.EventHandler
public class OperaReadOnlyKeyboardHandler
- extends ReadOnlyKeyboardHandler
Custom implementation of ReadOnlyKeyboardHandler for Opera browser.
- Version:
- $Id: e684657150ed64a5a7aba95aec01366c96416342 $
|
Method Summary |
protected void |
moveCaretOutside(com.google.gwt.dom.client.Node node,
boolean before)
Places the caret outside of the specified node, either before or after. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperaReadOnlyKeyboardHandler
public OperaReadOnlyKeyboardHandler()
moveCaretOutside
protected void moveCaretOutside(com.google.gwt.dom.client.Node node,
boolean before)
- Places the caret outside of the specified node, either before or after.
Opera doesn't allow us to place the caret before/after the macro unless we put the caret in a text node..
- Overrides:
moveCaretOutside in class ReadOnlyKeyboardHandler
- Parameters:
node - a DOM nodebefore - true to place the caret before the given node, false to place it after
Copyright © 2004–2014 XWiki. All rights reserved.