users.events
Class UserDataEvent
java.lang.Object
java.util.EventObject
users.events.UserDataEvent
- All Implemented Interfaces:
- Serializable
- public class UserDataEvent
- extends EventObject
An event indicating changes in a UserManager's list of users.
- Since:
- v2.0
- Author:
- Steffen Zschaler
- See Also:
UserManager
,
User
,
UserDataListener
,
Serialized Form
Constructor Summary |
UserDataEvent(Object source,
User usrData)
Create a new UserDataEvent giving the source and the user that was affected. |
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 UserManagerusrData
- the user that was affected.
getUserName
public String getUserName()
- Get the affected user's name.
- Returns:
- the affected user's name.
- Override:
- Never
getUser
public User getUser()
- Get the affected user.
- Returns:
- the affected user.
- Override:
- Never