本文整理了Java中org.jline.terminal.Terminal.readMouseEvent()
方法的一些代码示例,展示了Terminal.readMouseEvent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Terminal.readMouseEvent()
方法的具体详情如下:
包路径:org.jline.terminal.Terminal
类名称:Terminal
方法名:readMouseEvent
[英]Read a MouseEvent from the terminal input stream. Such an event must have been detected by scanning the terminal's Capability#key_mousein the stream immediately before reading the event.
[中]从终端输入流中读取MouseEvent。在读取事件之前,必须通过扫描流中终端的功能#key_mouse来检测此类事件。
代码示例来源:origin: org.jline/jline
@Override
public MouseEvent readMouseEvent() {
return terminal.readMouseEvent(bindingReader::readCharacter);
}
代码示例来源:origin: apache/karaf
@Override
public MouseEvent readMouseEvent(IntSupplier supplier) {
return terminal.readMouseEvent(supplier);
}
代码示例来源:origin: org.apache.karaf.shell/org.apache.karaf.shell.core
@Override
public MouseEvent readMouseEvent() {
return terminal.readMouseEvent();
}
代码示例来源:origin: apache/karaf
@Override
public MouseEvent readMouseEvent() {
return terminal.readMouseEvent();
}
代码示例来源:origin: org.apache.karaf.shell/org.apache.karaf.shell.core
@Override
public MouseEvent readMouseEvent(IntSupplier supplier) {
return terminal.readMouseEvent(supplier);
}
代码示例来源:origin: com.github.fonimus/ssh-shell-starter
@Override
public MouseEvent readMouseEvent(IntSupplier intSupplier) {
return delegate().readMouseEvent(intSupplier);
}
代码示例来源:origin: com.github.fonimus/spring-boot-ssh-shell-starter
@Override
public MouseEvent readMouseEvent(IntSupplier intSupplier) {
return delegate().readMouseEvent(intSupplier);
}
代码示例来源:origin: com.github.fonimus/ssh-shell-starter
@Override
public MouseEvent readMouseEvent() {
return delegate().readMouseEvent();
}
代码示例来源:origin: com.github.fonimus/spring-boot-ssh-shell-starter
@Override
public MouseEvent readMouseEvent() {
return delegate().readMouseEvent();
}
代码示例来源:origin: org.jline/jline
MouseEvent event = terminal.readMouseEvent();
代码示例来源:origin: org.jline/jline-builtins
MouseEvent event = terminal.readMouseEvent();
代码示例来源:origin: org.jline/jline-builtins
void mouseEvent() {
MouseEvent event = terminal.readMouseEvent();
if (event.getModifiers().isEmpty() && event.getType() == MouseEvent.Type.Released
&& event.getButton() == MouseEvent.Button.Button1) {
代码示例来源:origin: org.jline/jline
void mouseEvent() {
MouseEvent event = terminal.readMouseEvent();
if (event.getModifiers().isEmpty() && event.getType() == MouseEvent.Type.Released
&& event.getButton() == MouseEvent.Button.Button1) {
内容来源于网络,如有侵权,请联系作者删除!