org.skunk.dav.client.gui.action
Class CloseBufferAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.skunk.dav.client.gui.action.CloseBufferAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class CloseBufferAction
extends javax.swing.AbstractAction

an Action that closes a buffer.

See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
CloseBufferAction()
          constructor that closes the current buffer
CloseBufferAction(Buffer buffer)
           
CloseBufferAction(Buffer buffer, boolean noprompt)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseBufferAction

public CloseBufferAction(Buffer buffer)
Parameters:
buffer - the buffer to be closed

CloseBufferAction

public CloseBufferAction(Buffer buffer,
                         boolean noprompt)
Parameters:
buffer - the buffer to be closed
noprompt - whether or not to suppress dialog messages to the client

CloseBufferAction

public CloseBufferAction()
constructor that closes the current buffer
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Overrides:
actionPerformed in class javax.swing.AbstractAction