org.wicketstuff.yui.helper
Class Attributes
java.lang.Object
org.wicketstuff.yui.helper.TokenSeparatedValues
org.wicketstuff.yui.helper.NameValuePair<T>
org.wicketstuff.yui.helper.JSObject<Attributes>
org.wicketstuff.yui.helper.Attributes
- All Implemented Interfaces:
- Serializable, JavascriptObject
public class Attributes
- extends JSObject<Attributes>
Attributes is a Javascript Object TODO : need to clean up
- Author:
- josh
- See Also:
- Serialized Form
|
Constructor Summary |
Attributes()
Construct an Empty Attribute |
Attributes(String element,
boolean b)
|
Attributes(String element,
float value)
|
Attributes(String element,
float from,
float to)
|
Attributes(String element1,
float float1,
String element2,
float float2)
|
Attributes(String element,
int value)
|
Attributes(String element,
int from,
int to)
|
Attributes(String element1,
int int1,
String element2,
int int2)
|
Attributes(String element,
JavascriptObject json)
|
Attributes(String element,
String value)
constructor. |
Attributes(String element1,
String value1,
String element2,
String value2)
constructor for 2 elements |
DELAY
public static Attributes DELAY
Attributes
public Attributes()
- Construct an Empty Attribute
Attributes
public Attributes(String element,
String value)
- constructor. Adds a single value
- Parameters:
element - value -
Attributes
public Attributes(String element,
int value)
- Parameters:
element - value -
Attributes
public Attributes(String element,
float value)
- Parameters:
element - value -
Attributes
public Attributes(String element1,
String value1,
String element2,
String value2)
- constructor for 2 elements
- Parameters:
element1 - value1 - element2 - value2 -
Attributes
public Attributes(String element1,
int int1,
String element2,
int int2)
- Parameters:
element1 - int1 - element2 - int2 -
Attributes
public Attributes(String element1,
float float1,
String element2,
float float2)
- Parameters:
element1 - float1 - element2 - float2 -
Attributes
public Attributes(String element,
JavascriptObject json)
- Parameters:
element - json -
Attributes
public Attributes(String element,
int from,
int to)
- Parameters:
element - from - to -
Attributes
public Attributes(String element,
float from,
float to)
- Parameters:
element - from - to -
Attributes
public Attributes(String element,
boolean b)
add
public Attributes add(String element,
int int_value)
- allow adding of int values
- Overrides:
add in class NameValuePair<Attributes>
- Parameters:
element - int_value -
- Returns:
add
public Attributes add(String element,
float float_value)
- allow adding of int values
- Parameters:
element - float_value -
isEmpty
public boolean isEmpty()
- Returns:
Copyright © 2013. All Rights Reserved.