net.sf.doolin.gui.docking
Class DockingWindowDescriptor.CloseAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.sf.doolin.gui.docking.DockingWindowDescriptor.CloseAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
DockingWindowDescriptor<B>

protected static class DockingWindowDescriptor.CloseAction
extends AbstractAction

Decorator for the close action that controls if the view can be closed

Author:
Damien Coraboeuf
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DockingWindowDescriptor.CloseAction(Action dockingAction, GUIView<?> view)
          Constructor
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DockingWindowDescriptor.CloseAction

public DockingWindowDescriptor.CloseAction(Action dockingAction,
                                           GUIView<?> view)
Constructor

Parameters:
dockingAction - Original Javadocking close action (used to get icons and so on)
view - View
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
See Also:
GUIView.close(boolean)


Copyright © 2011. All Rights Reserved.