|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XAttributedComponent
An interface that allows the component builders to set the attributes of a component without knowing the individual accessor methods.
The interface uses a name to identify the attribute and a string value for the attribute or property value. In general these names are case in-sensitive to facilitate hand coding of the XML as case errors are difficult to spot. The method can also be used as a catch-all for attributes not known to XUI in advance as the framework will pass all attributes to the setAttribute method if the interface is implemented by a widget. The attribute names need not match the property method names as would be required by the bean specification.
Copyright (c) Xoetrope Ltd., 2002-2003
License: see license.txt $Revision: 2.4 $
| Method Summary | |
|---|---|
int |
setAttribute(java.lang.String attribName,
java.lang.Object attribValue)
Set one or more attributes of the component. |
| Method Detail |
|---|
int setAttribute(java.lang.String attribName,
java.lang.Object attribValue)
attribName - the name of the attributeattribValue - the value of the attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||