JavaFX 1.0 API | Overview | Java FX
| javafx.animation |
Provides the set of classes for the time-based animation framework.
Provides the set of classes for the time-based animation framework. This framework defines a mapping of time to values for the target variable. This variable transitions between the declared values at certain points in time, by using the declared interpolation function to calculate the in-between value. |
| javafx.lang |
This package provides JavaFX Script Runtime APIs
This package provides JavaFX Script Runtime APIs
BuiltinsThis class is automatically imported to all JavaFX ScriptsFXThe FX class contains number of static entry points for a couple of different API sets provided by JavaFX Script.
|
| javafx.reflect |
Provides reflective access to JavaFX values and types.
Provides reflective access to JavaFX values and types. This packages defines a Java API (rather than a JavaFX API), so it can be used from both Java and JavaFX code. A future JavaFX API may be layered on top of this. ContextThe objects in this package are directly or indirectly created from a FXContext. In the default case there is a singleFXContext instance that
uses Java reflection. You get one of these by doing:
FXLocal.Context ctx = FXLocal.getContext();Alternatively, you can do: FXContext ctx = FXContext.getInstance();The latter is more abstract (as it supports proxying for remote VMs) but the more specific FXLocal.Context supports some extra
operations that only make sense for same-VM reflection.
ValuesThe various reflection operations do not directly use Java values. Instead, an javafx.reflect.FXObjectValue is ahandleor proxy for an Object. This extra layer of indirection
isn't needed in many cases, bur it is useful for remote invocation,
remote control, or in general access to data in a different VM.
Object creationTo do the equivalent of the JavaFX code:
you can do:
Sequence operationsUse javafx.reflect.FXSequenceBuilder to create a new sequence. To get the number of items in a sequence, use ValueRef.getItemCount. To index into a sequence, use ValueRef.getItem. Design notes and issuesSome design principles, influenced by the "Mirrored reflection" APIs (Bracha and Ungar: Mirrors: Design Principles for Meta-level Facilities of Object-Oritented Programming Languages, OOPSLA 2004), and JDI :
Limitations
|
| javafx.util |
