javafx.reflect
Class AttributeRef

java.lang.Object
  extended by javafx.reflect.MemberRef
      extended by 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.


Constructor Summary
protected AttributeRef()
           
 
Method Summary
 LocationRef getLocation(ObjectRef obj)
          Get a handle for the attribute in a specific object.
abstract  TypeRef getType()
           
abstract  ValueRef getValue(ObjectRef obj)
          Get the value of the attribute in a specified object.
abstract  void initValue(ObjectRef obj, ValueRef ref)
           
abstract  void setValue(ObjectRef obj, ValueRef newValue)
          Set the value of the attribute in a specified object.
 
Methods inherited from class javafx.reflect.MemberRef
getDeclaringType, getName, isStatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeRef

protected AttributeRef()
Method Detail

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)