com.aelitis.azureus.ui.swt.views.skin
Class ToolBarView
java.lang.Object
  
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
      
com.aelitis.azureus.ui.swt.views.skin.SkinView
          
com.aelitis.azureus.ui.swt.views.skin.ToolBarView
- All Implemented Interfaces: 
 - SelectedContentListener, SWTSkinObjectListener, UIToolBarManager, UIToolBarManagerCore
 
public class ToolBarView
- extends SkinView
- implements UIToolBarManagerCore, SelectedContentListener
  
- Author:
 
  - TuxPaper
 
 
 
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ToolBarView
public ToolBarView()
skinObjectInitialShow
public Object skinObjectInitialShow(SWTSkinObject skinObject,
                                    Object params)
- Specified by:
 skinObjectInitialShow in class SkinView
 
- Returns:
 
 
currentlySelectedContentChanged
public void currentlySelectedContentChanged(ISelectedContent[] currentContent,
                                            String viewID)
- Specified by:
 currentlySelectedContentChanged in interface SelectedContentListener
 
 
skinObjectShown
public Object skinObjectShown(SWTSkinObject skinObject,
                              Object params)
- Description copied from class: 
SWTSkinObjectAdapter 
- Skin Object was shown
- Overrides:
 skinObjectShown in class SkinView
 
 
 
skinObjectHidden
public Object skinObjectHidden(SWTSkinObject skinObject,
                               Object params)
- Description copied from class: 
SWTSkinObjectAdapter 
- Skin Object was hidden
- Overrides:
 skinObjectHidden in class SkinView
 
 
 
triggerToolBarItem
public boolean triggerToolBarItem(ToolBarItem item,
                                  long activationType,
                                  Object datasource)
 
 
moveBottom
protected boolean moveBottom()
 
 
moveTop
protected boolean moveTop()
 
 
getToolBarItem
public UIToolBarItem getToolBarItem(String itemID)
- Specified by:
 getToolBarItem in interface UIToolBarManager
 
 
getToolBarItemSO
public ToolBarItemSO getToolBarItemSO(String itemID)
 
 
getAllToolBarItems
public UIToolBarItem[] getAllToolBarItems()
- Specified by:
 getAllToolBarItems in interface UIToolBarManager
 
 
getAllSWTToolBarItems
public ToolBarItem[] getAllSWTToolBarItems()
 
 
refreshCoreToolBarItems
public void refreshCoreToolBarItems()
 
 
_refreshCoreToolBarItems
public void _refreshCoreToolBarItems()
 
 
createToolBarItem
public UIToolBarItem createToolBarItem(String id)
- Description copied from interface: 
UIToolBarManager 
- Create a new 
UIToolBarItem.  You will still need to add it
 via UIToolBarManager.addToolBarItem(UIToolBarItem), after setting the item's
 properties
- Specified by:
 createToolBarItem in interface UIToolBarManager
 
- Parameters:
 id - unique id
- Returns:
 - newly created toolbar
 
 
 
addToolBarItem
public void addToolBarItem(UIToolBarItem item)
- Description copied from interface: 
UIToolBarManager 
- Adds a 
UIToolBarItem to the UI.  Make sure you at least set the
 icon before adding
- Specified by:
 addToolBarItem in interface UIToolBarManager
 
 
 
addToolBarItemNoCreate
public void addToolBarItemNoCreate(ToolBarItemSO item)
 
 
addToolBarItem
public void addToolBarItem(ToolBarItemSO item,
                           String templatePrefix,
                           SWTSkinObject soMain)
 
 
setShowText
public void setShowText(boolean showText)
 
- Parameters:
 showText - the showText to set
 
getShowText
public boolean getShowText()
 
- Returns:
 - the showText
 
 
addListener
public void addListener(ToolBarView.ToolBarViewListener l)
 
 
removeListener
public void removeListener(ToolBarView.ToolBarViewListener l)
 
 
removeToolBarItem
public void removeToolBarItem(String id)
- Specified by:
 removeToolBarItem in interface UIToolBarManager