psdi.webclient.controls

Class Combobox

  • All Implemented Interfaces:
    java.lang.Cloneable, DataBeanListener
    Direct Known Subclasses:
    ReasonChange


    public class Combobox
    extends ControlInstance
    implements DataBeanListener
    Let the control manage the value list of the checkbox. This allows the displayed value to be the same as what the user has selected from the dropdown box.
    • Constructor Detail

      • Combobox

        public Combobox()
    • Method Detail

      • getDataAttributeName

        protected java.lang.String getDataAttributeName()
      • getMenuOptions

        public java.util.Map getMenuOptions()
        Returns:
        Ordered entries to build the dropdown
      • getDisplayValues

        public java.util.Map getDisplayValues()
        Returns:
        Map to be used to find the value to display in the text box of the combo
      • comboboxcontrolsetvalue

        public int comboboxcontrolsetvalue()
        This control-level handler is needed because different implementations of combobox may need to send the selected value to a differently named component.

        Notice that it is impossible to name the handler setvalue because it will hide any component's and bean's setvalue