本文整理了Java中javax.swing.text.JTextComponent.cut()
方法的一些代码示例,展示了JTextComponent.cut()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextComponent.cut()
方法的具体详情如下:
包路径:javax.swing.text.JTextComponent
类名称:JTextComponent
方法名:cut
暂无
代码示例来源:origin: skylot/jadx
@Override
public void actionPerformed(ActionEvent ae) {
textComponent.cut();
}
};
代码示例来源:origin: RipMeApp/ripme
@Override
public void actionPerformed(ActionEvent ae) {
lastActionSelected = Actions.CUT;
savedString = textComponent.getText();
textComponent.cut();
}
};
代码示例来源:origin: stackoverflow.com
lastActionSelected = Actions.CUT;
savedString = textComponent.getText();
textComponent.cut();
代码示例来源:origin: com.googlecode.vfsjfilechooser2/vfsjfilechooser2
public void actionPerformed(ActionEvent e)
{
txt.cut();
}
});
代码示例来源:origin: net.sf.jt400/jt400
/** Cuts the selected text. */
public void cut() {
formattrace.cut();
}
代码示例来源:origin: com.anrisoftware.prefdialog/prefdialog-misc-swing
@Override
public void actionPerformed(ActionEvent e) {
textField.cut();
}
代码示例来源:origin: org.owasp.jbrofuzz/jbrofuzz
public void actionPerformed(final ActionEvent e) {
area.cut();
}
});
代码示例来源:origin: Vhati/Slipstream-Mod-Manager
@Override
public void actionPerformed( ActionEvent ae ) {
textComponent.cut();
}
};
代码示例来源:origin: omegat-org/omegat
public void actionPerformed(ActionEvent e) {
comp.cut();
}
});
代码示例来源:origin: org.owasp.jbrofuzz/jbrofuzz
public void actionPerformed(final ActionEvent e) {
area.cut();
}
});
代码示例来源:origin: org.owasp.jbrofuzz/jbrofuzz
public void actionPerformed(final ActionEvent e) {
area.cut();
}
});
代码示例来源:origin: net.java.dev.laf-widget/laf-widget
public void actionPerformed(ActionEvent e) {
jcomp.cut();
}
代码示例来源:origin: com.github.arnabk/pgslookandfeel
public void actionPerformed(ActionEvent e) {
comp.cut();
}
代码示例来源:origin: tonikelope/megabasterd
@Override
public void actionPerformed(ActionEvent ae) {
_lastActionSelected = _Actions.CUT;
_savedString = _textComponent.getText();
_textComponent.cut();
}
};
代码示例来源:origin: SimpleAmazonGlacierUploader/SAGU
@Override
public void actionPerformed(ActionEvent ae) {
lastActionSelected = Actions.CUT;
savedString = textComponent.getText();
textComponent.cut();
}
};
代码示例来源:origin: com.google.code.findbugs/findbugs
@Override
public void actionPerformed(ActionEvent evt) {
JTextComponent text = getTextComponent(evt);
if (text == null) {
return;
}
text.cut();
}
}
代码示例来源:origin: org.owasp.jbrofuzz/jbrofuzz
public void run() {
final JTextComponent text = CutAction.this
.getTextComponent(evt);
if (text != null) {
text.cut();
text.requestFocus();
}
}
});
代码示例来源:origin: tinyMediaManager/tinyMediaManager
@Override
public void actionPerformed(ActionEvent e) {
if (menu.getInvoker() instanceof JTextComponent) {
((JTextComponent) menu.getInvoker()).cut();
}
}
});
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/org-netbeans-modules-editor-lib
public void actionPerformed(ActionEvent evt, JTextComponent target) {
if (target != null) {
if (!target.isEditable() || !target.isEnabled()) {
target.getToolkit().beep();
return;
}
target.cut();
}
}
}
代码示例来源:origin: net.java.abeille/abeille
public void actionPerformed(ActionEvent evt, JTextComponent target) {
if (target != null) {
if (!target.isEditable() || !target.isEnabled()) {
target.getToolkit().beep();
return;
}
target.cut();
}
}
}
内容来源于网络,如有侵权,请联系作者删除!