Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ikayaki.gui.StyledCellEditor Class Reference

List of all members.

Public Member Functions

 StyledCellEditor (final JTextField textField)
 StyledCellEditor (final JCheckBox checkBox)
 StyledCellEditor (final JComboBox comboBox)
Override Component getTreeCellEditorComponent (JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
Override Component getTableCellEditorComponent (JTable table, Object value, boolean isSelected, int row, int column)

Detailed Description

CellEditor to compliment StyledTableCellRenderer. Applies the horizontalAlignment, foreground and font styles to the component returned by another cell editor. Unless otherwise specified, uses a DefaultCellEditor.

Author:
Esko Luontola

Definition at line 34 of file StyledCellEditor.java.


Constructor & Destructor Documentation

ikayaki.gui.StyledCellEditor.StyledCellEditor final JTextField  textField  ) 
 

Constructs a StyledCellEditor that uses a text field.

Parameters:
textField a JTextField object

Definition at line 41 of file StyledCellEditor.java.

ikayaki.gui.StyledCellEditor.StyledCellEditor final JCheckBox  checkBox  ) 
 

Constructs a StyledCellEditor object that uses a check box.

Parameters:
checkBox a JCheckBox object

Definition at line 50 of file StyledCellEditor.java.

ikayaki.gui.StyledCellEditor.StyledCellEditor final JComboBox  comboBox  ) 
 

Constructs a StyledCellEditor object that uses a combo box.

Parameters:
comboBox a JComboBox object

Definition at line 59 of file StyledCellEditor.java.


Member Function Documentation

Override Component ikayaki.gui.StyledCellEditor.getTableCellEditorComponent JTable  table,
Object  value,
boolean  isSelected,
int  row,
int  column
 

Implements the TableCellEditor interface.

Definition at line 99 of file StyledCellEditor.java.

References ikayaki.gui.StyledWrapper.font, ikayaki.gui.StyledWrapper.foreground, ikayaki.gui.StyledWrapper.horizontalAlignment, ikayaki.gui.null, ikayaki.gui.StyledWrapper.value, and ikayaki.gui.value.

Override Component ikayaki.gui.StyledCellEditor.getTreeCellEditorComponent JTree  tree,
Object  value,
boolean  isSelected,
boolean  expanded,
boolean  leaf,
int  row
 

Implements the TreeCellEditor interface.

Definition at line 66 of file StyledCellEditor.java.

References ikayaki.gui.StyledWrapper.font, ikayaki.gui.StyledWrapper.foreground, ikayaki.gui.StyledWrapper.horizontalAlignment, ikayaki.gui.null, ikayaki.gui.StyledWrapper.value, and ikayaki.gui.value.


The documentation for this class was generated from the following file:
Generated on Fri May 6 16:01:13 2005 for Squid by  doxygen 1.4.1