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

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

Profile: desktop, common

Overview

A run-time representation of a JavaFX class. Corresponds to java.lang.Class.

Profile: desktop

Field Summary

accessnametypedescription
public static finalFUNCTION_CLASSNAME_PREFIXString
protected static finalFX_CLASSint
protected static finalFX_MIXINint
public static finalGETTER_PREFIXString
public static finalLOCATION_GETTER_PREFIXString
protectedmodifiersint
public static finalOBJECT_VARIABLE_CLASSNAMEString
public static finalSEQUENCE_CLASSNAMEString
public static finalSEQUENCE_VARIABLE_CLASSNAMEString
public static finalSETTER_PREFIXString

Inherited Variables

Constructor Summary

protected FXClassType(javafx.reflect.FXContext context, int modifiers)
Parameters
context
modifiers
Returns
 

Method Summary

public abstract FXObjectValue allocate()

Return raw uninitialized object.

Return raw uninitialized object.

Returns
FXObjectValue
 
public boolean equals(javafx.reflect.FXClassType other)
Parameters
other
Returns
boolean
 
public abstract FXFunctionMember getFunction(java.lang.String name, javafx.reflect.FXType[] argType)

Find the function that (best) matches the name and argument types.

Find the function that (best) matches the name and argument types.

Parameters
name
argType
Returns
FXFunctionMember
 
public java.util.List getFunctions(javafx.reflect.FXMemberFilter filter, boolean all)
Parameters
filter
all
Returns
List
 
public java.util.List getFunctions(boolean all)
Parameters
all
Returns
List
 
protected abstract void getFunctions(javafx.reflect.FXMemberFilter filter, javafx.reflect.FXClassType.SortedMemberArray result)
Parameters
filter
result
 
public FXMember getMember(java.lang.String name, javafx.reflect.FXType type)

Get a member with the matching name and type - NOT IMPLEMENTED YET.

Get a member with the matching name and type - NOT IMPLEMENTED YET. (A method has a FunctionType.) (Unimplemented because it requires type matching.)

Parameters
name
type
Returns
FXMember
 
public java.util.List getMembers(javafx.reflect.FXMemberFilter filter, boolean all)
Parameters
filter
all
Returns
List
 
public java.util.List getMembers(boolean all)
Parameters
all
Returns
List
 
protected void getMembers(javafx.reflect.FXMemberFilter filter, javafx.reflect.FXClassType.SortedMemberArray result)
Parameters
filter
result
 
public java.lang.String getName()
Returns
String
 
public FXContext getReflectionContext()
Returns
FXContext
 
public abstract java.util.List getSuperClasses(boolean all)

Get list of super-classes.

Get list of super-classes. Note we don't distinguish between classes and interfaces.

Parameters
all
if true include all ancestor classes (including this class).
Returns
List
the list of super-classes. It sorted by class name for convenience and consistency.
 
public FXVarMember getVariable(java.lang.String name)

Get the attribute (field) of this class with a given name.

Get the attribute (field) of this class with a given name.

Parameters
name
Returns
FXVarMember
 
public java.util.List getVariables(javafx.reflect.FXMemberFilter filter, boolean all)
Parameters
filter
all
Returns
List
 
public java.util.List getVariables(boolean all)
Parameters
all
Returns
List
 
protected abstract void getVariables(javafx.reflect.FXMemberFilter filter, javafx.reflect.FXClassType.SortedMemberArray result)
Parameters
filter
result
 
public int hashCode()
Returns
int
 
public boolean isAssignableFrom(javafx.reflect.FXClassType cls)
Parameters
cls
Returns
boolean
 
public boolean isJfxType()
Returns
boolean
 
public boolean isMixin()
Returns
boolean
 
public FXObjectValue newInstance()

Create a new initialized object.

Create a new initialized object. This is just allocate+FXObjectValue.initialize.

Returns
FXObjectValue
 
public java.lang.String toString()
Returns
String
 

Inherited Functions