org.cruxframework.crux.core.clientoffline
Class Network.UnsupportedImpl

java.lang.Object
  extended by org.cruxframework.crux.core.clientoffline.Network.Impl
      extended by org.cruxframework.crux.core.clientoffline.Network.UnsupportedImpl
All Implemented Interfaces:
HasNetworkHandlers
Enclosing class:
Network

public static class Network.UnsupportedImpl
extends Network.Impl


Field Summary
 
Fields inherited from class org.cruxframework.crux.core.clientoffline.Network.Impl
handlers, messages
 
Constructor Summary
Network.UnsupportedImpl()
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addNetworkHandler(NetworkEvent.Handler handler)
          Adds an NetworkEvent handler.
 boolean isOnLine()
          Returns whether or not the network is onLine
 boolean isSupported()
          Check if this browser support Crux offline working.
 
Methods inherited from class org.cruxframework.crux.core.clientoffline.Network.Impl
fireEvent, fireOffLineEvent, fireOnLineEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Network.UnsupportedImpl

public Network.UnsupportedImpl()
Method Detail

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.