|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnap.peer.HotlistManager
public class HotlistManager
Manages HotlistItem objects.
| Method Summary | |
|---|---|
void |
add(HotlistItem item)
Adds item to the hotlist. |
void |
addListListener(ListListener listener)
Listener is notified when a new item is added or removed. |
static HotlistManager |
getInstance()
Returns the instance of HotlistManager. |
HotlistItem[] |
getItems()
|
void |
remove(HotlistItem item)
Removes item from the hotlist. |
void |
removeByClass(java.lang.Class itemClass)
Removes all items of class itemClass from the hotlist. |
void |
removeListListener(ListListener listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static HotlistManager getInstance()
public void add(HotlistItem item)
item to the hotlist.
public void addListListener(ListListener listener)
Listener is notified when a new item is added or removed.
public HotlistItem[] getItems()
public void remove(HotlistItem item)
item from the hotlist.
public void removeByClass(java.lang.Class itemClass)
itemClass from the hotlist.
public void removeListListener(ListListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||