Class SelectizeOption

  • All Implemented Interfaces:
    Serializable

    public class SelectizeOption
    extends com.github.openjson.JSONObject
    implements Serializable
    Provides the model of the selectize component and can be customize by invoking put("key","value"); with custom values. Those values can be used within the Handlebars-Template-Panel.
    Author:
    Tobias Soloschenko
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.github.openjson.JSONObject

        NULL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setGroup​(String groupId)  
      void setText​(String text)  
      void setValue​(String value)  
      • Methods inherited from class com.github.openjson.JSONObject

        accumulate, append, encode, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getNames, getString, has, isNull, keys, keySet, length, names, numberToString, objectAsMap, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, putOpt, quote, remove, toJSONArray, toString, toString, toString, wrap
    • Constructor Detail

      • SelectizeOption

        public SelectizeOption​(String value,
                               String text)
      • SelectizeOption

        public SelectizeOption​(String value,
                               String text,
                               String groupId)
    • Method Detail

      • setText

        public void setText​(String text)
      • setValue

        public void setValue​(String value)
      • setGroup

        public void setGroup​(String groupId)