Summary: Ctors | Methods | Inherited Methods
public
static
final
class
InsertGesture.Builder
extends Object
Builder for InsertGesture. This class is not designed to be thread-safe.
Summary
Public constructors | |
|---|---|
Builder()
|
|
Public methods | |
|---|---|
InsertGesture
|
build()
|
InsertGesture.Builder
|
setFallbackText(String fallbackText)
Set fallback text that will be committed at current cursor position if there is no applicable text beneath the area of gesture. |
InsertGesture.Builder
|
setInsertionPoint(PointF point)
Sets the insertion point (in screen coordinates) where |
InsertGesture.Builder
|
setTextToInsert(String text)
Set the text that will be inserted at |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||
Public constructors
Builder
public Builder ()
Public methods
setFallbackText
public InsertGesture.Builder setFallbackText (String fallbackText)
Set fallback text that will be committed at current cursor position if there is no applicable text beneath the area of gesture.
| Parameters | |
|---|---|
fallbackText |
String: text to set |
| Returns | |
|---|---|
InsertGesture.Builder |
This value cannot be null. |