org.cruxframework.crux.core.clientoffline
Class Network.UnsupportedImpl
java.lang.Object
org.cruxframework.crux.core.clientoffline.Network.Impl
org.cruxframework.crux.core.clientoffline.Network.UnsupportedImpl
- All Implemented Interfaces:
- HasNetworkHandlers
- Enclosing class:
- Network
public static class Network.UnsupportedImpl
- extends Network.Impl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Network.UnsupportedImpl
public Network.UnsupportedImpl()
isOnLine
public boolean isOnLine()
- Description copied from interface:
HasNetworkHandlers
- Returns whether or not the network is onLine
- Returns:
- true if onLine, false otherwise
addNetworkHandler
public com.google.gwt.event.shared.HandlerRegistration addNetworkHandler(NetworkEvent.Handler handler)
- Description copied from interface:
HasNetworkHandlers
- Adds an
NetworkEvent handler.
- Specified by:
addNetworkHandler in interface HasNetworkHandlers- Overrides:
addNetworkHandler in class Network.Impl
- Parameters:
handler - the handler
- Returns:
- the handler registration
isSupported
public boolean isSupported()
- Description copied from class:
Network.Impl
- Check if this browser support Crux offline working.
- Overrides:
isSupported in class Network.Impl
- Returns:
Copyright © 2014. All rights reserved.