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

public interface Block

Known subtypesParagraph, Picture, SectionBreak, Table

One top-level unit of a Document’s body: a Paragraph, a Table or a Picture.

Blocks are immutable. Every block carries an id that is unique within its document and stays the same when the block is edited, so an editor, an undo history or a comment anchor can follow a block across versions of the document.

Methods

public abstract String id()The block’s document-local id.

Method details

id

public abstract String id()
The block’s document-local id.

Returns

the id, never null