|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.event.MouseAdapter
com.jgraph.pad.util.JGraphpadMouseAdapter
Simpify the creation of popup menus.
| Field Summary | |
protected String |
configName
Holds the name of the configuration to be returned from JGraphpad.NAME_UICONFIG. |
protected JGraphEditor |
editor
References the enclosing editor. |
| Constructor Summary | |
JGraphpadMouseAdapter(JGraphEditor editor,
String configName)
Constructs a new mouse adapter for the specified enclosing editor and popup menu configuration name. |
|
| Method Summary | |
String |
getConfigName()
|
Node |
getPopupMenuConfiguration(MouseEvent event)
Hook for subclassers to return a configuration for the popup menu. |
void |
mouseReleased(MouseEvent event)
Displays a popup menu. |
void |
setConfigName(String configName)
|
| Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited, mousePressed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected JGraphEditor editor
protected String configName
JGraphpad.NAME_UICONFIG.
| Constructor Detail |
public JGraphpadMouseAdapter(JGraphEditor editor,
String configName)
editor - The enclosing editor.configName - The name of the popup menu configuration.| Method Detail |
public Node getPopupMenuConfiguration(MouseEvent event)
event - The object that describes the event.
public void mouseReleased(MouseEvent event)
event - The object that describes the event.public String getConfigName()
public void setConfigName(String configName)
configName - The configName to set.
|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||