com.izforge.izpack.panels.userinput.field.custom
Class CustomFieldReader

java.lang.Object
  extended by com.izforge.izpack.panels.userinput.field.ElementReader
      extended by com.izforge.izpack.panels.userinput.field.FieldReader
          extended by com.izforge.izpack.panels.userinput.field.custom.CustomFieldReader
All Implemented Interfaces:
CustomFieldConfig, FieldConfig

public class CustomFieldReader
extends FieldReader
implements CustomFieldConfig


Field Summary
 
Fields inherited from class com.izforge.izpack.panels.userinput.field.FieldReader
OMIT_FROM_AUTO, SPEC, VARIABLE
 
Constructor Summary
CustomFieldReader(IXMLElement field, Config config, PlatformModelMatcher matcher, InstallData installData)
          Constructs a FieldReader.
 
Method Summary
 List<Column> getColumns()
           
 List<Field> getFields()
           
 int getMaxRow()
          Get the maximum amount of rows to show
 int getMinRow()
          Get the minimum amount of rows to show
 
Methods inherited from class com.izforge.izpack.panels.userinput.field.FieldReader
getCondition, getDefaultValue, getDescription, getDisplayHiddenCondition, getField, getInitialValue, getLabel, getOmitFromAuto, getOsModels, getPacks, getProcessors, getReadonlyCondition, getSize, getSpec, getSpec, getSummaryKey, getText, getTooltip, getValidators, getValidators, getVariable, isDisplayHidden, isReadonly
 
Methods inherited from class com.izforge.izpack.panels.userinput.field.ElementReader
getComplexPanelCondition, getConfig, getOsModels, getPacks, getUnselectedPacks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.izforge.izpack.panels.userinput.field.FieldConfig
getCondition, getDefaultValue, getDescription, getDisplayHiddenCondition, getInitialValue, getLabel, getOmitFromAuto, getOsModels, getPacks, getProcessors, getReadonlyCondition, getSize, getSummaryKey, getTooltip, getValidators, getValidators, getVariable, isDisplayHidden, isReadonly
 

Constructor Detail

CustomFieldReader

public CustomFieldReader(IXMLElement field,
                         Config config,
                         PlatformModelMatcher matcher,
                         InstallData installData)
Constructs a FieldReader.

Parameters:
field - the field element to read
config - the configuration
Method Detail

getColumns

public List<Column> getColumns()
Specified by:
getColumns in interface CustomFieldConfig
Returns:
list of columns

getFields

public List<Field> getFields()
Specified by:
getFields in interface CustomFieldConfig
Returns:
list of fields

getMinRow

public int getMinRow()
Description copied from interface: CustomFieldConfig
Get the minimum amount of rows to show

Specified by:
getMinRow in interface CustomFieldConfig
Returns:

getMaxRow

public int getMaxRow()
Description copied from interface: CustomFieldConfig
Get the maximum amount of rows to show

Specified by:
getMaxRow in interface CustomFieldConfig
Returns:


Copyright © 2018. All rights reserved.