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