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

x33g5p2x  于2022-01-30 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(135)

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

Spinner.setToolTipText介绍

暂无

代码示例

代码示例来源:origin: heeckhau/mousefeed

/**
 * Creates the control for {@link #configureKeyboardShortcutThreshold}.
 */
private Spinner createConfigureKeyboardShortcutThreshold(
    final Composite container, final Control above) {
  notNull(container);
  
  final Label label = new Label(container, SWT.NONE);
  label.setText(
      MESSAGES.get("field.configureKeyboardShortcutThreshold.label"));
  placeUnder(label, above, STACKED_V_OFFSET);
  
  final Spinner spinner = new Spinner(container, SWT.NONE);
  spinner.setToolTipText(
      MESSAGES.get("field.configureKeyboardShortcutThreshold.tooltip"));
  placeUnder(spinner, label, STACKED_V_OFFSET);
  return spinner;
}

代码示例来源:origin: eclipse-jetty/eclipse-jetty-plugin

spinner.setToolTipText(toolTip);

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

gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
spinner.setLayoutData(gd);
spinner.setToolTipText(preference.getDescription());
spinner.setMinimum(domain.getMinimumValue().getIntValue());
spinner.setMaximum(domain.getMaximumValue().getIntValue());

代码示例来源:origin: inspectIT/inspectIT

searchDepthSpinner.setPageIncrement(100);
searchDepthSpinner.setEnabled(false);
searchDepthSpinner.setToolTipText("A value of -1 means that no limit for the search depth is used!");
searchDepthSpinner.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1));
searchDepthSpinner.addModifyListener(new ModifyListener() {

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

gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
spinner.setLayoutData(gd);
spinner.setToolTipText(preference.getDescription());
spinner.setMinimum(domain.getMinimumValue().getIntValue());
spinner.setMaximum(domain.getMaximumValue().getIntValue());

代码示例来源:origin: Nodeclipse/EditBox

spinner.setToolTipText("Can slow down box drawing");
spinner.setMinimum(0);
spinner.setMaximum(255);

代码示例来源:origin: inspectIT/inspectIT

depthSpinner.setPageIncrement(100);
depthSpinner.setEnabled(false);
depthSpinner.setToolTipText("A value of -1 means that no limit for the search depth is used!");
depthSpinner.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1));
depthSpinner.addSelectionListener(new SelectionAdapter() {

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

GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
fIndentationSize.setLayoutData(gd);
fIndentationSize.setToolTipText(XMLUIMessages.Indentation_size_tip);
fIndentationSize.setMinimum(MIN_INDENTATION_SIZE);
fIndentationSize.setMaximum(MAX_INDENTATION_SIZE);

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.examples

spinner.setToolTipText("Spinner ToolTip");
overrideSpinner.setToolTipText("Spinner ToolTip");
overrideSpinner.setData("name", "Spinner");
overrideSpinner.getAccessible().addAccessibleListener(overrideAccessibleAdapter);

相关文章