public interface Element
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String getName()
Component getComponent()
java.lang.Class getType()
java.lang.Object getValue()
If the target element is of an integral type,
NO_VALUE
} is returned.
int getIntValue()
If the target element has an object reference type, Integer.MAX_VALUE is returned.
Component getContainer()