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.JavaScriptObject
JavaScriptObject class with some helper methods to set and get primitive
values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleangetBooleanValue(String key) Gets the given property value as a boolean.protected final intgetIntValue(String key) Gets the given property value as an int.protected final StringgetStringValue(String key) Gets the given property value as a String.protected final voidsetBooleanValue(String key, boolean value) Sets the given property value as a boolean.protected final voidsetIntValue(String key, int value) Sets the given property value as an int.protected final voidsetStringValue(String key, String value) Sets the given property value as a String.Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
AbstractJSO
protected AbstractJSO()JavaScriptObject constructor.
-
-
Method Details
-
getStringValue
Gets the given property value as a String.- Parameters:
key- the key of the property- Returns:
- the property value
-
setStringValue
Sets the given property value as a String.- Parameters:
key- the key of the propertyvalue- the property value
-
getIntValue
Gets the given property value as an int.- Parameters:
key- the key of the property- Returns:
- the property value
-
setIntValue
Sets the given property value as an int.- Parameters:
key- the key of the propertyvalue- the property value
-
getBooleanValue
Gets the given property value as a boolean.- Parameters:
key- the key of the property- Returns:
- the property value
-
setBooleanValue
Sets the given property value as a boolean.- Parameters:
key- the key of the propertyvalue- the property value
-