-
Method Summary
void
Add field validation rule
void
Clear field validation rules
Get field validation rules
boolean
Field has validation rules
void
boolean
boolean
boolean
void
void
void
void
void
void
boolean
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IWritable
write
-
Method Details
-
isHidden
boolean isHidden()
Description copied from interface: IWidget
Get if widget is hidden
- Specified by:
isHidden
in interface IWidget
- Returns:
- isHidden
-
setHidden
void setHidden(boolean hidden)
Description copied from interface: IWidget
Set if widget is hidden
- Specified by:
setHidden
in interface IWidget
- Parameters:
hidden
-
-
isEditable
boolean isEditable()
field is editable
- Returns:
- isEditable
-
setEditable
void setEditable(boolean editable)
Set field editable
- Parameters:
editable
-
-
isMandatory
boolean isMandatory()
Field is mandatory
- Returns:
- isMandatory
-
setMandatory
void setMandatory(boolean mandatory)
Set field mandatory
- Parameters:
mandatory
-
-
addValidationRule
void addValidationRule(String rule)
Add field validation rule
- Parameters:
rule
-
-
clearValidationRules
void clearValidationRules()
Clear field validation rules
-
hasValidationRules
boolean hasValidationRules()
Field has validation rules
- Returns:
- hasValidationRules
-
getValidationRules
Get field validation rules
- Returns:
- validationRules
-
getAbstractField
Get abstractField
- Returns:
- abstractField
-
updateValue
void updateValue()
Update field value
-
updateControl
void updateControl()
Update widget
-
validate
boolean validate(boolean checkMandatory)
Validate the field
- Parameters:
checkMandatory
-
- Returns:
- isValid
-
getUserId
Get field userID
- Returns:
- userID
-
setUserId
Set field userID
- Parameters:
id
-
-