|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 StateListenerpublic void addStateListener(StateListener listener)
HotlistItem
addStateListener in interface HotlistItempublic javax.swing.Action[] getActions()
HotlistItem
getActions in interface HotlistItemgetActions in interface Peerpublic java.lang.String getCategory()
HotlistItem
getCategory in interface HotlistItempublic java.lang.String getComment()
HotlistItem
getComment in interface HotlistItempublic javax.swing.Icon getIcon()
HotlistItem
getIcon in interface HotlistItempublic java.lang.String getStatus()
HotlistItemgetStatus() method.
getStatus in interface HotlistItemgetStatus in interface Peerxnap.peer.HotlistItem#getStatus()public void setStatus(java.lang.String newStatus)
public void removeStateListener(StateListener listener)
HotlistItem
removeStateListener in interface HotlistItempublic java.lang.String getHost()
Peer
getHost in interface Peerpublic int getLocalDownloadCount()
Peer
getLocalDownloadCount in interface Peerpublic int getLocalUploadCount()
Peer
getLocalUploadCount in interface Peer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||