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

public interface TreeNode.ChangeListener

Told about every change to the tree under the node it is set on: setValue and add on that node or any node below it.

Methods

public abstract void treeChanging(TreeNode node)Called before a change, while the tree still holds the old values.
public abstract void treeChanged(TreeNode node)Called after a change.

Method details

treeChanging

public abstract void treeChanging(TreeNode node)
Called before a change, while the tree still holds the old values.

Parameters

node TreeNode
the node about to change

treeChanged

public abstract void treeChanged(TreeNode node)
Called after a change.

Parameters

node TreeNode
the node that changed