|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levelonelabs.aimbot.BotModule com.levelonelabs.aimbot.modules.ReminderModule
A class to handle personal reminders
Field Summary |
Fields inherited from class com.levelonelabs.aimbot.BotModule |
bot |
Constructor Summary | |
ReminderModule(AIMBot bot)
Constructor for the ReminderModule object |
Method Summary | |
void |
addReminder(AIMBuddy buddy,
java.lang.String reminder)
Add a reminder for a buddy |
void |
clearReminders(AIMBuddy buddy)
Clear reminders for a buddy |
java.lang.String |
getName()
Gets the name attribute of the ReminderModule object |
java.util.ArrayList |
getServices()
Gets the services attribute of the ReminderModule object |
java.lang.String |
help()
Describes the usage of the module |
void |
performService(AIMBuddy buddy,
java.lang.String query)
Handle a messaging query |
void |
readState(org.w3c.dom.Element fullStateElement)
Read info from the Element |
boolean |
removeReminder(AIMBuddy buddy,
int i)
Remove Specific Reminder |
boolean |
retrieveReminders(AIMBuddy buddy)
Grabs and sends any stored reminders for a buddy |
void |
writeState(org.w3c.dom.Element emptyStateElement)
Write current into the Element |
Methods inherited from class com.levelonelabs.aimbot.BotModule |
addAIMListener, addBuddies, addBuddy, denyBuddy, getBuddy, getBuddyNames, getPermitMode, permitBuddy, removeBuddies, removeBuddy, sendMessage, sendWarning, setAvailable, setPermitMode, setUnavailable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReminderModule(AIMBot bot)
bot
- Method Detail |
public java.lang.String getName()
getName
in class BotModule
public java.util.ArrayList getServices()
getServices
in class BotModule
public java.lang.String help()
help
in class BotModule
public boolean retrieveReminders(AIMBuddy buddy)
buddy
-
public void performService(AIMBuddy buddy, java.lang.String query)
performService
in class BotModule
buddy
- query
- public boolean removeReminder(AIMBuddy buddy, int i)
buddy
- buddyi
- list item number
public void clearReminders(AIMBuddy buddy)
buddy
- buddypublic void addReminder(AIMBuddy buddy, java.lang.String reminder)
buddy
- buddyreminder
- reminderpublic void writeState(org.w3c.dom.Element emptyStateElement)
XMLizable
writeState
in interface XMLizable
emptyStateElement
- DOM element to write toXMLizable.writeState(Element)
public void readState(org.w3c.dom.Element fullStateElement)
XMLizable
readState
in interface XMLizable
fullStateElement
- DOM element to read fromXMLizable.readState(Element)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |