Class SelectizeOption

java.lang.Object
com.github.openjson.JSONObject
org.wicketstuff.selectize.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:
  • Field Summary

    Fields inherited from class com.github.openjson.JSONObject

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SelectizeOption(String value, String text, String groupId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setGroup(String groupId)
     
    void
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SelectizeOption

      public SelectizeOption(String value, String text)
    • SelectizeOption

      public SelectizeOption(String value, String text, String groupId)
  • Method Details

    • setText

      public void setText(String text)
    • setValue

      public void setValue(String value)
    • setGroup

      public void setGroup(String groupId)