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

Inherits javax::swing::JDialog.

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

List of all members.

Public Member Functions

 StyleDialog ()
JComboBox makeCombo (final Object[] theseOptions)
JLabel makeLabel ()
JTextPane makeText ()
JPanel makePreview (final Component thisIconComponent, final Component thisTextComponent)
void addActionListener (final ActionListener thisListener)
void fire (final ActionEvent thisEvent)
void setVisible (final boolean thisFlag)

Static Public Member Functions

static void askSettings (final ActionListener thisListener)
static void main (final String[] theseArgs) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException

Protected Member Functions

void initialize (final MappedStyle[] theseOptions)

Protected Attributes

JPanel theDataPanel
JLabel theHeaderLabel
RendererCell thePreview
ColorPad theValueForeColorPad
ColorPad theValueBackColorPad
JButton theValueFontButton
JButton theIconButton

Static Package Attributes

static MappedStyle[] theStyles = MappedStyle.values()

Detailed Description

Export dialog

Author:
Bernard Bou

Constructor & Destructor Documentation

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

Constructor


Member Function Documentation

void edu.princeton.wordnet.browser.component.StyleDialog.addActionListener ( final ActionListener  thisListener  ) 

Add action listener

Parameters:
thisListener action listener
static void edu.princeton.wordnet.browser.component.StyleDialog.askSettings ( final ActionListener  thisListener  )  [static]

Ask settings

Parameters:
thisListener apply action listener
void edu.princeton.wordnet.browser.component.StyleDialog.fire ( final ActionEvent  thisEvent  ) 

Fire action

Parameters:
thisEvent action event
void edu.princeton.wordnet.browser.component.StyleDialog.initialize ( final MappedStyle[]  theseOptions  )  [protected]

Initialize

static void edu.princeton.wordnet.browser.component.StyleDialog.main ( final String[]  theseArgs  )  throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException [static]

Standalone main

Parameters:
theseArgs unused
Exceptions:
MalformedURLException 
UnsupportedLookAndFeelException 
IllegalAccessException 
InstantiationException 
ClassNotFoundException 
JComboBox edu.princeton.wordnet.browser.component.StyleDialog.makeCombo ( final Object[]  theseOptions  ) 

Make default label

Returns:
label
JLabel edu.princeton.wordnet.browser.component.StyleDialog.makeLabel (  ) 

Make default label

Returns:
label
JPanel edu.princeton.wordnet.browser.component.StyleDialog.makePreview ( final Component  thisIconComponent,
final Component  thisTextComponent 
)

Make panel with icon and text

Parameters:
thisIconComponent icon component
thisTextComponent text component
Returns:
panel
JTextPane edu.princeton.wordnet.browser.component.StyleDialog.makeText (  ) 

Make text pane

Returns:
text pane

Member Data Documentation

Data panel

Header label

Icon component

Preview panel

MappedStyle [] edu.princeton.wordnet.browser.component.StyleDialog.theStyles = MappedStyle.values() [static, package]

Styles within edit range

Name background color pad

Value font component

Value foreground color pad


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