net.user1.union.core.event
Class AccountEvent

java.lang.Object
  extended by net.user1.union.core.event.BaseEvent
      extended by net.user1.union.core.event.AccountEvent
All Implemented Interfaces:
Event

public class AccountEvent
extends BaseEvent

AccountEvent is a simple data class used to pass information from an account to registered event-listeners when an event occurs. The AccountEvent class also defines constants representing the available events. To register for an event, use the addEventListener() method.


Field Summary
 
Fields inherited from class net.user1.union.core.event.BaseEvent
m_eventProperties
 
Constructor Summary
AccountEvent(Account account)
          Constructor.
 
Method Summary
 Account getAccount()
          For all events this returns the account involved in the event.
 
Methods inherited from class net.user1.union.core.event.BaseEvent
getProperty, isCanceled, preventDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountEvent

public AccountEvent(Account account)
Constructor.

Method Detail

getAccount

public Account getAccount()
For all events this returns the account involved in the event. Otherwise this returns null.

Returns:
the account involved in the event


Copyright USER1 Subsystems Corporation - Tue Jan 28 2014, 05:05 PM -0500