javax.swing.text

Class DefaultEditorKit.CutAction

public static class DefaultEditorKit.CutAction extends TextAction

Copies the selected content into the system clipboard and deletes the selection.

See Also: getSystemClipboard CopyAction PasteAction

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

Constructor Detail

CutAction

public CutAction()
Create a new CutAction.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Performs the Action.

Parameters: event the action event describing the user action