public interface ItsNatButtonLabel extends ItsNatButton
The label is set calling setLabelValue(Object)
. If never called
this component does not change the original markup. A renderer is used to
render the label as markup.
Modifier and Type | Method and Description |
---|---|
ElementRenderer |
getElementRenderer()
Returns the current renderer used to render the label as markup.
|
java.lang.Object |
getLabelValue()
Returns the current label.
|
void |
setElementRenderer(ElementRenderer renderer)
Sets the current renderer.
|
void |
setLabelValue(java.lang.Object value)
Sets the current label value, this value is saved as is and rendered
as markup using the current renderer returned by
getElementRenderer() . |
createDefaultButtonModel, getButtonModel, getItsNatButtonUI, isEnabled, setButtonModel, setEnabled
getElement, getItsNatElementComponentUI
addEventListener, addEventListener, addEventListener, addEventListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, disableEventListener, disableEventListener, dispose, enableEventListener, enableEventListener, getArtifact, getArtifact, getItsNatComponentManager, getItsNatComponentUI, getItsNatDocument, getNode, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, isDisposed, registerArtifact, removeArtifact, removeEventListener, removeEventListener, removeEventListener, removeEventListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, setEventListenerParams, setEventListenerParams, setNode
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
java.lang.Object getLabelValue()
Returned value is the value set by the last call to setLabelValue(Object)
.
setLabelValue(Object)
void setLabelValue(java.lang.Object value)
getElementRenderer()
.value
- the new label value.getLabelValue()
ElementRenderer getElementRenderer()
By default uses the default renderer returned by
ElementGroupManager.createDefaultElementRenderer()
. Only
ItsNatHTMLInputReset
,
ItsNatHTMLInputSubmit
,
and ItsNatHTMLInputButton
components use by default an internal
renderer to render the label as the value of the "value" attribute
of the <input> element.
setLabelValue(Object)
,
setElementRenderer(ElementRenderer)
void setElementRenderer(ElementRenderer renderer)
renderer
- the new renderer.getElementRenderer()
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.