@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class AuthorCaretEvent
extends java.lang.Object
AuthorCaretListener that
the position of the caret has changed in the Author editor page.| Constructor and Description |
|---|
AuthorCaretEvent(int offset,
java.util.List<int[]> selectionIntervals,
AuthorNode node)
Constructor for the AuthorCaretEvent.
|
| Modifier and Type | Method and Description |
|---|---|
AuthorNode |
getNode() |
int |
getOffset() |
int |
getSelectionEnd() |
java.util.List<int[]> |
getSelectionIntervals()
Get the selection [start offset, end offset] intervals list.
|
int |
getSelectionStart() |
public AuthorCaretEvent(int offset,
java.util.List<int[]> selectionIntervals,
AuthorNode node)
offset - The absolute caret position inside the Author page.selectionIntervals - The selection [start offset, end offset] intervals list.
If there is no selection the list contains a single entry with [caret offset, caret offset].node - The node holding the caret offset.public int getOffset()
public AuthorNode getNode()
public int getSelectionStart()
public int getSelectionEnd()
public java.util.List<int[]> getSelectionIntervals()
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.