public abstract class PasteType extends Object implements HelpCtx.Provider
| Constructor and Description |
|---|
PasteType() |
| Modifier and Type | Method and 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 August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.