org.gudy.azureus2.ui.swt.components
Class BufferedTruncatedLabel

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.components.BufferedWidget
      extended by org.gudy.azureus2.ui.swt.components.BufferedTruncatedLabel

public class BufferedTruncatedLabel
extends BufferedWidget

Author:
parg

Field Summary
protected  org.eclipse.swt.widgets.Label label
           
protected  String value
           
protected  int width
           
 
Fields inherited from class org.gudy.azureus2.ui.swt.components.BufferedWidget
widget
 
Constructor Summary
BufferedTruncatedLabel(org.eclipse.swt.widgets.Composite composite, int attrs, int _width)
           
 
Method Summary
 void addMouseListener(org.eclipse.swt.events.MouseListener listener)
           
 String getText()
           
 boolean isDisposed()
           
 void setCursor(org.eclipse.swt.graphics.Cursor cursor)
           
 void setForeground(org.eclipse.swt.graphics.Color color)
           
 void setLayoutData(org.eclipse.swt.layout.GridData gd)
           
 void setText(String new_value)
           
 void setToolTipText(String toolTipText)
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.components.BufferedWidget
getWidget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

protected org.eclipse.swt.widgets.Label label

width

protected int width

value

protected String value
Constructor Detail

BufferedTruncatedLabel

public BufferedTruncatedLabel(org.eclipse.swt.widgets.Composite composite,
                              int attrs,
                              int _width)
Method Detail

isDisposed

public boolean isDisposed()

setLayoutData

public void setLayoutData(org.eclipse.swt.layout.GridData gd)

setText

public void setText(String new_value)

getText

public String getText()

addMouseListener

public void addMouseListener(org.eclipse.swt.events.MouseListener listener)

setForeground

public void setForeground(org.eclipse.swt.graphics.Color color)

setCursor

public void setCursor(org.eclipse.swt.graphics.Cursor cursor)

setToolTipText

public void setToolTipText(String toolTipText)