本文整理了Java中org.syntax.jedit.JEditTextArea.copy()
方法的一些代码示例,展示了JEditTextArea.copy()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JEditTextArea.copy()
方法的具体详情如下:
包路径:org.syntax.jedit.JEditTextArea
类名称:JEditTextArea
方法名:copy
[英]Places the selected text into the clipboard.
[中]将选定文本放入剪贴板。
代码示例来源:origin: org.nuiton/nuiton-widgets
@Override
public void copy() {
editor.copy();
}
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-extra
@Override
public void copy() {
editor.copy();
}
代码示例来源:origin: net.sf.jped/jedit-syntax
public void actionPerformed(ActionEvent evt)
{
JEditTextArea textArea = getTextArea(evt);
textArea.copy();
}
}
代码示例来源:origin: net.sf.jped/jedit-syntax
/**
* Deletes the selected text from the text area and places it
* into the clipboard.
*/
public void cut()
{
if(editable)
{
copy();
setSelectedText("");
}
}
内容来源于网络,如有侵权,请联系作者删除!