HelpCtx.Providerpublic abstract class PasteType extends Object implements HelpCtx.Provider
| Constructor | Description |
|---|---|
PasteType() |
| Modifier and Type | Method | Description |
|---|---|---|
HelpCtx |
getHelpCtx() |
Help content for the action.
|
String |
getName() |
Display name for the paste action.
|
abstract Transferable |
paste() |
Perform the paste action.
|
public String getName()
public HelpCtx getHelpCtx()
getHelpCtx in interface HelpCtx.Providerpublic abstract Transferable paste() throws IOException
null, meaning that the clipboard content
is not affected. Use e.g. ExTransferable.EMPTY to clear it.IOException - if something failsBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.