java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.extensions.markup.html.bootstrap.form.ColorPickerConfig
All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config, Serializable, IClusterable

public class ColorPickerConfig extends de.agilecoders.wicket.jquery.AbstractConfig
Configuration holder for all ColorPickerTextField configurations.
See Also:
  • Constructor Details

    • ColorPickerConfig

      public ColorPickerConfig()
  • Method Details

    • isAjaxUpdate

      public boolean isAjaxUpdate()
      Returns:
      true if Ajax request with the new value should be made
    • setAjaxUpdate

      public ColorPickerConfig setAjaxUpdate(boolean isAjaxUpdate)
      Parameters:
      isAjaxUpdate - A flag whether Ajax request should be made with the newly selected value
      Returns:
      this instance, for chaining
    • isComponent

      public boolean isComponent()
      Returns:
      true if the input field is part of a component
    • setComponent

      public ColorPickerConfig setComponent(boolean isComponent)
      Parameters:
      isComponent - A flag whether the input field is part of a "component"
      Returns:
      this instance, for chaining
    • getFormat

      public ColorPickerConfig.Formats getFormat()
      Returns:
      the color format
    • withFormat

      public ColorPickerConfig withFormat(ColorPickerConfig.Formats format)