Feature Showcase : Feature Set & Examples

Use joystick mode


ItsNatLabel components leverage the DOM utility ElementLabel adding a data model and in-place editing. In-place editing is the most interesting feature of labels, when the user clicks or double clicks the label area an editor is instanced replacing the label, this editor is designed to get a new label value, when the user ends the edition the editor is removed and the label markup is restored updated with the new value.

Label editors are pluggable and implement the interface ItsNatLabelEditor this inherits from javax.swing.CellEditor. ItsNat provides a default label editor implementation, this editor works as a container of a user defined ItsNat component and this component is finally used to edit in-place the label value. Edition can be disabled, if disabled a label component is basically an ElementLabel.