|
||||||||||
| 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.rule.RuleField
public class RuleField
Rule field.
| Constructor Summary | |
|---|---|
RuleField(RuleFieldConfig config,
InstallData installData)
Constructs a RuleField. |
|
| Method Summary | |
|---|---|
String |
format(String[] values)
Formats the values according to the field format. |
String |
getDefaultValue()
Returns the default value of the field. |
String |
getInitialValue()
Returns the initial value of the field. |
FieldLayout |
getLayout()
Returns the field layout. |
ValidationStatus |
validate(String... values)
Validates the field values against the field layout and any associated validators. |
ValidationStatus |
validateFormatted(String value)
Validates a formatted value. |
| Methods inherited from class com.izforge.izpack.panels.userinput.field.Field |
|---|
getDescription, getDescription, getInstallData, getLabel, getLabel, getOmitFromAuto, getOsModels, getPacks, getProcessors, getSize, getSummaryKey, getTooltip, getValue, getVariable, isConditionTrue, isEffectiveDisplayHidden, isEffectiveReadonly, replaceVariables, setSaving, setValue, setVariable, validate, wrapDefaultValue, wrapInitialValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleField(RuleFieldConfig config,
InstallData installData)
RuleField.
config - the field configurationinstallData - the installation data
IzPackException - if the field cannot be read| Method Detail |
|---|
public FieldLayout getLayout()
public String getInitialValue()
getInitialValue in class Fieldnullpublic String getDefaultValue()
getDefaultValue in class Fieldnullpublic String format(String[] values)
values - the values to format
IzPackException - if formatting failspublic ValidationStatus validate(String... values)
validate in class Fieldvalues - the values to validate
public ValidationStatus validateFormatted(String value)
value - the value to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||