public class Platform
extends org.apache.tools.ant.types.DataType
<fx:platform javafx="2.0" j2se="7.0"/>
Application need JavaFX Runtime version 2.0 or later and JRE version 7.0 or later.
Examples:
<fx:platform javafx="2.0">
<jvmarg value="-Xmx400m"/>
<jvmarg value="-verbose:jni"/>
<property name="purpose" value="sample"/>
</fx:platform>
Application need JavaFX Runtime version 2.0 and need to be run in JVM launched
with "-Xmx400 -verbose:jni -Dpurpose=sample".| Modifier and Type | Class and Description |
|---|---|
static class |
Platform.Jvmarg
Optional element (could be used multiple times).
|
static class |
Platform.Property
Optional element (could be used multiple times).
|
| Modifier and Type | Field and Description |
|---|---|
static String |
USE_SYSTEM_JRE |
| Constructor and Description |
|---|
Platform() |
| Modifier and Type | Method and Description |
|---|---|
Platform.Jvmarg |
createJvmarg() |
Platform.Property |
createJVMUserArg() |
Platform.Property |
createProperty() |
Platform |
get() |
void |
setBasedir(String v) |
void |
setJ2se(String v)
Minimum version of JRE required by application.
|
void |
setJavafx(String v)
Minimum version of JavaFX required by application.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringpublic static final String USE_SYSTEM_JRE
public void setJ2se(String v)
public void setJavafx(String v)
public void setBasedir(String v)
public Platform.Property createProperty()
public Platform.Jvmarg createJvmarg()
public Platform.Property createJVMUserArg()
public Platform get()
Copyright © 2025. All rights reserved.