com.gwtext.client.core
Class NameValuePair

java.lang.Object
  extended by com.gwtext.client.core.JsObject
      extended by com.gwtext.client.core.NameValuePair
Direct Known Subclasses:
UrlParam

public class NameValuePair
extends JsObject

A generic class used a various places that represents a name / value pair.


Field Summary
static int BOOLEAN
           
static int DATE
           
static int FLOAT
           
static int INT
           
static int STRING
           
 
Fields inherited from class com.gwtext.client.core.JsObject
jsObj
 
Constructor Summary
NameValuePair(com.google.gwt.core.client.JavaScriptObject jsObj)
           
NameValuePair(java.lang.String name, boolean value)
           
NameValuePair(java.lang.String name, java.lang.Boolean value)
           
NameValuePair(java.lang.String name, java.util.Date value)
           
NameValuePair(java.lang.String name, float value)
           
NameValuePair(java.lang.String name, java.lang.Float value)
           
NameValuePair(java.lang.String name, int value)
           
NameValuePair(java.lang.String name, java.lang.Integer value)
           
NameValuePair(java.lang.String name, java.lang.String value)
           
 
Method Summary
static com.google.gwt.core.client.JavaScriptObject getJsObj(NameValuePair[] nameValuePairs)
           
 java.lang.String getName()
           
 int getType()
           
 java.lang.String getValue()
           
 boolean getValueAsBoolean()
           
 java.util.Date getValueAsDate()
           
 float getValueAsFloat()
           
 int getValueAsInt()
           
 
Methods inherited from class com.gwtext.client.core.JsObject
getJsObj, getProperties, isCreated, setJsObj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING

public static final int STRING
See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

INT

public static final int INT
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values
Constructor Detail

NameValuePair

public NameValuePair(com.google.gwt.core.client.JavaScriptObject jsObj)

NameValuePair

public NameValuePair(java.lang.String name,
                     java.lang.String value)

NameValuePair

public NameValuePair(java.lang.String name,
                     java.lang.Boolean value)

NameValuePair

public NameValuePair(java.lang.String name,
                     boolean value)

NameValuePair

public NameValuePair(java.lang.String name,
                     java.lang.Float value)

NameValuePair

public NameValuePair(java.lang.String name,
                     float value)

NameValuePair

public NameValuePair(java.lang.String name,
                     java.lang.Integer value)

NameValuePair

public NameValuePair(java.lang.String name,
                     int value)

NameValuePair

public NameValuePair(java.lang.String name,
                     java.util.Date value)
Method Detail

getName

public java.lang.String getName()

getValue

public java.lang.String getValue()

getValueAsBoolean

public boolean getValueAsBoolean()

getValueAsFloat

public float getValueAsFloat()

getValueAsInt

public int getValueAsInt()

getValueAsDate

public java.util.Date getValueAsDate()

getType

public int getType()

getJsObj

public static com.google.gwt.core.client.JavaScriptObject getJsObj(NameValuePair[] nameValuePairs)