public interface ItsNatHTMLLabel extends ItsNatHTMLElementComponent, ItsNatLabel
ItsNat provides a default implementation of this interface.
This component may be useful to forms with non-fixed labels (e.g. internationalized forms).
By default the component has the default renderer but no editor.
In place edition is not recommended with this kind of component because when a <label> is clicked the default behavior (specified by HTML) is to click the associated form control.
ItsNatHTMLComponentManager.createItsNatHTMLLabel(org.w3c.dom.html.HTMLLabelElement,org.itsnat.core.NameValue[])
Modifier and Type | Method and Description |
---|---|
ItsNatHTMLFormComponent |
getForComponent()
Returns the form based component pointed to by this label with the
"for" attribute.
|
org.w3c.dom.html.HTMLLabelElement |
getHTMLLabelElement()
Returns the associated DOM element to this component.
|
getHTMLElement, getItsNatHTMLComponentManager, getItsNatHTMLElementComponentUI
getEditorActivatorEvent, getItsNatLabelEditor, getItsNatLabelRenderer, getItsNatLabelUI, getValue, isEditing, isEditingEnabled, setEditingEnabled, setEditorActivatorEvent, setItsNatLabelEditor, setItsNatLabelRenderer, setValue, startEditing
getElement, getItsNatElementComponentUI
addEventListener, addEventListener, addEventListener, addEventListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, disableEventListener, disableEventListener, dispose, enableEventListener, enableEventListener, getArtifact, getArtifact, getItsNatComponentManager, getItsNatComponentUI, getItsNatDocument, getNode, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, isDisposed, isEnabled, registerArtifact, removeArtifact, removeEventListener, removeEventListener, removeEventListener, removeEventListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, setEnabled, setEventListenerParams, setEventListenerParams, setNode
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
org.w3c.dom.html.HTMLLabelElement getHTMLLabelElement()
ItsNatHTMLFormComponent getForComponent()
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.