javax.swing.text

Class DefaultEditorKit.CopyAction

public static class DefaultEditorKit.CopyAction extends TextAction

Copies the selected content into the system clipboard.

See Also: getSystemClipboard CutAction PasteAction

Constructor Summary
CopyAction()
Create a new CopyAction.
Method Summary
voidactionPerformed(ActionEvent event)
Performs the Action.

Constructor Detail

CopyAction

public CopyAction()
Create a new CopyAction.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Performs the Action.

Parameters: event the action event describing the user action