Class DropDown

    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      DropDown​(java.lang.String name, java.lang.String label, java.lang.Object[] values, int defval, boolean indexed)
      Create a new DropDown list.
      DropDown​(java.lang.String name, java.lang.String label, java.lang.Object[] values, java.lang.Object defval, boolean indexed)
      Create a new DropDown list.
      DropDown​(java.lang.String name, java.lang.String label, java.util.List values, int defval, boolean indexed)
      Create a new DropDown list.
      DropDown​(java.lang.String name, java.lang.String label, java.util.List values, java.lang.Object defval, boolean indexed)
      Create a new DropDown list.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String print()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DropDown

        public DropDown​(java.lang.String name,
                        java.lang.String label,
                        java.lang.Object[] values,
                        java.lang.Object defval,
                        boolean indexed)
        Create a new DropDown list.
        Parameters:
        name - The HTML field name.
        label - The label to display
        values - The values for the drop down list
        defval - If this parameter is set then this element will be selected by default.
        indexed - If this is set to true, then indexes will be returned, rather than values.
      • DropDown

        public DropDown​(java.lang.String name,
                        java.lang.String label,
                        java.lang.Object[] values,
                        int defval,
                        boolean indexed)
        Create a new DropDown list.
        Parameters:
        name - The HTML field name.
        label - The label to display
        values - The values for the drop down list
        defval - If this parameter is set then this element will be selected by default.
        indexed - If this is set to true, then indexes will be returned, rather than values.
      • DropDown

        public DropDown​(java.lang.String name,
                        java.lang.String label,
                        java.util.List values,
                        java.lang.Object defval,
                        boolean indexed)
        Create a new DropDown list.
        Parameters:
        name - The HTML field name.
        label - The label to display
        values - The values for the drop down list
        defval - If this parameter is set then this element will be selected by default.
        indexed - If this is set to true, then indexes will be returned, rather than values.
      • DropDown

        public DropDown​(java.lang.String name,
                        java.lang.String label,
                        java.util.List values,
                        int defval,
                        boolean indexed)
        Create a new DropDown list.
        Parameters:
        name - The HTML field name.
        label - The label to display
        values - The values for the drop down list
        defval - If this parameter is set then this element will be selected by default.
        indexed - If this is set to true, then indexes will be returned, rather than values.
    • Method Detail

      • print

        protected java.lang.String print()
        Specified by:
        print in class Field