public class PCopyAction extends PBASAction implements PropertyChangeListener
ACCEL, ICON_DISABLED, ICON_DISABLED_SELECTED, ICON_PRESSED, ICON_ROLLOVER, ICON_ROLLOVER_SELECTED, ICON_SELECTED, MNEM, TOOL_TITLE, TOOLBAR_LABEL
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
PCopyAction(PClientComponent comp)
Creates a new action handler to copy the current
selection to the clipboard.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Action performed handler.
|
void |
propertyChange(PropertyChangeEvent e)
Implement propertyChange.
|
equals, getComponent, getHelpID, getPreferredMenu, getTag, handleError, setActionHelpOn, setPreferredMenu
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public PCopyAction(PClientComponent comp)
comp
- PClientComponentpublic void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
evt
- PropertyChangeEventCopyright © 2003, 2023, Oracle and/or its affiliates.