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.
Constructor and Description |
---|
Preferences() |
Modifier and Type | Method and Description |
---|---|
void |
setInstall(boolean b)
For Web applications "true" is request for app to be installed,
i.e.
|
void |
setInstalldirChooser(Boolean b)
If true then installer adds a dialog to let the user choose a directory
where the product will be installed.
|
void |
setMenu(Boolean b)
If true then application requests to add entry to the system Start Menu.
|
void |
setShortcut(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
public void setInstall(boolean b)
public void setShortcut(Boolean b)
public void setMenu(Boolean b)
public void setInstalldirChooser(Boolean b)
Copyright © 2020. All rights reserved.