net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.action
Class SquirrelCopyAsRtfAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.sourceforge.squirrel_sql.fw.gui.action.BaseAction
          extended by net.sourceforge.squirrel_sql.client.action.SquirrelAction
              extended by net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.action.SquirrelCopyAsRtfAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class SquirrelCopyAsRtfAction
extends SquirrelAction

A Wrapper for RSyntaxTextAreaEditorKit.CopyAsRtfAction. This wrapper is the simplest way to customize the action properties like name and tooltip.

Author:
Stefan Willinger
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.squirrel_sql.fw.gui.action.BaseAction
BaseAction.IBaseActionPropertyNames
 
Field Summary
 
Fields inherited from class net.sourceforge.squirrel_sql.client.action.SquirrelAction
_app
 
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
SquirrelCopyAsRtfAction(IApplication app, IResources rsrc)
          Construct a wrapper for RSyntaxTextAreaEditorKit.CopyAsRtfAction
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class net.sourceforge.squirrel_sql.client.action.SquirrelAction
getApplication, getKeyStroke
 
Methods inherited from class net.sourceforge.squirrel_sql.fw.gui.action.BaseAction
getParentFrame
 
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

SquirrelCopyAsRtfAction

public SquirrelCopyAsRtfAction(IApplication app,
                               IResources rsrc)
Construct a wrapper for RSyntaxTextAreaEditorKit.CopyAsRtfAction

Parameters:
app - The application
rsrc - The plugin resources.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)


Copyright © 2001-2011. All Rights Reserved.