Module wicket.bootstrap.extensions
Class ColorPickerConfig
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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleansetAjaxUpdate(boolean isAjaxUpdate) setComponent(boolean isComponent) withFormat(ColorPickerConfig.Formats format) Methods inherited from class de.agilecoders.wicket.jquery.AbstractConfig
all, contains, get, getString, isEmpty, newKey, put, remove, toJsonString, wrapMethods inherited from class de.agilecoders.wicket.jquery.CombinableConfig
combine, withFallback
-
Constructor Details
-
ColorPickerConfig
public ColorPickerConfig()
-
-
Method Details
-
isAjaxUpdate
public boolean isAjaxUpdate()- Returns:
trueif Ajax request with the new value should be made
-
setAjaxUpdate
- Parameters:
isAjaxUpdate- A flag whether Ajax request should be made with the newly selected value- Returns:
thisinstance, for chaining
-
isComponent
public boolean isComponent()- Returns:
trueif the input field is part of a component
-
setComponent
- Parameters:
isComponent- A flag whether the input field is part of a "component"- Returns:
thisinstance, for chaining
-
getFormat
- Returns:
- the color format
-
withFormat
-