com.aelitis.azureus.ui.common
Interface ToolBarItem

All Superinterfaces:
UIToolBarItem
All Known Implementing Classes:
UIToolBarItemImpl

public interface ToolBarItem
extends UIToolBarItem


Nested Class Summary
static interface ToolBarItem.ToolBarItemListener
           
 
Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.toolbar.UIToolBarItem
STATE_DOWN, STATE_ENABLED
 
Method Summary
 void addToolBarItemListener(ToolBarItem.ToolBarItemListener l)
           
 UIToolBarActivationListener getDefaultActivationListener()
           
 String getTooltipID()
           
 void removeToolBarItemListener(ToolBarItem.ToolBarItemListener l)
           
 void setAlwaysAvailable(boolean b)
           
 void setDefaultActivationListener(UIToolBarActivationListener toolBarActivation)
           
 boolean triggerToolBarItem(long activationType, Object datasource)
           
 
Methods inherited from interface org.gudy.azureus2.plugins.ui.toolbar.UIToolBarItem
getGroupID, getID, getImageID, getState, getTextID, getToolTip, isAlwaysAvailable, setGroupID, setImageID, setState, setTextID, setToolTip
 

Method Detail

triggerToolBarItem

boolean triggerToolBarItem(long activationType,
                           Object datasource)
Specified by:
triggerToolBarItem in interface UIToolBarItem

setDefaultActivationListener

void setDefaultActivationListener(UIToolBarActivationListener toolBarActivation)
Specified by:
setDefaultActivationListener in interface UIToolBarItem

setAlwaysAvailable

void setAlwaysAvailable(boolean b)

getTooltipID

String getTooltipID()

getDefaultActivationListener

UIToolBarActivationListener getDefaultActivationListener()

addToolBarItemListener

void addToolBarItemListener(ToolBarItem.ToolBarItemListener l)

removeToolBarItemListener

void removeToolBarItemListener(ToolBarItem.ToolBarItemListener l)