Class InputControlDescription

Direct Known Subclasses:
CdChar, CdCheckbox, CdCounter, CdLatLong, CdLatLongTime, CdLookup, CdNMEAChar, CdTime, CdTimestamp, NumberControlDescription

public abstract class InputControlDescription extends ControlDescription
  • Method Details

    • fromString

      public abstract Object fromString(String data)
      Convert data in a string back into a valid object of the correct type for this form.
      Parameters:
      data - string data, e.g. from a Json string.
      Returns:
      Obect in correct format
    • toString

      public String toString(Object dataObject)
      Convert a data object to a string. Default just calls the objects .toString() function.
      Parameters:
      dataObject - data object, e.g. from database.
      Returns:
      String
    • getDataSelectCreator

      public ControlDataSelCreator getDataSelectCreator()
      Returns:
      the dataSelectCreator
    • setDataSelectCreator

      public void setDataSelectCreator(ControlDataSelCreator dataSelectCreator)
      Parameters:
      dataSelectCreator - the dataSelectCreator to set