Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.gwtext.client.state
Class Provider

    java.lang.Object
      com.gwtext.client.core.JsObject
          com.gwtext.client.state.Provider

Direct Known Subclasses:
  CookieProvider

    public abstract class Provider

extends JsObject

Abstract base class for state provider implementations.

Field Summary

Fields inherited from class com.gwtext.client.core.JsObject
`jsObj`

Constructor Summary
`Provider()`

Method Summary
`void` | `clear(java.lang.String name)` Clears a value from the state.
`java.lang.String` | `getAsString(java.lang.String name)` Returns the current value for a key
`void` | `set(java.lang.String name, java.lang.String value)` Sets the value for a key.

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`

Constructor Detail

### Provider

    public Provider()

Method Detail

### clear

    public void clear(java.lang.String name)

  Clears a value from the state.

  Parameters:
    `name` - the key name

### getAsString

    public java.lang.String getAsString(java.lang.String name)

  Returns the current value for a key

  Parameters:
    `name` - the key name
  Returns:
    the key valeu as String

### set

    public void set(java.lang.String name,
                    java.lang.String value)

  Sets the value for a key.

  Parameters:
    `name` - the key name
    `value` - the key value

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD