Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface TextInputGeometry.Provider

Known subtypesEditField, CodeView, EditorView, RichView

Optional optimized geometry provider for large custom editors.

Methods

public abstract TextInputGeometry getGeometrySnapshot()Called on the EDT when the port starts or updates text input.

Method details

getGeometrySnapshot

public abstract TextInputGeometry getGeometrySnapshot()
Called on the EDT when the port starts or updates text input. Return a non-null snapshot of the current visible insertion positions, selection rectangles and active caret.