Package widgets
Class CampoDePercentual
java.lang.Object
systextil.nxj.datatypes.Nullable<T>
systextil.nxj.FieldController<br.com.intersys.systextil.connection.Amount>
systextil.nxj.field.AmountField
widgets.CampoDePercentual
- All Implemented Interfaces:
Comparable<Object>
,FieldListener
Campo Amount que valida que o valor está entre 0 e 100, como é o caso de muitos casos de muitos campos de percetual
do sistema
-
Field Summary
Fields inherited from class systextil.nxj.datatypes.Nullable
containingDataView, name
Fields inherited from interface systextil.nxj.FieldListener
EMPTY
-
Constructor Summary
ConstructorsConstructorDescriptionCampoDePercentual(DataViewController controller)
CampoDePercentual(DataViewController controller, String name)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validar()
The validar event is invoked whenever input is accepted on the field (in add/update/delete mode).Methods inherited from class systextil.nxj.field.AmountField
set, value
Methods inherited from class systextil.nxj.FieldController
afterField, backgroundColor, backgroundColor, beforeField, clearAddExp, clearFindExp, displayAndRestart, initField, onDataAccept, onSearchRangeAccept, requestFocus, requestFocus, searchRanges, setListener, setNullIfNotValid, setStippled, stopForInput, stopForInput, updateable, updateable, visible, visible, whenValueChanges
-
Constructor Details
-
CampoDePercentual
-
CampoDePercentual
-
-
Method Details
-
validar
Description copied from class:FieldController
The validar event is invoked whenever input is accepted on the field (in add/update/delete mode). Use this event to validate if the input is valid.- Specified by:
validar
in interfaceFieldListener
- Overrides:
validar
in classFieldController<br.com.intersys.systextil.connection.Amount>
- Throws:
Exception
- when the validation fails
-