org.wicketstuff.jquery
Class Options
java.lang.Object
org.wicketstuff.jquery.Options
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BlockOptions, CodepressOptions, CornerzOptions, CropOptions, DatePickerOptions, LightboxOptions, ResizeOptions, SparklineOptions
public class Options
- extends Object
- implements Serializable
- See Also:
- Serialized Form
options_
protected Map<String,Object> options_
Options
public Options()
get
public Object get(String name)
get
public Object get(String name,
Object defaultValue)
set
public Options set(String name,
Object value)
- shortcut method, call set with overwrite = true.
- Parameters:
name - name of the optionvalue - new value of the option (if null, then remove the option)
- Returns:
- this
- See Also:
set(String,Object,boolean)
set
public Options set(String name,
Object value,
boolean overwrite)
- set an option.
- Parameters:
name - name of the optionvalue - new value of the option (if null, then remove the option)overwrite - if false and the value is already set, then the option is unchanged
- Returns:
- this
toString
public String toString()
- Overrides:
toString in class Object
toString
public CharSequence toString(boolean asFragment)
Copyright © 2012. All Rights Reserved.