|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.peer.AbstractHotlistItem
public abstract class AbstractHotlistItem
This class provides the default implementation for a hotlist item.
Constructor Summary | |
---|---|
AbstractHotlistItem()
|
Method Summary | |
---|---|
void |
addStateListener(StateListener listener)
Adds a state listener. |
javax.swing.Icon |
getIcon()
Returns null . |
void |
removeStateListener(StateListener listener)
Remove a state listener. |
protected void |
stateChanged()
Notifies all StateListeners that the state has changed. |
java.lang.String |
toString()
Returns the value of getName() . |
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 |
---|
getActions, getCategory, getComment, getName, getStatus |
Constructor Detail |
---|
public AbstractHotlistItem()
Method Detail |
---|
public void addStateListener(StateListener listener)
addStateListener
in interface HotlistItem
public javax.swing.Icon getIcon()
null
.
getIcon
in interface HotlistItem
public void removeStateListener(StateListener listener)
HotlistItem
removeStateListener
in interface HotlistItem
public java.lang.String toString()
getName()
.
toString
in class java.lang.Object
protected void stateChanged()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |