org.argouml.uml.ui
Class ActionCopy

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.argouml.uml.ui.ActionCopy
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, javax.swing.event.CaretListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ActionCopy
extends javax.swing.AbstractAction
implements javax.swing.event.CaretListener

See Also:
Serialized Form

Field Summary
private static ActionCopy _Instance
           
private  javax.swing.text.JTextComponent _textSource
           
private static java.lang.String LOCALIZE_KEY
           
 
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
private ActionCopy()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          Copies some text or a fig
 void caretUpdate(javax.swing.event.CaretEvent e)
           
static ActionCopy getInstance()
           
private  boolean isSystemClipBoardEmpty()
           
 
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
 

Field Detail

_Instance

private static ActionCopy _Instance

LOCALIZE_KEY

private static final java.lang.String LOCALIZE_KEY
See Also:
Constant Field Values

_textSource

private javax.swing.text.JTextComponent _textSource
Constructor Detail

ActionCopy

private ActionCopy()
Method Detail

getInstance

public static ActionCopy getInstance()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Copies some text or a fig

Specified by:
actionPerformed in interface java.awt.event.ActionListener

caretUpdate

public void caretUpdate(javax.swing.event.CaretEvent e)
Specified by:
caretUpdate in interface javax.swing.event.CaretListener
See Also:
CaretListener.caretUpdate(javax.swing.event.CaretEvent)

isSystemClipBoardEmpty

private boolean isSystemClipBoardEmpty()


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook