|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.application.PopupListener
Class to listen to the GISDisplay and pop up a context sensative menu when the user right clicks.
Constructor Summary | |
PopupListener(GISDisplay inDisplay)
Creates a new instance of PopupListener |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent inAe)
Invoked when an action occurs. |
void |
clearSelection()
Utility class to clear the selection. |
void |
generatePopup()
Determine what to put on the popup menu. |
GISDisplay |
getGISDisplay()
Return a reference to the GISDisplay. |
Layer |
getLayer()
Utility class to get the selected layer from the GISDisplay. |
Record[] |
getRecords()
Utility class to get the selected records from the GISDisplay. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a component. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Invoked when the mouse enters a component. |
void |
mouseExited(java.awt.event.MouseEvent e)
Invoked when the mouse exits a component. |
void |
mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PopupListener(GISDisplay inDisplay)
Method Detail |
public GISDisplay getGISDisplay()
public Record[] getRecords()
public Layer getLayer()
public void clearSelection()
public void generatePopup()
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void actionPerformed(java.awt.event.ActionEvent inAe)
actionPerformed
in interface java.awt.event.ActionListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |