org.xnap.peer
Interface HotlistItem

All Known Implementing Classes:
AbstractHotlistItem, JOscarPeer, OpenNapGlobalUser

public interface HotlistItem

Defines the requirements for a hotlist item. Hotlist item represent one or more favorite peers.

See Also:
HotlistManager

Method Summary
 void addStateListener(StateListener listener)
          Adds a state listener.
 javax.swing.Action[] getActions()
          Returns the actions that can performed by the item.
 java.lang.String getCategory()
          Returns the category of the item.
 java.lang.String getComment()
          Returns the user defined comment of the item.
 javax.swing.Icon getIcon()
          Returns a 16x16 icon.
 java.lang.String getName()
          Returns the name of the item.
 java.lang.String getStatus()
          Returns the status of the peers represented by this item.
 void removeStateListener(StateListener listener)
          Remove a state listener.
 

Method Detail

addStateListener

void addStateListener(StateListener listener)
Adds a state listener.


getActions

javax.swing.Action[] getActions()
Returns the actions that can performed by the item.


getCategory

java.lang.String getCategory()
Returns the category of the item.


getComment

java.lang.String getComment()
Returns the user defined comment of the item.


getIcon

javax.swing.Icon getIcon()
Returns a 16x16 icon. The icon is displayed next to the name.


getName

java.lang.String getName()
Returns the name of the item.


getStatus

java.lang.String getStatus()
Returns the status of the peers represented by this item. See the getStatus() method.


removeStateListener

void removeStateListener(StateListener listener)
Remove a state listener.



Copyright © 2001-2005 XNap Team. All Rights Reserved.