org.openstreetmap.gui.jmapviewer.events
Class JMVCommandEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.openstreetmap.gui.jmapviewer.events.JMVCommandEvent
All Implemented Interfaces:
java.io.Serializable

public class JMVCommandEvent
extends java.util.EventObject

Used for passing events between UI components and other objects that register as a JMapViewerEventListener

See Also:
Serialized Form

Nested Class Summary
static class JMVCommandEvent.COMMAND
           
 
Field Summary
private  JMVCommandEvent.COMMAND command
           
private static long serialVersionUID
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JMVCommandEvent(JMVCommandEvent.COMMAND cmd, java.lang.Object source)
           
JMVCommandEvent(java.lang.Object source)
           
 
Method Summary
 JMVCommandEvent.COMMAND getCommand()
           
 void setCommand(JMVCommandEvent.COMMAND command)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

command

private JMVCommandEvent.COMMAND command

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

JMVCommandEvent

public JMVCommandEvent(JMVCommandEvent.COMMAND cmd,
                       java.lang.Object source)

JMVCommandEvent

public JMVCommandEvent(java.lang.Object source)
Method Detail

getCommand

public JMVCommandEvent.COMMAND getCommand()
Returns:
the command

setCommand

public void setCommand(JMVCommandEvent.COMMAND command)
Parameters:
command - the command to set


JOSM