Class FormInput


  • public class FormInput
    extends Object
    Author:
    mesbah
    • Method Detail

      • containsInput

        public static boolean containsInput​(Set<FormInput> inputs,
                                            Identification identification)
        Parameters:
        inputs - form input set.
        identification - the identification to check.
        Returns:
        true if set contains a FormInput that has the same identification.
      • getInput

        public static FormInput getInput​(Set<FormInput> inputs,
                                         Identification identification)
        Parameters:
        inputs - form input set.
        identification - the identification to check.
        Returns:
        a FormInput object that has the same identification.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getInputValues

        public Set<InputValue> getInputValues()
        Returns:
        the inputValues
      • inputValues

        public void inputValues​(Set<InputValue> inputValues)
        Parameters:
        inputValues - the inputValues to set
      • inputValues

        public void inputValues​(String... values)
      • inputValues

        public void inputValues​(boolean... values)
        Sets the values of this input field. Only Applicable check-boxes and a radio buttons.
        Parameters:
        values - Values to set.
      • getEventable

        public Eventable getEventable()
        Returns:
        the related eventable for submitting
      • setEventable

        public void setEventable​(Eventable eventable)
        Parameters:
        eventable - the eventable by which this FormInput is submitted by
      • getIdentification

        public Identification getIdentification()
        Returns:
        the identification