|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object YahooGroup
Represents a single group of users on the friends list.
Constructor Summary | |
YahooGroup()
|
Method Summary | |
int |
getIndexOfFriend(String id)
Returns the index of a given friend with the specified ID in this group. |
Vector |
getMembers()
Returns the current membership of this group. |
String |
getName()
Get the group name. |
boolean |
isOpen()
Returns whether the group is currently open on the user interface. |
void |
setOpen(boolean b)
Sets the open state of this group on the user interface. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public YahooGroup()
Method Detail |
public String getName()
public boolean isOpen()
setOpen(boolean b)
public void setOpen(boolean b)
b
- true=open, false=closedisOpen()
public Vector getMembers()
Vector
object returned should be populated with one or more YahooUser
objects, representing the users in the group at the time this method was
called.
Note: this method makes a shallow clone of the internal membership array, and as such should be considered expensive.
public int getIndexOfFriend(String id)
id
- ID of friend
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |