Spec-Zone .ru
спецификации, руководства, описания, API

JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A handle/proxy for an Object reference.

Profile: desktop

Inherited Variables

Constructor Summary

protected FXObjectValue()
Returns
 

Method Summary

public void bindVar(java.lang.String name, javafx.reflect.FXLocation location)

Bind an attribute of an object to a given location.

Bind an attribute of an object to a given location. Should only be called between cls.allocate() and obj.initialize().

Parameters
name
location
 
public void bindVar(javafx.reflect.FXVarMember attr, javafx.reflect.FXLocation location)

Bind an attribute of an object to a given location.

Bind an attribute of an object to a given location. Should only be called between cls.allocate() and obj.initialize().

Parameters
attr
location
 
public abstract FXClassType getClassType()

Get the class of this instance.

Get the class of this instance. (This is different from getType, which gives something more like the compile-time type of the value - which may have limited usefulness.)

Returns
FXClassType
the reflection of the run-time class
 
public FXValue getItem(int index)
Parameters
index
Returns
FXValue
 
public int getItemCount()
Returns
int
 
public FXContext getReflectionContext()
Returns
FXContext
 
public abstract FXClassType getType()
Returns
FXClassType
 
public FXObjectValue initialize()

Finish constructing an object.

Finish constructing an object. Run init hooks, triggers etc.

Returns
FXObjectValue
the constructed object - normally the same as this.
 
public void initVar(java.lang.String name, javafx.reflect.FXValue value)

Initialize an attribute of an object to a given value.

Initialize an attribute of an object to a given value. Should only be called between cls.allocate() and obj.initialize().

Parameters
name
value
 
public void initVar(javafx.reflect.FXVarMember attr, javafx.reflect.FXValue value)

Initialize an attribute of an object to a given value.

Initialize an attribute of an object to a given value. Should only be called between cls.allocate() and obj.initialize().

Parameters
attr
value
 
public FXValue invoke(java.lang.String name, javafx.reflect.FXValue[] args)

Convenience method to invoke a member function.

Convenience method to invoke a member function.

Parameters
name
args
Returns
FXValue
 
public FXValue invoke(javafx.reflect.FXFunctionMember method, javafx.reflect.FXValue[] args)

Convenience method to invoke a member function.

Convenience method to invoke a member function.

Parameters
method
args
Returns
FXValue
 

Inherited Functions