SalesPoint Framework v3.0

users.events
Class UserDataEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--users.events.UserDataEvent

public class UserDataEvent
extends EventObject

An event indicating changes in a UserManager's list of users.

Since:
v2.0
Version:
2.0 05/05/1999
Author:
Steffen Zschaler
See Also:
UserManager, User, UserDataListener, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
UserDataEvent(Object source, User usrData)
          Create a new UserDataEvent giving the source and the user that was affected.
 
Method Summary
 User getUser()
          Get the affected user.
 String getUserName()
          Get the affected user's name.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserDataEvent

public UserDataEvent(Object source,
                     User usrData)
Create a new UserDataEvent giving the source and the user that was affected.
Parameters:
source - the source of this event, usually a UserManager
usrData - the user that was affected.
Method Detail

getUserName

public String getUserName()
Get the affected user's name.
Override:
Never.
Returns:
the affected user's name.

getUser

public User getUser()
Get the affected user.
Override:
Never.
Returns:
the affected user.

SalesPoint Framework v3.0