public interface InplaceEditable
Modifier and Type | Method and Description |
---|---|
android.graphics.RectF |
getEditRect(DiagramItem item,
android.graphics.PointF pointerPosition)
Gets the location where the edit control should be displayed.
|
java.lang.String |
getTextToEdit()
Gets the current text content of this item.
|
void |
setEditedText(java.lang.String newText)
Sets the new text content of this item.
|
java.lang.String getTextToEdit()
void setEditedText(java.lang.String newText)
newText
- A String containing the item text.android.graphics.RectF getEditRect(DiagramItem item, android.graphics.PointF pointerPosition)
item
- The DiagramItem
whose text will be edited or that contains the edited component.pointerPosition
- The current pointer position.