javax.swing.text

Class DefaultEditorKit.PasteAction

public static class DefaultEditorKit.PasteAction extends TextAction

Copies content from the system clipboard into the editor.

See Also: getSystemClipboard CopyAction CutAction

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

Constructor Detail

PasteAction

public PasteAction()
Create a new PasteAction.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Performs the Action.

Parameters: event the action event describing the user action