org.openide.nodes.NodeTransfer.transferable()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(4.4k)|赞(0)|评价(0)|浏览(78)

本文整理了Java中org.openide.nodes.NodeTransfer.transferable()方法的一些代码示例,展示了NodeTransfer.transferable()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。NodeTransfer.transferable()方法的具体详情如下:
包路径:org.openide.nodes.NodeTransfer
类名称:NodeTransfer
方法名:transferable

NodeTransfer.transferable介绍

[英]Creates transferable that represents a node operation, such as cut-to-clipboard. The transferable will be recognizable by #node, #nodes, and #cookie.
[中]创建表示节点操作的文件,例如剪切到剪贴板。可以通过#node、#nodes和#cookie识别可转移的内容。

代码示例

代码示例来源:origin: org.netbeans.api/org-openide-nodes

/** Cut this node to the clipboard.
*
* @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one cut flavor
* @throws IOException if it could not cut
* @see NodeTransfer
*/
public Transferable clipboardCut() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_CUT);
}

代码示例来源:origin: org.netbeans.api/org-openide-nodes

/** Copy this node to the clipboard.
*
* @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one copy flavor
* @throws IOException if it could not copy
* @see NodeTransfer
*/
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

/** Cut this node to the clipboard.
*
* @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one cut flavor
* @throws IOException if it could not cut
* @see NodeTransfer
*/
public Transferable clipboardCut () throws IOException {
  return NodeTransfer.transferable (this, NodeTransfer.CLIPBOARD_CUT);
}

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

/** Copy this node to the clipboard.
*
* @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one copy flavor
* @throws IOException if it could not copy
* @see NodeTransfer
*/
public Transferable clipboardCopy () throws IOException {
  return NodeTransfer.transferable (this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

/** Copy this node to the clipboard.
*
* @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one copy flavor
* @throws IOException if it could not copy
* @see NodeTransfer
*/
public Transferable clipboardCopy () throws IOException {
  return NodeTransfer.transferable (this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: nl.cloudfarming.client/field-project

@Override
  public Transferable clipboardCopy() throws IOException {
    return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
  }
}

代码示例来源:origin: nl.cloudfarming.client/fieldplan

/** Copy this node to the clipboard.
 *
 * @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one copy flavor
 * @throws IOException if it could not copy
 * @see NodeTransfer
 */
@Override
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: nl.cloudfarming.client/sensor-api

/** Copy this node to the clipboard.
 *
 * @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one copy flavor
 * @throws IOException if it could not copy
 * @see NodeTransfer
 */
@Override
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

/** Cut this node to the clipboard.
*
* @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one cut flavor
* @throws IOException if it could not cut
* @see NodeTransfer
*/
public Transferable clipboardCut () throws IOException {
  return NodeTransfer.transferable (this, NodeTransfer.CLIPBOARD_CUT);
}

代码示例来源:origin: eu.agrosense.client/grid-api

@Override
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: nl.cloudfarming.client/isobus-type

@Override
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: eu.agrosense.client/grid

@Override
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: eu.agrosense.client/grid-api

@Override
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: nl.cloudfarming.client/task-field

@Override
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

代码示例来源:origin: nl.cloudfarming.client/isobus-tree

@Override
public Transferable clipboardCopy() throws IOException {
  return NodeTransfer.transferable(this, NodeTransfer.CLIPBOARD_COPY);
}

相关文章