public interface ItsNatLabelEditor
extends javax.swing.CellEditor
ItsNatComponentManager.createDefaultItsNatLabelEditor(ItsNatComponent)
,
ItsNatLabel.getItsNatLabelEditor()
Modifier and Type | Method and Description |
---|---|
ItsNatComponent |
getLabelEditorComponent(ItsNatLabel label,
java.lang.Object value,
org.w3c.dom.Element labelElem)
Returns the component used to edit in place the label value.
|
ItsNatComponent getLabelEditorComponent(ItsNatLabel label, java.lang.Object value, org.w3c.dom.Element labelElem)
Default implementation uses a ItsNatHTMLInputText
(text not formatted version) to edit
the label value.
label
- the label component, may be used to provide contextual information. Default implementation ignores it.value
- the value to edit (initial value).labelElem
- the label element to render the value into. Is a hint, if provided should be obtained by calling ItsNatElementComponent.getElement()
.ItsNatLabel.setItsNatLabelEditor(ItsNatLabelEditor)
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.