public static class BasicEditorKit.CopyAction extends BasicWriteAction
CopyAction
implementation of the action to copy
the selected region and place the contents into the system
clipboard.Constructor and Description |
---|
BasicEditorKit.CopyAction()
Constructs this object with the appropriate action name.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
The operation to perform when this action is triggered.
|
actionPerformed, lock, unlock
beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, showMessage, skipLeadingIndent
augmentList, getFocusedComponent, getTextComponent
public BasicEditorKit.CopyAction()
public void actionPerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document)
actionPerformed
in class BasicAction
event
- the action eventeditor
- the editor his action was invoked indocument
- the document associated with the editor