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

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

public class BufferedToolItem
extends BufferedWidget


Field Summary
protected  org.eclipse.swt.widgets.ToolItem item
           
 
Fields inherited from class org.gudy.azureus2.ui.swt.components.BufferedWidget
widget
 
Constructor Summary
BufferedToolItem(org.eclipse.swt.widgets.ToolBar tool_bar, int attributes)
           
 
Method Summary
 void addListener(int type, org.eclipse.swt.widgets.Listener l)
           
 java.lang.Object getData(java.lang.String key)
           
 void setData(java.lang.String key, java.lang.Object d)
           
 void setEnabled(boolean b)
           
 void setImage(org.eclipse.swt.graphics.Image i)
           
 void setSelection(boolean b)
           
 
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

item

protected org.eclipse.swt.widgets.ToolItem item
Constructor Detail

BufferedToolItem

public BufferedToolItem(org.eclipse.swt.widgets.ToolBar tool_bar,
                        int attributes)
Method Detail

setEnabled

public void setEnabled(boolean b)

setSelection

public void setSelection(boolean b)

setImage

public void setImage(org.eclipse.swt.graphics.Image i)

getData

public java.lang.Object getData(java.lang.String key)

setData

public void setData(java.lang.String key,
                    java.lang.Object d)

addListener

public void addListener(int type,
                        org.eclipse.swt.widgets.Listener l)