Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface DocumentListener
Notified when a
DocumentModel’s document is replaced, by an edit, an undo or a redo.Methods
public abstract void documentChanged(DocumentModel model, Document before, Document after) | Called on the thread that made the change, after the model holds the new document. |
Method details
documentChanged
public abstract void documentChanged(DocumentModel model, Document before, Document after)Called on the thread that made the change, after the model holds the new document.
Parameters
modelDocumentModel- the model that changed
beforeDocument- the previous document
afterDocument- the current document