private class FillInGuiImpl.RightAnchorEditScroller extends EditScroller
anchorIndex
Modifier | Constructor and Description |
---|---|
private |
RightAnchorEditScroller() |
Modifier and Type | Method and Description |
---|---|
NativePoint |
adjustLocation(java.lang.String txt,
NativePoint np)
Adjust the location so that only the visible content will be displayed.
|
int |
getDelta()
Get the amount of characters which are over the left-most edge, and are not being displayed.
|
int |
getOffset()
Get the index of the leftmost visible character in the widget's displayable area.
|
getAnchorIndex, setAnchorIndex
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 getDelta()
getDelta
in class EditScroller
public int getOffset()
getOffset
in class EditScroller