|
org.openide.util 7.18.1 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openide.util.datatransfer.PasteType
public abstract class PasteType
Clipboard operation providing one kind of paste action. Used by Node.getPasteTypes.
Constructor Summary | |
---|---|
PasteType()
|
Method Summary | |
---|---|
HelpCtx |
getHelpCtx()
Help content for the action. |
String |
getName()
Display name for the paste action. |
abstract Transferable |
paste()
Perform the paste action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasteType()
Method Detail |
---|
public String getName()
public HelpCtx getHelpCtx()
getHelpCtx
in interface HelpCtx.Provider
public 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 fails
|
org.openide.util 7.18.1 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |