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, setAnchorIndex
public int getDelta()
getDelta
in class EditScroller
public NativePoint adjustLocation(java.lang.String txt, NativePoint np)
adjustLocation
in class EditScroller
txt
- The full content.np
- The current location of the content.public int getOffset()
getOffset
in class EditScroller