Package com.vaadin.client.communication
Class AtmospherePushConnection.AbstractJSO
- java.lang.Object
-
- com.google.gwt.core.client.JavaScriptObject
-
- com.vaadin.client.communication.AtmospherePushConnection.AbstractJSO
-
- Direct Known Subclasses:
AtmospherePushConnection.AtmosphereConfiguration,AtmospherePushConnection.AtmosphereResponse
- Enclosing class:
- AtmospherePushConnection
public abstract static class AtmospherePushConnection.AbstractJSO extends com.google.gwt.core.client.JavaScriptObjectJavaScriptObject class with some helper methods to set and get primitive values.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractJSO()JavaScriptObject constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangetBooleanValue(String key)Gets the given property value as a boolean.protected intgetIntValue(String key)Gets the given property value as an int.protected StringgetStringValue(String key)Gets the given property value as a String.protected voidsetBooleanValue(String key, boolean value)Sets the given property value as a boolean.protected voidsetIntValue(String key, int value)Sets the given property value as an int.protected voidsetStringValue(String key, String value)Sets the given property value as a String.
-
-
-
Method Detail
-
getStringValue
protected final String getStringValue(String key)
Gets the given property value as a String.- Parameters:
key- the key of the property- Returns:
- the property value
-
setStringValue
protected final void setStringValue(String key, String value)
Sets the given property value as a String.- Parameters:
key- the key of the propertyvalue- the property value
-
getIntValue
protected final int getIntValue(String key)
Gets the given property value as an int.- Parameters:
key- the key of the property- Returns:
- the property value
-
setIntValue
protected final void setIntValue(String key, int value)
Sets the given property value as an int.- Parameters:
key- the key of the propertyvalue- the property value
-
getBooleanValue
protected final boolean getBooleanValue(String key)
Gets the given property value as a boolean.- Parameters:
key- the key of the property- Returns:
- the property value
-
setBooleanValue
protected final void setBooleanValue(String key, boolean value)
Sets the given property value as a boolean.- Parameters:
key- the key of the propertyvalue- the property value
-
-