RibbonCategoryLabel Class Reference

List of all members.

Public Member Functions

 RibbonCategoryLabel (String categoryName, RibbonToolbar toolbar)
void setCardLayoutInfo (CardLayout cardLayout, JPanel tools)
void setSelected (boolean selected)

Protected Member Functions

void paintComponent (Graphics g)
 Paints a nice gradient like in Office 12.

Detailed Description

A tab that can be clicked.

This software is distributed under the BSD License.

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

Definition at line 31 of file RibbonCategoryLabel.java.


Constructor & Destructor Documentation

RibbonCategoryLabel ( String  categoryName,
RibbonToolbar  toolbar 
)

Parameters:
categoryName 
toolbar 

Definition at line 49 of file RibbonCategoryLabel.java.


Member Function Documentation

void paintComponent ( Graphics  g  )  [protected]

Paints a nice gradient like in Office 12.

=)

Definition at line 77 of file RibbonCategoryLabel.java.

void setCardLayoutInfo ( CardLayout  cardLayout,
JPanel  tools 
)

Parameters:
cardLayout 
tools 

Definition at line 100 of file RibbonCategoryLabel.java.

Referenced by RibbonToolbar.addCategory().

void setSelected ( boolean  selected  ) 

Parameters:
selected 

Definition at line 109 of file RibbonCategoryLabel.java.

Referenced by RibbonToolbar.addCategory().


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