Methods Summary |
---|
public void | addMouseListener(org.eclipse.swt.events.MouseListener listener)
label.addMouseListener(listener);
|
public java.lang.String | getText()
return value==null?"":value;
|
public boolean | isDisposed()
return( label.isDisposed());
|
public void | setCursor(org.eclipse.swt.graphics.Cursor cursor)
label.setCursor(cursor);
|
public void | setForeground(org.eclipse.swt.graphics.Color color)
label.setForeground(color);
|
public void | setLayoutData(org.eclipse.swt.layout.GridData gd)
label.setLayoutData( gd );
|
public void | setLayoutData(org.eclipse.swt.layout.FormData gd)
label.setLayoutData( gd );
|
public void | setText(java.lang.String new_value)
if ( label.isDisposed()){
return;
}
if ( new_value == value ){
return;
}
if ( new_value != null &&
value != null &&
new_value.equals( value )){
return;
}
value = new_value;
// '&' chars that occur in the text are treated as accelerators and, for example,
// cause the nect character to be underlined on Windows. This is generally NOT
// the desired behaviour of a label in Azureus so by default we escape them
label.setText( value==null?"":value.replaceAll("&", "&&" ));
|
public void | setToolTipText(java.lang.String toolTipText)
label.setToolTipText(toolTipText);
|