shp_renderer.jmenuevents
Class SHPEditListener

java.lang.Object
  extended by shp_renderer.jmenuevents.SHPEditListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class SHPEditListener
extends java.lang.Object
implements java.awt.event.ActionListener

This class is called whenever the user clicks an item on the JMenuBar.

Author:
tylerlappe

Constructor Summary
SHPEditListener(SHPViewer initViewer)
          The default for the SHPEditListener class.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method is called whenever the user clicks a button on the JMenuBar.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SHPEditListener

public SHPEditListener(SHPViewer initViewer)
The default for the SHPEditListener class.

Parameters:
initViewer - The viewer to be updated.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
This method is called whenever the user clicks a button on the JMenuBar. Note this method deals with each case using if else.

Specified by:
actionPerformed in interface java.awt.event.ActionListener