org.eclipse.swt.widgets.Text.addKeyListener()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(166)

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

Text.addKeyListener介绍

暂无

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

public void addKeyListener( KeyListener lsKey ) {
 wText.addKeyListener( lsKey );
}

代码示例来源:origin: pentaho/pentaho-kettle

public void addKeyListener( KeyListener lsKey ) {
 wText.addKeyListener( lsKey );
}

代码示例来源:origin: pentaho/pentaho-kettle

text.addKeyListener( new KeyAdapter() {
 @Override
 public void keyPressed( KeyEvent e ) {

代码示例来源:origin: pentaho/pentaho-kettle

text.addKeyListener( new KeyAdapter() {
 @Override
 public void keyPressed( KeyEvent e ) {

代码示例来源:origin: pentaho/pentaho-kettle

text.addKeyListener( new KeyAdapter() {
 @Override
 public void keyPressed( KeyEvent e ) {

代码示例来源:origin: pentaho/pentaho-kettle

text.addKeyListener( new KeyAdapter() {
 @Override
 public void keyPressed( KeyEvent e ) {

代码示例来源:origin: pentaho/pentaho-kettle

text.addKeyListener( new KeyAdapter() {
 @Override
 public void keyPressed( KeyEvent e ) {

代码示例来源:origin: pentaho/pentaho-kettle

wText.addKeyListener( controlSpaceKeyAdapter );

代码示例来源:origin: pentaho/pentaho-kettle

text.addKeyListener( new KeyAdapter() {
 @Override
 public void keyPressed( KeyEvent e ) {

代码示例来源:origin: pentaho/pentaho-kettle

wText.addKeyListener( controlSpaceKeyAdapter );

代码示例来源:origin: pentaho/pentaho-kettle

wLogMessage.addKeyListener( new ControlSpaceKeyAdapter( jobMeta, wLogMessage ) );

代码示例来源:origin: pentaho/pentaho-kettle

textWidget.setSelection( content.length() );
textWidget.addKeyListener( lsKeyText );

代码示例来源:origin: org.eclipse.scout.sdk.s2e/org.eclipse.scout.sdk.s2e.nls

/**
 * @param listener
 * @see org.eclipse.swt.widgets.Control#addKeyListener(org.eclipse.swt.events.KeyListener)
 */
public void addKeyListener(KeyListener listener) {
 m_text.addKeyListener(listener);
}

代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui

/**
 * {@inheritDoc}
 */
protected Text createFilterText(Composite parent) {
  Text text= super.createFilterText(parent);
  text.addKeyListener(getKeyAdapter());
  return text;
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
protected Text createFilterText(Composite parent) {
  // text set later
  Text text= super.createFilterText(parent);
  text.addKeyListener(getKeyAdapter());
  return text;
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
protected Text createFilterText(Composite parent) {
  // text set later
  Text text= super.createFilterText(parent);
  text.addKeyListener(getKeyAdapter());
  return text;
}

代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui

protected Text createFilterText(Composite parent) {
  // text set later
  Text text= super.createFilterText(parent);
  text.addKeyListener(getKeyAdapter());
  return text;
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
protected Text createFilterText(Composite parent) {
  Text text= super.createFilterText(parent);
  text.addKeyListener(getKeyAdapter());
  return text;
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
protected Text createFilterText(Composite parent) {
  Text text= super.createFilterText(parent);
  text.addKeyListener(getKeyAdapter());
  return text;
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.workbench

@Override
protected Control createTitleControl(Composite parent) {
  filterText = new Text(parent, SWT.NONE);
  GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).grab(true, false)
      .applyTo(filterText);
  contents.hookFilterText(filterText);
  filterText.addKeyListener(getKeyAdapter());
  return filterText;
}

相关文章

Text类方法