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

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

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

Label.getData介绍

暂无

代码示例

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

@Override
  public String getText(){
    return((String)control_val_pk.getData("key"));
  }
});

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

@Override
  public void mouseDown(MouseEvent arg0) {
    Utils.launch((String) ((Label) arg0.widget).getData());
  }
});

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

@Override
 public void mouseUp(MouseEvent arg0) {
   Utils.launch((String) ((Label) arg0.widget).getData());
 }
});

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

@Override
  public void task() {
    cache.set(0);
    
    for (Label s : stats) {
      if (s == null) continue;
      
      Status e = (Status) s.getData();
      String value = AudibleGUI.instance.getStatus(e);
      s.setText(value);
    }
  }
});

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

@Override
public void mouseDoubleClick(MouseEvent arg0) {
  Utils.launch((String) ((Label) arg0.widget).getData());
}
@Override

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

@Override
 public void mouseUp(MouseEvent arg0) {
   Utils.launch((String) ((Label) arg0.widget).getData());
 }
});

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

@Override
 public void mouseUp(MouseEvent arg0) {
   Utils.launch((String) ((Label) arg0.widget).getData());
 }
});

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

@Override
public void mouseDoubleClick(MouseEvent arg0) {
  Utils.launch((String) ((Label) arg0.widget).getData());
}
@Override

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

@Override
public void mouseDoubleClick(MouseEvent arg0) {
  Utils.launch((String) ((Label) arg0.widget).getData());
}

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

@Override
public void mouseDoubleClick(MouseEvent arg0) {
  Utils.launch((String) ((Label) arg0.widget).getData());
}
@Override

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

@Override
public void mouseDoubleClick(MouseEvent arg0) {
  Utils.launch((String) ((Label) arg0.widget).getData());
}
@Override

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

@Override
  public void mouseDown(MouseEvent arg0) {
    Utils.launch((String) ((Label) arg0.widget).getData());
  }
});

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

public static Object getValue(ActionContext actionContext){
    Label control = (Label) actionContext.get("control");
    return control.getData();
  }
}

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

@Override
 public void mouseUp(MouseEvent arg0) {
   Utils.launch((String) ((Label) arg0.widget).getData());
 }
});

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

@Override
  public void mouseDown(MouseEvent arg0) {
    Utils.launch((String) ((Label) arg0.widget).getData());
  }
});

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

@Override
public void mouseDoubleClick(MouseEvent arg0) {
  Utils.launch((String) ((Label) arg0.widget).getData());
}
@Override

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

@Override
 public void mouseUp(MouseEvent arg0) {
   Utils.launch((String) ((Label) arg0.widget).getData());
 }
});

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

@Override
public void mouseDoubleClick(MouseEvent arg0) {
  Utils.launch((String) ((Label) arg0.widget).getData());
}
@Override

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

protected void
 showURL(
  Label label )
 {
   if ( label.getData() == data ){
     Utils.launch( data[0] );
   }else{
     label.removeMouseListener( this );
   }
 }
});

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

protected void
  copyToClipboard()
  {
    new Clipboard(control_val_pk.getDisplay()).setContents(new Object[] {control_val_pk.getData( "key" )}, new Transfer[] {TextTransfer.getInstance()});
  }
});

相关文章