001    package users.events;
002    
003    import java.util.EventListener;
004    
005    /**
006     * A Listener listening for UserDataEvents.
007     *
008     * @see users.UserManager
009     * @see users.User
010     * @see UserDataEvent
011     *
012     * @author Steffen Zschaler
013     * @version 2.0 05/05/1999
014     * @since v2.0
015     */
016    public interface UserDataListener extends EventListener {
017    
018        /**
019         * Called whenever a user was added to the source. The new user will be contained
020         * in the event object.
021         *
022         * @param e the event object describing the event.
023         *
024         * @override Always
025         */
026        public void userAdded(UserDataEvent e);
027    
028        /**
029         * Called whenever a user was deleted from the source. The deleted user will be
030         * contained in the event object.
031         *
032         * @param e the event object describing the event.
033         *
034         * @override Always
035         */
036        public void userDeleted(UserDataEvent e);
037    
038    }