|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavafx.reflect.ValueRef
javafx.reflect.ObjectRef
public abstract class ObjectRef
A handle/proxy for an Object
reference.
Constructor Summary | |
---|---|
protected |
ObjectRef()
|
Method Summary | |
---|---|
ReflectionContext |
getReflectionContect()
|
abstract ClassRef |
getType()
Get the run-time type of this value. |
void |
initAttribute(AttributeRef attr,
ValueRef value)
Initialize an attribute of an object to a given value. |
void |
initAttribute(java.lang.String name,
ValueRef value)
Initialize an attribute of an object to a given value. |
void |
initBinding(AttributeRef attr,
LocationRef location)
Bind an attribute of an object to a given location. |
void |
initBinding(java.lang.String name,
LocationRef location)
Bind an attribute of an object to a given location. |
ObjectRef |
initialize()
Finish constructing an object. |
ValueRef |
invoke(MethodRef method,
ValueRef... args)
Convenience method to invoke a member function. |
ValueRef |
invoke(java.lang.String name,
ValueRef... args)
Convenience method to invoke a member function. |
Methods inherited from class javafx.reflect.ValueRef |
---|
getItem, getItemCount, isNull |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ObjectRef()
Method Detail |
---|
public abstract ClassRef getType()
ValueRef
getType
in class ValueRef
public ReflectionContext getReflectionContect()
public void initAttribute(java.lang.String name, ValueRef value)
cls.allocate()
and obj.initialize()
.
public void initAttribute(AttributeRef attr, ValueRef value)
cls.allocate()
and obj.initialize()
.
public void initBinding(java.lang.String name, LocationRef location)
cls.allocate()
and obj.initialize()
.
public void initBinding(AttributeRef attr, LocationRef location)
cls.allocate()
and obj.initialize()
.
public ObjectRef initialize()
public ValueRef invoke(java.lang.String name, ValueRef... args)
public ValueRef invoke(MethodRef method, ValueRef... args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |