private class FillIn.NoOpScroller extends EditScroller
EditScroller class. This is needed for widgets which
are not editable (like Text widget).anchorIndex| Modifier | Constructor and Description |
|---|---|
private |
NoOpScroller() |
| Modifier and Type | Method and Description |
|---|---|
NativePoint |
adjustLocation(java.lang.String txt,
NativePoint np)
This implementation returns the unchanged location.
|
int |
getDelta()
This implementation always returns 0.
|
int |
getOffset()
This implementation always returns 0.
|
getAnchorIndex, getDeltaNative, setAnchorIndexpublic int getDelta()
getDelta in class EditScrollerpublic NativePoint adjustLocation(java.lang.String txt, NativePoint np)
adjustLocation in class EditScrollertxt - The full content.np - The current location of the content.public int getOffset()
getOffset in class EditScroller