本文整理了Java中org.eclipse.swt.widgets.Label.getData()
方法的一些代码示例,展示了Label.getData()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.getData()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Label
类名称: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()});
}
});
内容来源于网络,如有侵权,请联系作者删除!