org.cruxframework.crux.core.clientoffline
Class NetworkEvent

java.lang.Object
  extended by org.cruxframework.crux.core.client.event.BaseEvent<Network>
      extended by org.cruxframework.crux.core.clientoffline.NetworkEvent

public class NetworkEvent
extends BaseEvent<Network>

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static interface NetworkEvent.Handler
          Implemented by objects that handle NetworkEvent.
 
Field Summary
 
Fields inherited from class org.cruxframework.crux.core.client.event.BaseEvent
source
 
Constructor Summary
protected NetworkEvent(boolean onLine)
          Construct a new NetworkEvent.
 
Method Summary
 boolean isOnLine()
          Returns true if this event announces that the source has been onLine, false if it has been online.
 
Methods inherited from class org.cruxframework.crux.core.client.event.BaseEvent
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkEvent

protected NetworkEvent(boolean onLine)
Construct a new NetworkEvent.

Parameters:
onLine - true if the application is online
Method Detail

isOnLine

public boolean isOnLine()
Returns true if this event announces that the source has been onLine, false if it has been online.



Copyright © 2014. All rights reserved.