Class SelectControlBase

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, Control, MultiValueControl, SelectControl, SizedControl, ContentElement, LifecycleElement, org.springframework.core.Ordered

public class SelectControlBase extends MultiValueControlBase implements SelectControl
Represents a HTML Select control. Provides preset options for the User to choose from by a drop down
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • SelectControlBase

      public SelectControlBase()
  • Method Details

    • getSize

      public int getSize()
      Description copied from interface: SizedControl
      Retrieves the configured size for the control, which reflects the display width in characters for the control within the UI
      Specified by:
      getSize in interface SizedControl
      Returns:
      int control size
    • setSize

      public void setSize(int size)
      Description copied from interface: SizedControl
      Sets the size for the control
      Specified by:
      setSize in interface SizedControl
      Parameters:
      size -
    • isMultiple

      public boolean isMultiple()
      Indicates whether multiple values can be selected. Defaults to false

      If multiple is set to true, the underlying property must be of Array type

      Specified by:
      isMultiple in interface SelectControl
      Returns:
      true if multiple values can be selected, false if only one value can be selected
    • setMultiple

      public void setMultiple(boolean multiple)
      Set whether multiple values can be selected
      Specified by:
      setMultiple in interface SelectControl
      Parameters:
      multiple -