com.valhalla.jbother.plugins.events
Class ExitingEvent

java.lang.Object
  extended by com.valhalla.pluginmanager.PluginEvent
      extended by com.valhalla.jbother.plugins.events.ExitingEvent

public class ExitingEvent
extends PluginEvent

Generated when someone clicks on the close button

Author:
Adam Olsen

Field Summary
 
Fields inherited from class com.valhalla.pluginmanager.PluginEvent
source
 
Constructor Summary
ExitingEvent(java.lang.Object source)
           
 
Method Summary
 boolean getExit()
           
 void setExit(boolean exit)
           
 
Methods inherited from class com.valhalla.pluginmanager.PluginEvent
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitingEvent

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

getExit

public boolean getExit()
Returns:
true if exit should still take place

setExit

public void setExit(boolean exit)
Parameters:
exit - set to false if you want to cancel the exit operation