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

Profile: desktop, common

Overview

JavaScript engine

Example Execute script

package testbox;

import java.util.*;

var js:JS=JS{};
    js.evaluate("print('Hello, World\\n')");
    var t:Properties=new Properties();
    println(t.getProperty("a"));
    js.add(t, "test");
    js.evaluate("test.setProperty('a','b1');print(test.getProperty('a'))");
    println(t.getProperty("a"));
 

Profile: desktop

Inherited Variables

Function Summary

public add(object: java.lang.Object, name: java.lang.String) : Void
Parameters
object
name
 
public evaluate(command: java.lang.String) : Void
Parameters
command
 

Inherited Functions