public class Attributes extends JSObject<Attributes>
Modifier and Type | Field and Description |
---|---|
static Attributes |
DELAY |
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
Attributes |
add(String element,
float float_value)
allow adding of int values
|
Attributes |
add(String element,
int int_value)
allow adding of int values
|
boolean |
isEmpty() |
add, add, getNameValueSeparator, getPrefix, getSuffix, getValueSeparator
add, add, getValues, isValid, wrapValue
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public static Attributes DELAY
public Attributes()
public Attributes(String element, String value)
element
- value
- public Attributes(String element, int value)
element
- value
- public Attributes(String element, float value)
element
- value
- public Attributes(String element1, String value1, String element2, String value2)
element1
- value1
- element2
- value2
- public Attributes(String element1, int int1, String element2, int int2)
element1
- int1
- element2
- int2
- public Attributes(String element1, float float1, String element2, float float2)
element1
- float1
- element2
- float2
- public Attributes(String element, JavascriptObject json)
element
- json
- public Attributes(String element, int from, int to)
element
- from
- to
- public Attributes(String element, float from, float to)
element
- from
- to
- public Attributes(String element, boolean b)
public Attributes add(String element, int int_value)
add
in class NameValuePair<Attributes>
element
- int_value
- public Attributes add(String element, float float_value)
element
- float_value
- public boolean isEmpty()
Copyright © 2015. All rights reserved.