|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.peer.AbstractHotlistItem org.xnap.plugin.opennap.user.OpenNapGlobalUser
public class OpenNapGlobalUser
Field Summary | |
---|---|
static int |
TRANSFER_DEFAULT
|
static int |
TRANSFER_NEVER
|
static int |
TRANSFER_UNLIMITED
|
Constructor Summary | |
---|---|
OpenNapGlobalUser(GlobalOpenNapUserData data)
|
|
OpenNapGlobalUser(java.lang.String name)
|
Method Summary | |
---|---|
void |
add(OpenNapServer server)
|
void |
downloadStarted()
|
void |
downloadStopped()
|
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. |
OpenNapServer |
getConnectedServer(OpenNapServer preferred)
|
int |
getDownloadCount()
|
int |
getMaxDownloads()
Returns the number of allowed donwload from the peers represented by this item. |
int |
getMaxUploads()
Returns the number of allowed uploads to the peers represented by this item. |
java.lang.String |
getName()
Returns the name of the item. |
int |
getQueuedCount()
|
OpenNapServer[] |
getServers()
|
java.lang.String |
getStatus()
Returns the status of the peers represented by this item. |
int |
getUploadCount()
|
boolean |
isChatIgnored()
Returns true if chat messages from the peers represented by this item are ignored. |
boolean |
isInHotlist()
Returns true, if the user was added to the HotlistManager . |
boolean |
isMinimumSharesMessageSent()
|
void |
lookup()
|
void |
remove(OpenNapServer server)
|
void |
setCategory(java.lang.String newValue)
Sets the category to newValue . |
void |
setChatIgnored(boolean newValue)
Set newValue to true to ignore chat messages from the
peers represented by this item. |
void |
setComment(java.lang.String newValue)
Sets the comment to newValue . |
void |
setInHotlist(boolean newValue)
|
void |
setMaxDownloads(int newValue)
Sets the maximum allowed downloads from the peers represented by this item to newValue . |
void |
setMaxUploads(int newValue)
Sets the maximum allowed uploads to the peers represented by this item to newValue . |
void |
setMinimumSharesMessageSent(boolean sent)
|
void |
setQueued(boolean isQueued)
|
void |
setStatus(java.lang.String newValue)
|
void |
uploadStarted()
|
void |
uploadStopped()
|
Methods inherited from class org.xnap.peer.AbstractHotlistItem |
---|
addStateListener, getIcon, removeStateListener, stateChanged, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int TRANSFER_DEFAULT
public static int TRANSFER_NEVER
public static int TRANSFER_UNLIMITED
Constructor Detail |
---|
public OpenNapGlobalUser(java.lang.String name)
public OpenNapGlobalUser(GlobalOpenNapUserData data)
OpenNapUserManager
Method Detail |
---|
public void add(OpenNapServer server)
public void downloadStarted()
public void downloadStopped()
public javax.swing.Action[] getActions()
HotlistItem
public java.lang.String getCategory()
HotlistItem
public java.lang.String getComment()
HotlistItem
public OpenNapServer getConnectedServer(OpenNapServer preferred)
public int getDownloadCount()
public int getMaxDownloads()
public int getMaxUploads()
public java.lang.String getName()
HotlistItem
public int getQueuedCount()
public OpenNapServer[] getServers()
public java.lang.String getStatus()
HotlistItem
getStatus()
method.
public int getUploadCount()
public boolean isChatIgnored()
public boolean isMinimumSharesMessageSent()
public boolean isInHotlist()
HotlistManager
.
public void lookup()
public void setMinimumSharesMessageSent(boolean sent)
public void setChatIgnored(boolean newValue)
newValue
to true to ignore chat messages from the
peers represented by this item.
public void setCategory(java.lang.String newValue)
newValue
.
public void setComment(java.lang.String newValue)
newValue
.
public void setMaxDownloads(int newValue)
newValue
.
public void setMaxUploads(int newValue)
newValue
.
public void setQueued(boolean isQueued)
public void setStatus(java.lang.String newValue)
public void remove(OpenNapServer server)
public void setInHotlist(boolean newValue)
public void uploadStarted()
public void uploadStopped()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |