public class Preferences
extends org.apache.tools.ant.types.DataType
<fx:preferences id="p1" shortcut="true">Request to create desktop shortcut.
<fx:preferences shortcut="false" install="true" menu="true">Request to add reference to the start menu and mark application as installed (in particular, it will be added to Add/Remove programs).
<fx:resource refid="p1"/>Same as first example - request to create shortcut.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
installdirChooserRequested |
private boolean |
installRequested |
private java.lang.Boolean |
menuRequested |
private java.lang.Boolean |
shortcutRequested |
private java.lang.Boolean |
systemWide |
Constructor and Description |
---|
Preferences() |
Modifier and Type | Method and Description |
---|---|
private Preferences |
get() |
(package private) boolean |
getInstall() |
(package private) java.lang.Boolean |
getInstalldirChooser() |
(package private) java.lang.Boolean |
getMenu() |
(package private) java.lang.Boolean |
getShortcut() |
(package private) java.lang.Boolean |
getSystemInstall() |
void |
setInstall(boolean b)
For Web applications "true" is request for app to be installed,
i.e.
|
void |
setInstalldirChooser(java.lang.Boolean b)
If true then installer adds a dialog to let the user choose a directory
where the product will be installed.
|
void |
setMenu(java.lang.Boolean b)
If true then application requests to add entry to the system Start Menu.
|
void |
setShortcut(java.lang.Boolean b)
If true then application requests desktop shortcut to be created.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
private boolean installRequested
private java.lang.Boolean shortcutRequested
private java.lang.Boolean menuRequested
private java.lang.Boolean systemWide
private java.lang.Boolean installdirChooserRequested
java.lang.Boolean getSystemInstall()
public void setInstall(boolean b)
public void setShortcut(java.lang.Boolean b)
public void setMenu(java.lang.Boolean b)
public void setInstalldirChooser(java.lang.Boolean b)
private Preferences get()
java.lang.Boolean getMenu()
java.lang.Boolean getShortcut()
boolean getInstall()
java.lang.Boolean getInstalldirChooser()