public class ButtonAndFieldHandler extends Object
Constructor and Description |
---|
ButtonAndFieldHandler(IntelligentFormViewImpl form,
IntelligentFormPresenter presenter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
handleFieldsForIndexMask(boolean disabled)
Handles the fields for index mask usage.
|
void |
removeValidationMessages()
Removes all error messages from the fields.
|
void |
setButtonMode(com.saperion.ngc.iform.IntelligentFormViewImpl.ButtonMode mode)
Sets the buttons to disabled/enabled state according to the specified ButtonMode.
|
void |
setFieldsDisabledState(boolean disabled)
Sets the disabled state for all fields.
|
void |
setFieldsReadonlyState(boolean disabled)
Sets the readonly state for all fields.
|
void |
validateFields()
Triggers the validation for all fields.
|
public ButtonAndFieldHandler(IntelligentFormViewImpl form, IntelligentFormPresenter presenter)
form
- the formpresenter
- presenterpublic void setButtonMode(com.saperion.ngc.iform.IntelligentFormViewImpl.ButtonMode mode)
mode
- button modepublic void handleFieldsForIndexMask(boolean disabled)
disabled
- set to true to disable all fieldspublic void setFieldsReadonlyState(boolean disabled)
disabled
- disabled statepublic void setFieldsDisabledState(boolean disabled)
disabled
- disabled statepublic void validateFields()
public void removeValidationMessages()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.