|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The component facet. Contains various lifecycle operations, as well as methods to access the properties
Field Summary | |
static boolean |
DISABLED
|
static boolean |
ENABLED
|
Method Summary | |
boolean |
addAttribute(GenericAttribute attr)
Adds an attribute to the component's propeties |
boolean |
construct()
The component constructor. |
void |
destroy()
Destroys the component. |
GenericAttribute |
getAttribute(java.lang.Object key)
Gets an attribute from the properties of this component |
java.util.Hashtable |
getProperties()
Returns the properties (i.e. |
boolean |
hasAttribute(java.lang.Object id)
Checks if the component has an attribute with the given identifier |
boolean |
isEnabled()
Checks whether this component is enabled or not. |
void |
setEnabled(boolean b)
Enables or disables the component |
Field Detail |
public static final boolean ENABLED
public static final boolean DISABLED
Method Detail |
public GenericAttribute getAttribute(java.lang.Object key)
key
- The key of this attribute
public boolean hasAttribute(java.lang.Object id)
id
- The identifier of the attribute
public java.util.Hashtable getProperties()
public boolean addAttribute(GenericAttribute attr)
public boolean isEnabled()
public boolean construct()
public void destroy()
public void setEnabled(boolean b)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |