com.sun.javafx.api
Class ToolProvider

java.lang.Object
  extended by com.sun.javafx.api.ToolProvider

public class ToolProvider
extends java.lang.Object

JavaFX version of javac's ToolProvider class.


Method Summary
static JavafxCompiler getJavafxCompiler()
          Gets a JavaFX Script compiler instance.
static JavaFXScriptEngine getJavaFXScriptEngine()
          Gets a JavaFX Script script engine instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJavafxCompiler

public static JavafxCompiler getJavafxCompiler()
Gets a JavaFX Script compiler instance.

Returns:
the compiler instance or null if no compiler is included as part of the application classpath

getJavaFXScriptEngine

public static JavaFXScriptEngine getJavaFXScriptEngine()
Gets a JavaFX Script script engine instance. This is an alternative to the general use where the script engine is looked up as a service.

Returns:
the script engine instance or null if no script engine is included as part of the application classpath