Class HasAttributesAbstractElement
Object
HasAttributesAbstractElement
- All Implemented Interfaces:
HasAttributes,MutableHasAttributes,Serializable
- Direct Known Subclasses:
FormComponentContainerImpl,FormElementDescriptorImpl
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface MutableHasAttributes
MutableHasAttributes.AttributeChangeEvent, MutableHasAttributes.AttributeChangeLister -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancontainsAttribute(AttributeMapping mapping) booleancontainsAttribute(String attribute) protected voidfireAttributeChangeEvent(String attributeName) getAttribute(AttributeMapping mapping) getAttribute(String attribute) booleangetBooleanAttribute(AttributeMapping mapping) booleangetBooleanAttribute(String attribute) getNumberAttribute(AttributeMapping mapping) getNumberAttribute(String attribute) voidoverrideAttribute(String attribute, String value) Permite sobrescrever um atributo especifico do elementovoidremoveAttribute(String attr) voidvoidsetAttribute(String attr, String value) voidsetAttributes(Map<String, String> attrs)
-
Field Details
-
_attributes
-
listeners
-
-
Constructor Details
-
HasAttributesAbstractElement
public HasAttributesAbstractElement()
-
-
Method Details
-
addAttributeChangeListener
- Specified by:
addAttributeChangeListenerin interfaceMutableHasAttributes
-
removeAttributeChangeListener
- Specified by:
removeAttributeChangeListenerin interfaceMutableHasAttributes
-
fireAttributeChangeEvent
-
setAttribute
- Specified by:
setAttributein interfaceMutableHasAttributes
-
removeAttribute
- Specified by:
removeAttributein interfaceMutableHasAttributes
-
getAttributes
- Specified by:
getAttributesin interfaceHasAttributes
-
setAttributes
- Specified by:
setAttributesin interfaceMutableHasAttributes
-
containsAttribute
- Specified by:
containsAttributein interfaceHasAttributes
-
getBooleanAttribute
- Specified by:
getBooleanAttributein interfaceHasAttributes
-
getNumberAttribute
- Specified by:
getNumberAttributein interfaceHasAttributes
-
getAttribute
- Specified by:
getAttributein interfaceHasAttributes
-
containsAttribute
- Specified by:
containsAttributein interfaceHasAttributes
-
getBooleanAttribute
- Specified by:
getBooleanAttributein interfaceHasAttributes
-
getNumberAttribute
- Specified by:
getNumberAttributein interfaceHasAttributes
-
getAttribute
- Specified by:
getAttributein interfaceHasAttributes
-
overrideAttribute
Permite sobrescrever um atributo especifico do elemento- Specified by:
overrideAttributein interfaceMutableHasAttributes- Parameters:
attribute-value-
-