|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.peer.AbstractPeer org.xnap.plugin.joscar.JOscarPeer
public class JOscarPeer
Constructor Summary | |
---|---|
JOscarPeer(java.lang.String uin)
|
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. |
java.lang.String |
getHost()
Returns the ip address or hostname of this peer. |
javax.swing.Icon |
getIcon()
Returns a 16x16 icon. |
int |
getLocalDownloadCount()
Returns the number of currently running downloads from this peer. |
int |
getLocalUploadCount()
Returns the number of currently running uploads to this peer. |
java.lang.String |
getStatus()
Returns the status of the peers represented by this item. |
void |
removeStateListener(StateListener listener)
Remove a state listener. |
void |
setStatus(java.lang.String newStatus)
|
void |
stateChanged(StateEvent e)
Invoked when the object has changed. |
Methods inherited from class org.xnap.peer.AbstractPeer |
---|
getClientInfo, getFileCount, getLinkSpeed, getName, setClientInfo, setFileCount, setLinkSpeed, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.xnap.peer.HotlistItem |
---|
getName |
Constructor Detail |
---|
public JOscarPeer(java.lang.String uin)
Method Detail |
---|
public void stateChanged(StateEvent e)
StateListener
stateChanged
in interface StateListener
public void addStateListener(StateListener listener)
HotlistItem
addStateListener
in interface HotlistItem
public javax.swing.Action[] getActions()
HotlistItem
getActions
in interface HotlistItem
getActions
in interface Peer
public java.lang.String getCategory()
HotlistItem
getCategory
in interface HotlistItem
public java.lang.String getComment()
HotlistItem
getComment
in interface HotlistItem
public javax.swing.Icon getIcon()
HotlistItem
getIcon
in interface HotlistItem
public java.lang.String getStatus()
HotlistItem
getStatus()
method.
getStatus
in interface HotlistItem
getStatus
in interface Peer
xnap.peer.HotlistItem#getStatus()
public void setStatus(java.lang.String newStatus)
public void removeStateListener(StateListener listener)
HotlistItem
removeStateListener
in interface HotlistItem
public java.lang.String getHost()
Peer
getHost
in interface Peer
public int getLocalDownloadCount()
Peer
getLocalDownloadCount
in interface Peer
public int getLocalUploadCount()
Peer
getLocalUploadCount
in interface Peer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |