Package | Description |
---|---|
org.netbeans.api.editor.caret |
The Editor Caret API opens up the editor to give information about its carets
and to manipulate them.
|
org.netbeans.spi.editor.caret |
The Editor Caret SPI contains interface(s) to be implemented by clients
in order to manipulate the editor carets.
|
Modifier and Type | Field and Description |
---|---|
static MoveCaretsOrigin |
MoveCaretsOrigin.DEFAULT
Undefined action type.
|
static MoveCaretsOrigin |
MoveCaretsOrigin.DISABLE_FILTERS
Actions which must avoid caret filters.
|
Modifier and Type | Method and Description |
---|---|
static NavigationFilter |
EditorCaret.getNavigationFilter(JTextComponent component,
MoveCaretsOrigin origin)
Returns the navigation filter for a certain operation.
|
int |
EditorCaret.moveCarets(CaretMoveHandler moveHandler,
MoveCaretsOrigin origin)
Move multiple carets or create/modify selections, specifies the originating operation.
|
void |
EditorCaret.moveDot(int offset,
Position.Bias bias,
MoveCaretsOrigin origin)
Moves the caret position (dot) to some other position, leaving behind the
mark.
|
void |
EditorCaret.setDot(int offset,
Position.Bias bias,
MoveCaretsOrigin origin)
Assign a new offset to the caret and identify the operation which
originated the caret movement.
|
static void |
EditorCaret.setNavigationFilter(JTextComponent component,
MoveCaretsOrigin origin,
NavigationFilter naviFilter)
Sets navigation filter for a certain operation type, defined by
MoveCaretsOrigin . |
Modifier and Type | Method and Description |
---|---|
abstract MoveCaretsOrigin |
NavigationFilterBypass.getOrigin()
Describes the origin / reason of the movement.
|
Modifier and Type | Method and Description |
---|---|
void |
CascadingNavigationFilter.register(JTextComponent component,
MoveCaretsOrigin origin)
Registers this Filter into the NavigationFilter chain.
|
void |
CascadingNavigationFilter.setOwnerAndPrevious(JTextComponent component,
MoveCaretsOrigin orig,
NavigationFilter prev) |