com.zion.jbuddy.bots.event
Class BotAddBuddyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.zion.jbuddy.bots.event.BotClientEvent
          extended by com.zion.jbuddy.bots.event.BotAddBuddyEvent
All Implemented Interfaces:
Serializable

public class BotAddBuddyEvent
extends BotClientEvent

Encapsulates addBuddy event information.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BotAddBuddyEvent(BotClient client, String name, String displayName, String group)
          This constructor is called from BotEngine and should not be used by outside implementations.
 
Method Summary
 String getDisplayName()
          Returns the user's display name.
 String getGroup()
          Returns the group to add the user to.
 String getName()
          Returns the user's name.
 String toString()
           
 
Methods inherited from class com.zion.jbuddy.bots.event.BotClientEvent
getClient
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BotAddBuddyEvent

public BotAddBuddyEvent(BotClient client,
                        String name,
                        String displayName,
                        String group)
This constructor is called from BotEngine and should not be used by outside implementations.

Method Detail

getName

public String getName()
Returns the user's name.


getDisplayName

public String getDisplayName()
Returns the user's display name.


getGroup

public String getGroup()
Returns the group to add the user to.


toString

public String toString()
Overrides:
toString in class EventObject


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.