javafx.reflect
Class AttributeRef
java.lang.Object
javafx.reflect.MemberRef
javafx.reflect.AttributeRef
public abstract class AttributeRef
- extends MemberRef
A run-time represention of a JavaFX attribute in a class.
Corresponds to java.lang.reflect.Field
,
and com.sun.jdi.Field
, respectively.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeRef
protected AttributeRef()
getType
public abstract TypeRef getType()
getValue
public abstract ValueRef getValue(ObjectRef obj)
- Get the value of the attribute in a specified object.
setValue
public abstract void setValue(ObjectRef obj,
ValueRef newValue)
- Set the value of the attribute in a specified object.
getLocation
public LocationRef getLocation(ObjectRef obj)
- Get a handle for the attribute in a specific object.
initValue
public abstract void initValue(ObjectRef obj,
ValueRef ref)