|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.core.clientoffline.Network
public class Network
A Network detection tool.
| Nested Class Summary | |
|---|---|
static class |
Network.CacheManifestImpl
|
static class |
Network.Impl
|
static class |
Network.SafariImpl
|
static class |
Network.UnsupportedImpl
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addNetworkHandler(NetworkEvent.Handler handler)
Add a network events handler |
static Network |
get()
Retrieve the Network instance |
boolean |
isOnLine()
Returns true if the application has network connection |
boolean |
isSupported()
Check if this browser support Crux offLine working. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Network get()
public boolean isOnLine()
isOnLine in interface HasNetworkHandlerspublic com.google.gwt.event.shared.HandlerRegistration addNetworkHandler(NetworkEvent.Handler handler)
addNetworkHandler in interface HasNetworkHandlershandler - the handler
public boolean isSupported()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||