|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A common interface for GUI components Allows adding/removing objects, and supports imbedding buttons that are 'attached' to the information.
Method Summary | |
void |
add(java.lang.Object o)
Signifies an object was added to this component |
javax.swing.JComponent |
getComponent()
Returns the underlying component that this Mediator handles |
void |
handleMouseDoubleClick(java.awt.Point p)
Handles when the mouse is double-clicked at Point p |
void |
handleNoSelection()
Event for when nothing is selected. |
void |
handlePopupMenu(java.awt.Point p)
Handles a trigger to the popup menu at Point p |
void |
handleRightMouseClick(java.awt.Point p)
Handles a right-mouse click at Point p |
void |
handleSelection(int row)
Event for when something (such as a row) is selected. |
void |
remove(java.lang.Object o)
Signifies an object was removed from this component. |
void |
removeSelection()
Removes whatever is selected from the component |
void |
setButtonEnabled(int buttonIdx,
boolean enabled)
Handles setting/unsetting the status of the buttons that this Mediator controls. |
void |
update(java.lang.Object o)
Signifies an object in this component was updated. |
Methods inherited from interface com.limegroup.gnutella.gui.RefreshListener |
refresh |
Method Detail |
public void add(java.lang.Object o)
public void remove(java.lang.Object o)
public void update(java.lang.Object o)
public javax.swing.JComponent getComponent()
public void removeSelection()
public void handleMouseDoubleClick(java.awt.Point p)
public void handleRightMouseClick(java.awt.Point p)
public void handlePopupMenu(java.awt.Point p)
public void handleSelection(int row)
public void handleNoSelection()
public void setButtonEnabled(int buttonIdx, boolean enabled)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |