com.xpn.xwiki.wysiwyg.client.selection.internal
Class AbstractSelection

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.client.selection.internal.AbstractSelection
All Implemented Interfaces:
Selection
Direct Known Subclasses:
DefaultSelection, IESelection

public abstract class AbstractSelection
extends java.lang.Object
implements Selection


Method Summary
protected abstract  void addRange(com.google.gwt.core.client.JavaScriptObject range)
           
 void addRange(Range range)
          Adds a range to the current selection.
 com.google.gwt.core.client.JavaScriptObject getJSSelection()
           
protected abstract  void removeRange(com.google.gwt.core.client.JavaScriptObject range)
           
 void removeRange(Range range)
          Removes a range from the current selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.wysiwyg.client.selection.Selection
collapse, collapseToEnd, collapseToStart, containsNode, deleteFromDocument, extend, getAnchorNode, getAnchorOffset, getFocusNode, getFocusOffset, getRangeAt, getRangeCount, isCollapsed, removeAllRanges, selectAllChildren, selectionLanguageChange, toString
 

Method Detail

getJSSelection

public final com.google.gwt.core.client.JavaScriptObject getJSSelection()

addRange

public final void addRange(Range range)
Adds a range to the current selection.

Specified by:
addRange in interface Selection
See Also:
Selection.addRange(Range)

addRange

protected abstract void addRange(com.google.gwt.core.client.JavaScriptObject range)

removeRange

public final void removeRange(Range range)
Removes a range from the current selection.

Specified by:
removeRange in interface Selection
See Also:
Selection.removeRange(Range)

removeRange

protected abstract void removeRange(com.google.gwt.core.client.JavaScriptObject range)


Copyright © 2004-2008 XWiki. All Rights Reserved.