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

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

Profile: desktop, common

Overview

Implementation of FXContext using Java reflection. Can only access objects and types in the current JVM. Normally, this is a singleton, though in the future there might be variants with different class search paths (similar to com.sun.jdi.PathSearchingVirtualMachine).

Profile: desktop

Inherited Variables

Method Summary

public static java.lang.Class asClass(javafx.reflect.FXType type)
Parameters
type
Returns
Class
 
public javafx.reflect.FXLocal.ClassType findClass(java.lang.String cname)

Get the FXClassType for the class with the given name.

Get the FXClassType for the class with the given name.

Parameters
cname
Returns
ClassType
 
public javafx.reflect.FXLocal.ClassType findClass(java.lang.String cname, java.lang.ClassLoader loader)

Get the FXClassType for the class with the given name.

Get the FXClassType for the class with the given name.

Parameters
cname
loader
Returns
ClassType
 
public static javafx.reflect.FXLocal.Context getInstance()

Get the default instance.

Get the default instance.

Returns
Context
 
public javafx.reflect.FXLocal.ClassType makeClassRef(java.lang.Class cls)

Create a reference to a given Class.

Create a reference to a given Class.

Parameters
cls
Returns
ClassType
 
public javafx.reflect.FXLocal.Value makeSequenceValue(javafx.reflect.FXValue[] values, int nvalues, javafx.reflect.FXType elementType)
Parameters
values
nvalues
elementType
Returns
Value
 
public FXType makeTypeRef(java.lang.reflect.Type typ)
Parameters
typ
Returns
FXType
 
public javafx.reflect.FXLocal.ObjectValue mirrorOf(java.lang.Object obj)

Create a reference to a given Object.

Create a reference to a given Object.

Parameters
obj
Returns
ObjectValue
 
public javafx.reflect.FXLocal.Value mirrorOf(java.lang.Object val, javafx.reflect.FXType type)
Parameters
val
type
Returns
Value
 
public javafx.reflect.FXLocal.ObjectValue mirrorOf(java.lang.String val)
Parameters
val
Returns
ObjectValue
 

Inherited Functions