edu.princeton.wordnet.browser.component.RendererCell Class Reference

Inherits javax::swing::JPanel.

Collaboration diagram for edu.princeton.wordnet.browser.component.RendererCell:
Collaboration graph
[legend]

List of all members.

Classes

class  CenteredBoxView
class  CenteringEditorKit

Public Member Functions

 RendererCell ()
JLabel makeLabel ()
JTextPane makeText ()
int setText (final String thisName, final String thisValue, final SimpleAttributeSet thisNameStyle, final SimpleAttributeSet thisValueStyle)
void setText (final String thisName, final String thisValue, final SimpleAttributeSet thisNameStyle, final SimpleAttributeSet thisValueStyle, final List< Pattern > thesePatterns, final Map< Pattern, SimpleAttributeSet > thisPatternToStyleMap)
void setIcon (final Icon thisIcon)
Dimension calcPreferredSize (final Style thisStyle)

Protected Attributes

JLabel theIconComponent
JTextPane theTextComponent

Detailed Description

Renderer Cell

Author:
Bernard Bou

Constructor & Destructor Documentation

edu.princeton.wordnet.browser.component.RendererCell.RendererCell (  ) 

Constructor


Member Function Documentation

Dimension edu.princeton.wordnet.browser.component.RendererCell.calcPreferredSize ( final Style  thisStyle  ) 

Calculate preferred size as per style

Parameters:
thisStyle style
Returns:
calculated preferred size
JLabel edu.princeton.wordnet.browser.component.RendererCell.makeLabel (  ) 

Make default label

Returns:
label
JTextPane edu.princeton.wordnet.browser.component.RendererCell.makeText (  ) 

Make text pane

Returns:
text pane
void edu.princeton.wordnet.browser.component.RendererCell.setIcon ( final Icon  thisIcon  ) 

Set icon

Parameters:
thisIcon icon
void edu.princeton.wordnet.browser.component.RendererCell.setText ( final String  thisName,
final String  thisValue,
final SimpleAttributeSet  thisNameStyle,
final SimpleAttributeSet  thisValueStyle,
final List< Pattern >  thesePatterns,
final Map< Pattern, SimpleAttributeSet >  thisPatternToStyleMap 
)

Set text

Parameters:
thisName name
thisValue value
thisNameStyle name style
thisValueStyle value style
thesePatterns patterns
thisPatternToStyleMap pattern-to-style map
int edu.princeton.wordnet.browser.component.RendererCell.setText ( final String  thisName,
final String  thisValue,
final SimpleAttributeSet  thisNameStyle,
final SimpleAttributeSet  thisValueStyle 
)

Set text

Parameters:
thisName name
thisValue value
thisNameStyle name style
thisValueStyle value style
Returns:
name length

Member Data Documentation

Icon subcomponent

Text sub component


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations
Generated on Tue May 25 16:43:51 2010 for WordNetScope by  doxygen 1.6.3