|
|||||||||
| Home >> All >> org >> embl >> ebi >> escience >> [ scuflui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.embl.ebi.escience.scuflui
Class ScuflModelExplorerPopupHandler

java.lang.Objectjava.awt.event.MouseAdapter
org.embl.ebi.escience.scuflui.ScuflModelExplorerPopupHandler
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener
- public class ScuflModelExplorerPopupHandler
- extends java.awt.event.MouseAdapter
A class to handle popup menus on nodes on the ScuflModelExplorer tree
| Field Summary | |
(package private) ScuflModelExplorer |
explorer
|
| Constructor Summary | |
ScuflModelExplorerPopupHandler(ScuflModelExplorer theExplorer)
|
|
| Method Summary | |
(package private) void |
doEvent(java.awt.event.MouseEvent e)
If the event was a trigger for a popup then use the ScuflContextMenuFactory to find a suitable JPopupMenu for the node that was clicked on and display it. |
void |
mousePressed(java.awt.event.MouseEvent e)
Handle the mouse pressed event in case this is the platform specific trigger for a popup menu |
void |
mouseReleased(java.awt.event.MouseEvent e)
Similarly handle the mouse released event |
| Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
explorer
ScuflModelExplorer explorer
| Constructor Detail |
ScuflModelExplorerPopupHandler
public ScuflModelExplorerPopupHandler(ScuflModelExplorer theExplorer)
| Method Detail |
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Handle the mouse pressed event in case this is the platform
specific trigger for a popup menu
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Similarly handle the mouse released event
doEvent
void doEvent(java.awt.event.MouseEvent e)
- If the event was a trigger for a popup then use the ScuflContextMenuFactory
to find a suitable JPopupMenu for the node that was clicked on and display
it. If we couldn't find anything suitable do nothing, all it means is that
there wasn't a menu available for that type of node.
|
|||||||||
| Home >> All >> org >> embl >> ebi >> escience >> [ scuflui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC