public class CaretImpl extends Object implements Caret
| Modifier and Type | Class and Description |
|---|---|
static class |
CaretImpl.DirectionToPosition
Deprecated.
Use ApproximateCaretOwner.ToPosition or PreciseCaretOwner.ToPosition
|
protected class |
CaretImpl.KeyboardScrollAction |
protected class |
CaretImpl.MouseScrollAction |
protected static interface |
CaretImpl.ScrollAction |
Caret.Direction| Modifier and Type | Field and Description |
|---|---|
static Timeout |
SCROLL_TIMEOUT
Time to sleep between scrolling actions
|
| Constructor and Description |
|---|
CaretImpl(Wrap<?> wrap,
CaretOwner caretOwner) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addScrollAction(CaretImpl.ScrollAction action) |
Wrap<?> |
getWrap() |
void |
to(Caret.Direction direction) |
void |
to(double value) |
public static final Timeout SCROLL_TIMEOUT
public CaretImpl(Wrap<?> wrap, CaretOwner caretOwner)
wrap - the control wrapper instancecaretOwner - only position() is usedpublic Wrap<?> getWrap()
protected void addScrollAction(CaretImpl.ScrollAction action)
public void to(Caret.Direction direction)
Copyright © 2019. All rights reserved.