RibbonToolbar Class Reference

Inheritance diagram for RibbonToolbar:

RibbonConstants List of all members.

Public Member Functions

 RibbonToolbar ()
void addCategories (String...categoryNames)
void addCategory (String categoryName)
void addToolsToCategoryPanel (String panelName, List< RibbonPanel > panels)
void registerTool (RibbonPanel rp)
void setSelectedLabel (RibbonCategoryLabel labelToSelect)

Detailed Description

Intended to provide a context sensitive menu/toolbar like MS Office 2007. The software should be able to pick a tab based on what you are doing. The developer must call the right functions to show the right tabs (this class has no smarts).

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu) Feb 16, 2006

Definition at line 34 of file RibbonToolbar.java.


Member Function Documentation

void addCategories ( String...  categoryNames  ) 

Parameters:
categoryNames 

Definition at line 78 of file RibbonToolbar.java.

References RibbonToolbar.addCategory().

void addCategory ( String  categoryName  ) 

Parameters:
categoryName Feb 23, 2006
Author:
Ron Yeh

Definition at line 90 of file RibbonToolbar.java.

References RibbonCategoryLabel.setCardLayoutInfo(), and RibbonCategoryLabel.setSelected().

Referenced by RibbonToolbar.addCategories().

void addToolsToCategoryPanel ( String  panelName,
List< RibbonPanel panels 
)

Parameters:
panelName 
panels 

Definition at line 117 of file RibbonToolbar.java.

void registerTool ( RibbonPanel  rp  ) 

Parameters:
rp Feb 16, 2006
Author:
Ron Yeh

Definition at line 222 of file RibbonToolbar.java.

void setSelectedLabel ( RibbonCategoryLabel  labelToSelect  ) 

Parameters:
labelToSelect Mar 31, 2006
Author:
Ron Yeh

Definition at line 231 of file RibbonToolbar.java.


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:46 2007 for R3 Paper Toolkit by  doxygen 1.4.7