sk.uniba.euromath.editor.textEditor.requests.caretRequests
Class ActivateCaretRequest
java.lang.Object
org.eclipse.gef.Request
sk.uniba.euromath.editor.textEditor.requests.caretRequests.ActivateCaretRequest
public class ActivateCaretRequest
- extends org.eclipse.gef.Request
This Request is used to sends position where to activate caret.
Position is offset from start of ITextPieceKeeper to that this request is send
- Author:
- Martin Kollar
Created on 30.4.2005
Constructor Summary |
ActivateCaretRequest(int charPos)
Used when caret is moved because of text inserted or some of special buttons
pressed(ARROW,HOME,END) |
Methods inherited from class org.eclipse.gef.Request |
getExtendedData, getType, setExtendedData, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivateCaretRequest
public ActivateCaretRequest(int charPos)
- Used when caret is moved because of text inserted or some of special buttons
pressed(ARROW,HOME,END)
- Parameters:
charPos
-
getPosition
public int getPosition()
- Returns:
- offset from start of ITextPieceKeeper where to activate Caret
Copyright © 2003-2006 null. All Rights Reserved.