org.vizzini.util.event
Class BusyEvent

java.lang.Object
  extended by org.vizzini.util.event.BusyEvent
All Implemented Interfaces:
IEvent

public final class BusyEvent
extends Object
implements IEvent

Provides an event for busy changes. This class is immutable so that listeners can't inadvertantly alter instances. Access instances through the get() method.

Since:
v0.1
Version:
v0.2
Author:
Jeffrey M. Thompson

Method Summary
static BusyEvent get(boolean isBusy)
          Return busy event for the given parameter.
 boolean isBusy()
          Return true if busy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isBusy

public boolean isBusy()
Return true if busy.

Since:
v0.1

get

public static final BusyEvent get(boolean isBusy)
Return busy event for the given parameter.

Parameters:
isBusy - Flag indicating busy status.
Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02