Class OptionModelImpl

    • Constructor Summary

      Constructors 
      Constructor Description
       value)
      Constructor for when the value and the label are the same.
       label,  value)  
    • Constructor Detail

      • OptionModelImpl

        public  value)
        Constructor for when the value and the label are the same.
      • OptionModelImpl

        public  label,
                                value)
    • Method Detail

      • getLabel

        public  getLabel()
        Description copied from interface: OptionModel
        The localized, user-presentable label for the option.
      • getValue

        public  getValue()
        Description copied from interface: OptionModel
        The server-side value represented by this option. This is used to determine which option will be selected. It is also used, via ValueEncoder.toClient(Object), to generate the client-side value attribute.
      • toString

        public  toString()
        Overrides:
         in class