|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.userinput.field.Field
com.izforge.izpack.panels.userinput.field.file.AbstractFileField
com.izforge.izpack.panels.userinput.field.file.MultipleFileField
public class MultipleFileField
Multiple file field.
| Field Summary |
|---|
| Fields inherited from class com.izforge.izpack.panels.userinput.field.file.AbstractFileField |
|---|
allowEmptyValue, mustExist |
| Constructor Summary | |
|---|---|
MultipleFileField(MultipleFileFieldConfig config,
InstallData installData)
Constructs a MultipleFileField. |
|
| Method Summary | |
|---|---|
boolean |
getCreateMultipleVariables()
Determines if multiple variables should be created to hold the selected files. |
int |
getPreferredHeight()
Returns the preferred width of the field. |
int |
getPreferredWidth()
Returns the preferred width of the field. |
int |
getVisibleRows()
Returns the number of visible rows. |
void |
setValues(List<String> values)
Sets the values. |
| Methods inherited from class com.izforge.izpack.panels.userinput.field.file.AbstractFileField |
|---|
getAbsoluteFile, getAllowEmptyValue, getFileExtension, getFileExtensionDescription, isMustExist |
| Methods inherited from class com.izforge.izpack.panels.userinput.field.Field |
|---|
getDefaultValue, getDescription, getDescription, getInitialValue, getInstallData, getLabel, getLabel, getOmitFromAuto, getOsModels, getPacks, getProcessors, getSize, getSummaryKey, getTooltip, getValue, getVariable, isConditionTrue, isEffectiveDisplayHidden, isEffectiveReadonly, replaceVariables, setSaving, setValue, setVariable, validate, validate, wrapDefaultValue, wrapInitialValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultipleFileField(MultipleFileFieldConfig config,
InstallData installData)
MultipleFileField.
config - the field configurationinstallData - the installation data
IzPackException - if the field cannot be read| Method Detail |
|---|
public void setValues(List<String> values)
values - the file namespublic int getVisibleRows()
-1 if none is specifiedpublic int getPreferredWidth()
-1 if none is specifiedpublic int getPreferredHeight()
-1 if none is specifiedpublic boolean getCreateMultipleVariables()
true if multiple variables should be created; false if a single variable should be used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||