public interface Editable
Component
implements this interface, but only with empty
methods. You can provide an alternative editing implementation for any Component by
passing an Editable object to Component.setEditingDelegate(com.codename1.ui.Editable)
.Modifier and Type | Method and Description |
---|---|
boolean |
isEditable()
Checks whether the component is editable.
|
boolean |
isEditing()
Checks whether editing is currently in progress.
|
void |
startEditingAsync()
Starts editing the component.
|
void |
stopEditing(Runnable onComplete)
Stops editing the component.
|
boolean isEditable()
boolean isEditing()
void startEditingAsync()
void stopEditing(Runnable onComplete)
onComplete
- Optional callback that will be called after the editing
is finished (as stopping may take some time for the native side to do cleanup).