org.argouml.uml.ui
Class ActionCopy

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.argouml.uml.ui.ActionCopy
All Implemented Interfaces:
Action, ActionListener, CaretListener, Cloneable, EventListener, Serializable

public class ActionCopy
extends AbstractAction
implements CaretListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private static ActionCopy instance
           
private static String LOCALIZE_KEY
           
private  JTextComponent textSource
           
 
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(ActionEvent ae)
          Copies some text or a fig
 void caretUpdate(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 String LOCALIZE_KEY
See Also:
Constant Field Values

textSource

private JTextComponent textSource
Constructor Detail

ActionCopy

private ActionCopy()
Method Detail

getInstance

public static ActionCopy getInstance()
Returns:
the singleton

actionPerformed

public void actionPerformed(ActionEvent ae)
Copies some text or a fig

Specified by:
actionPerformed in interface ActionListener
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)

caretUpdate

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

isSystemClipBoardEmpty

private boolean isSystemClipBoardEmpty()


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