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

x33g5p2x  于2022-01-23 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(141)

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

Label.addMouseTrackListener介绍

暂无

代码示例

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

public void addMouseTrackListener(MouseTrackListener l) {
  //super.addMouseTrackListener(l);
  label.addMouseTrackListener(l);
}

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

private void hookHoverListeners() {
  HoverListener listener = new HoverListener();
  addMouseTrackListener(listener);
  addMouseMoveListener(listener);
  titleLabel.addMouseTrackListener(listener);
  titleLabel.addMouseMoveListener(listener);
  addPaintListener(new PaintListener() {
    @Override
    public void paintControl(PaintEvent e) {
      onPaint(e);
    }
  });
}

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

private void hookHoverListeners() {
  HoverListener listener = new HoverListener();
  addMouseTrackListener(listener);
  addMouseMoveListener(listener);
  titleLabel.addMouseTrackListener(listener);
  titleLabel.addMouseMoveListener(listener);
  addPaintListener(e -> onPaint(e));
}

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

formData = createFormDataForIndex(i, decoration.getImage());
label = new Label(form, SWT.HORIZONTAL | SWT.VERTICAL | SWT.CENTER);
label.addMouseTrackListener(new MouseTrackListener() {
  @Override
  public void mouseHover(MouseEvent event) {

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

formData = createFormDataForIndex(i, decoration.getImage());
label = new Label(form, SWT.HORIZONTAL | SWT.VERTICAL | SWT.CENTER);
label.addMouseTrackListener(new MouseTrackListener() {
  @Override
  public void mouseHover(MouseEvent event) {

代码示例来源:origin: BiglySoftware/BiglyBT

rss_button.addMouseTrackListener(
  new MouseTrackAdapter(){

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

labelControl.addMouseTrackListener(labelComboListener);

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

labelControl.addMouseTrackListener(labelComboListener);

代码示例来源:origin: org.eclipse.mylyn.commons/workbench

labelButton.addMouseTrackListener(new MouseTrackListener() {
  public void mouseEnter(MouseEvent e) {
    if (labelButton.getImage() != activeImage) {

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

clearButton.addMouseTrackListener(new MouseTrackListener() {
  @Override
  public void mouseEnter(MouseEvent e) {

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

clearButton.addMouseTrackListener(new MouseTrackListener() {
  @Override
  public void mouseEnter(MouseEvent e) {

代码示例来源:origin: org.xworker/xworker_swt

tipListener.setUtilBrowser(context.get("utilBrowser"));
try {
  textLabel.addMouseTrackListener(tipListener);
}catch(Throwable t) {

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

clearButton.addMouseTrackListener(new MouseTrackListener() {
  @Override
  public void mouseEnter(MouseEvent e) {

相关文章