RibbonPanel Class Reference

Inheritance diagram for RibbonPanel:

RibbonConstants List of all members.

Public Member Functions

 RibbonPanel (String name)
Component add (Component comp)
 Re-directs the call to the toolPanel.
Override Component add (Component comp, int index)
 Re-directs the call to the toolPanel.
Override void add (Component comp, Object constraints)
 Re-directs the call to the toolPanel.
Override void add (Component comp, Object constraints, int index)
 Re-directs the call to the toolPanel.
JPanel getToolPanel ()
void layoutComponents (int rows, int cols)
 Lays out a panel using SpringLayout.
void layoutComponents ()
 Default Layout.

Detailed Description

This software is distributed under the BSD License.

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

Definition at line 28 of file RibbonPanel.java.


Constructor & Destructor Documentation

RibbonPanel ( String  name  ) 

Parameters:
name 

Definition at line 43 of file RibbonPanel.java.

References RibbonPanel.getToolPanel().


Member Function Documentation

Override void add ( Component  comp,
Object  constraints,
int  index 
)

Re-directs the call to the toolPanel.

See also:
java.awt.Container.add(java.awt.Component, java.lang.Object, int)

Definition at line 87 of file RibbonPanel.java.

References RibbonPanel.getToolPanel().

Override void add ( Component  comp,
Object  constraints 
)

Re-directs the call to the toolPanel.

See also:
java.awt.Container.add(java.awt.Component, java.lang.Object)

Definition at line 77 of file RibbonPanel.java.

References RibbonPanel.getToolPanel().

Override Component add ( Component  comp,
int  index 
)

Re-directs the call to the toolPanel.

See also:
java.awt.Container.add(java.awt.Component, int)

Definition at line 67 of file RibbonPanel.java.

References RibbonPanel.getToolPanel().

Component add ( Component  comp  ) 

Re-directs the call to the toolPanel.

See also:
java.awt.Container.add(java.awt.Component)

Definition at line 57 of file RibbonPanel.java.

References RibbonPanel.getToolPanel().

JPanel getToolPanel (  ) 

Returns:
Feb 16, 2006
Author:
Ron Yeh

Definition at line 97 of file RibbonPanel.java.

References RibbonConstants.PANEL_BEGIN_COLOR, and RibbonConstants.PANEL_END_COLOR.

Referenced by RibbonPanel.add(), RibbonPanel.layoutComponents(), and RibbonPanel.RibbonPanel().

void layoutComponents (  ) 

Default Layout.

One Row.

Definition at line 131 of file RibbonPanel.java.

References RibbonPanel.getToolPanel().

void layoutComponents ( int  rows,
int  cols 
)

Lays out a panel using SpringLayout.

Parameters:
rows 
cols 

Definition at line 124 of file RibbonPanel.java.

References RibbonPanel.getToolPanel().


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