Package systextil.nxj

Interface FieldListener

All Known Implementing Classes:
AmountField, AmountFieldAcumulavel, BooleanField, CampoCodigoDeEmpresa, CampoDePercentual, ChainedFieldController, ChainedIntField, ChainedStringField, DateField, DoubleField, DoubleFieldAcumulavel, FieldAdapter, FieldController, IntField, OptionIntField, StringField, TimeField, TimestampField

public interface FieldListener
Contém os eventos de campos de formulários. Permite definir esses eventos para os campos do tipo valid.*Text se o evento não estiver sobrescrito.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Não faz nada.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The afterField event is invoked (in add/update/delete mode) after the field is current -- that is as some other field becomes current.
    void
    The beforeField event is invoked each time the field becomes current (in add/update/delete mode).
    void
    The initField event section is invoked on each field when the form is activated.
    void
    The onDataAccept event is invoked whenever input is accepted on the field (in add/update/delete mode).
    void
    The onSearchRangeAccept event is invoked whenever input is accepted on the field in FIND mode.
    void
    The validar event is invoked whenever input is accepted on the field (in add/update/delete mode).
    void
    The whenValueChanges event is invoked whenever the field is set to a new, different value.
  • Field Details

  • Method Details

    • validar

      void validar() throws Exception
      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.
      Throws:
      Exception - when the validation fails
    • afterField

      void afterField() throws Exception
      The afterField event is invoked (in add/update/delete mode) after the field is current -- that is as some other field becomes current.
      Throws:
      Exception
    • beforeField

      void beforeField() throws Exception
      The beforeField event is invoked each time the field becomes current (in add/update/delete mode).
      Throws:
      Exception
    • initField

      void initField() throws Exception
      The initField event section is invoked on each field when the form is activated.
      Throws:
      Exception
    • onDataAccept

      void onDataAccept() throws Exception
      The onDataAccept event is invoked whenever input is accepted on the field (in add/update/delete mode).
      Throws:
      Exception
    • onSearchRangeAccept

      void onSearchRangeAccept() throws Exception
      The onSearchRangeAccept event is invoked whenever input is accepted on the field in FIND mode.
      Throws:
      Exception
    • whenValueChanges

      void whenValueChanges() throws Exception
      The whenValueChanges event is invoked whenever the field is set to a new, different value.
      Throws:
      Exception