public class SOSelectionLimits extends ArDkSelectionLimits
| Modifier | Constructor and Description |
|---|---|
protected |
SOSelectionLimits() |
protected |
SOSelectionLimits(long internal)
Internal constructor, only ever called from JNI
|
| Modifier and Type | Method and Description |
|---|---|
void |
combine(ArDkSelectionLimits limits)
Combine another SOSelectionLimits with this one.
|
void |
combineWith(SOSelectionLimits limits) |
protected void |
finalize()
Finalizer to free the underlying C structure when gc'd.
|
android.graphics.RectF |
getBox()
Read the bounding box of the selection.
|
android.graphics.PointF |
getEnd()
Read the end of the selected area.
|
android.graphics.PointF |
getHandle()
Read the position where the handle should be attached to the selection.
|
boolean |
getHasPendingVisualChanges()
Determine if the selection has pending visual changes.
|
boolean |
getHasSelectionEnd()
Determine if the Selection has a well defined end.
|
boolean |
getHasSelectionStart()
Determine if the Selection has a well defined start.
|
boolean |
getIsActive()
Determine if the selection is Active.
|
boolean |
getIsCaret()
Determine if the selection is a Caret.
|
boolean |
getIsComposing()
Determine if the selection is an IME composition.
|
boolean |
getIsExtensible()
Determine if the selection is extensible.
|
android.graphics.PointF |
getStart()
Read the start of the selected area.
|
void |
offsetBy(double offX,
double offY)
Offset the positional information.
|
void |
offsetBy(android.graphics.PointF offset)
Offset the positional information.
|
void |
scaleBy(double scale)
Scale the positional information.
|
protected SOSelectionLimits(long internal)
internal - C struct pointer cast to a long.protected SOSelectionLimits()
public android.graphics.PointF getStart()
getStart in class ArDkSelectionLimitspublic android.graphics.PointF getEnd()
getEnd in class ArDkSelectionLimitspublic android.graphics.PointF getHandle()
public android.graphics.RectF getBox()
getBox in class ArDkSelectionLimitspublic boolean getHasSelectionStart()
getHasSelectionStart in class ArDkSelectionLimitspublic boolean getHasSelectionEnd()
getHasSelectionEnd in class ArDkSelectionLimitspublic boolean getIsActive()
getIsActive in class ArDkSelectionLimitspublic boolean getIsCaret()
getIsCaret in class ArDkSelectionLimitspublic boolean getIsExtensible()
public boolean getHasPendingVisualChanges()
public boolean getIsComposing()
public void scaleBy(double scale)
scale - factor to scale by.public void offsetBy(android.graphics.PointF offset)
offset - vector to offset by.public void offsetBy(double offX,
double offY)
offX - x value to offset by.offY - y value to offset by.public void combine(ArDkSelectionLimits limits)
combine in class ArDkSelectionLimitslimits - SOSelectionLimits to combine with this one.public void combineWith(SOSelectionLimits limits)
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable