us.nj.nwk.overlapping_analysis
Class Model.ModeChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.swing.event.ChangeEvent
          extended by us.nj.nwk.overlapping_analysis.Model.ModeChangedEvent
All Implemented Interfaces:
Serializable
Enclosing class:
Model

public class Model.ModeChangedEvent
extends ChangeEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Model.ModeChangedEvent(Object source, int mode, int old_mode)
          COnstructs a new ModeEvent
 
Method Summary
 int getMode()
          Returns the mode
 int getOldMode()
          Returns the old mode
 
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
 

Constructor Detail

Model.ModeChangedEvent

public Model.ModeChangedEvent(Object source,
                              int mode,
                              int old_mode)
COnstructs a new ModeEvent

Parameters:
source - source of the event
mode - current mode
old_mode - origional mode
Method Detail

getMode

public int getMode()
Returns the mode

Returns:
the current mode

getOldMode

public int getOldMode()
Returns the old mode

Returns:
the origional mode