com.github.croesch.micro_debug.gui.listener
Class WindowDisposer

java.lang.Object
  extended by com.github.croesch.micro_debug.gui.listener.WindowDisposer
All Implemented Interfaces:
ActionListener, EventListener

public final class WindowDisposer
extends Object
implements ActionListener

ActionListener that disposes a Window when the action is performed.

Since:
Date: Mar 9, 2012
Author:
croesch

Constructor Summary
WindowDisposer(Window w)
          Constructs this ActionListener that disposes a Window when the action is performed.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Disposes the given window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowDisposer

public WindowDisposer(Window w)
Constructs this ActionListener that disposes a Window when the action is performed.

Parameters:
w - the Window to dispose when the action is performed
Since:
Date: Mar 9, 2012
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Disposes the given window.

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - the event that caused this action
Since:
Date: Mar 9, 2012


Copyright © 2012. All Rights Reserved.