|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
flash.events.EventDispatcher
flash.net.SharedObject
public class SharedObject
Implementation of flash.net.SharedObject
| Field Summary | |
|---|---|
static EventType |
ASYNCERROR
Dispatched when an exception is thrown asynchronously — that is, from native asynchronous code. |
static EventType |
NETSTATUS
Dispatched when a SharedObject instance is reporting its status or error condition. |
static EventType |
SYNC
Dispatched when a remote shared object has been updated by the server. |
| Fields inherited from class flash.events.EventDispatcher |
|---|
ACTIVATE, DEACTIVATE |
| Constructor Summary | |
|---|---|
protected |
SharedObject()
|
| Method Summary | |
|---|---|
void |
clear()
For local shared objects, purges all of the data and deletes the shared object from the disk. |
void |
close()
Closes the connection between a remote shared object and the server. |
String |
flush(int minDiskSpace)
Immediately writes a locally persistent shared object to a local file. |
com.google.gwt.core.client.JavaScriptObject |
getData()
The collection of attributes assigned to the data property of the object; these attributes can be shared and stored. |
static SharedObject |
getLocal(String name,
String localPath,
boolean secure)
Returns a reference to a locally persistent shared object that is only available to the current client. |
void |
setProperty(String propertyName,
Object value)
Updates the value of a property in a shared object and indicates to the server that the value of the property has changed. |
int |
size()
The current size of the shared object, in bytes. |
| Methods inherited from class flash.events.EventDispatcher |
|---|
addEventListener, create, dispatchEvent, hasEventListener, removeEventListener, willTrigger |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final EventType ASYNCERROR
public static final EventType NETSTATUS
public static final EventType SYNC
| Constructor Detail |
|---|
protected SharedObject()
| Method Detail |
|---|
public static SharedObject getLocal(String name,
String localPath,
boolean secure)
name - localPath -
public final com.google.gwt.core.client.JavaScriptObject getData()
public final int size()
public final void clear()
public final void close()
public final String flush(int minDiskSpace)
minDiskSpace -
public final void setProperty(String propertyName,
Object value)
propertyName - value -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||