|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Element interface represents an element in a context.
Method Summary | |
Component |
getComponent()
Returns the component contained in the target element. |
Component |
getContainer()
Returns the context containing the target element, if any, null otherwise. |
int |
getIntValue()
Returns the value of the target element, if its class is an integer class. |
java.lang.String |
getName()
Returns the (local) name of the element, in the context it belongs to. |
java.lang.Class |
getType()
Returns the type of the target element, as a Class. |
java.lang.Object |
getValue()
Returns the value of the target element, if its type is an object reference type. |
Method Detail |
public java.lang.String getName()
public Component getComponent()
public java.lang.Class getType()
public java.lang.Object getValue()
If the target element is of an integral type,
NO_VALUE
} is returned.
public int getIntValue()
If the target element has an object reference type, Integer.MAX_VALUE is returned.
public Component getContainer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |