|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levelonelabs.aim.AIMGroup
Container for a group of AIMBuddies
Constructor Summary | |
AIMGroup(java.lang.String name)
Constructor for the AIMGroup object |
Method Summary | |
boolean |
add(java.lang.String buddy)
Add a buddy to the list |
java.util.ArrayList |
getList()
Gets the list attribute of the AIMGroup object |
java.lang.String |
getName()
Gets the name attribute of the AIMGroup object |
void |
readState(org.w3c.dom.Element fullStateElement)
Read info from the Element |
boolean |
remove(java.lang.String buddy)
Remove a buddy from the list |
int |
size()
Returns the number of unique buddies in the group |
java.lang.String |
toString()
List the buddies in the group |
void |
writeState(org.w3c.dom.Element emptyStateElement)
Write current into the Element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AIMGroup(java.lang.String name)
name
- Method Detail |
public java.lang.String getName()
public java.util.ArrayList getList()
public boolean add(java.lang.String buddy)
buddy
-
public boolean remove(java.lang.String buddy)
buddy
-
public int size()
public java.lang.String toString()
public void readState(org.w3c.dom.Element fullStateElement)
XMLizable
readState
in interface XMLizable
fullStateElement
- DOM element to read fromXMLizable.readState(Element)
public void writeState(org.w3c.dom.Element emptyStateElement)
XMLizable
writeState
in interface XMLizable
emptyStateElement
- DOM element to write toXMLizable.writeState(Element)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |