org.apache.cayenne.dataview
Class CellEditors

java.lang.Object
  extended by org.apache.cayenne.dataview.CellEditors

public class CellEditors
extends Object


Nested Class Summary
 class CellEditors.ButtonEditor
           
 class CellEditors.CheckBoxEditor
           
 class CellEditors.ComboBoxEditor
           
 class CellEditors.FormattedFieldEditor
           
 class CellEditors.SpinnerEditor
           
 class CellEditors.TextFieldEditor
           
 
Field Summary
protected  Border editStateBorder
           
protected  Border invalidStateBorder
           
 
Constructor Summary
CellEditors()
           
 
Method Summary
 CellEditors.ButtonEditor createButtonEditor(JButton button)
           
 CellEditors.CheckBoxEditor createCheckBoxEditor()
           
 CellEditors.ComboBoxEditor createComboBoxEditor(ComboBoxModel model, ListCellRenderer renderer)
           
 CellEditors.FormattedFieldEditor createFormattedFieldEditor(Format formatter, int alignment)
           
 CellEditors.FormattedFieldEditor createFormattedFieldEditor(JFormattedTextField.AbstractFormatter formatter, int alignment)
           
 CellEditors.FormattedFieldEditor createFormattedFieldEditor(String mask, int alignment)
           
 CellEditors.SpinnerEditor createSpinnerEditor(SpinnerModel model, Format format)
           
 TableCellEditor createTableCellEditor(ObjEntityViewField field)
           
 CellEditors.TextFieldEditor createTextFieldEditor(int alignment)
           
 void installEditors(JTable table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editStateBorder

protected Border editStateBorder

invalidStateBorder

protected Border invalidStateBorder
Constructor Detail

CellEditors

public CellEditors()
Method Detail

createFormattedFieldEditor

public CellEditors.FormattedFieldEditor createFormattedFieldEditor(JFormattedTextField.AbstractFormatter formatter,
                                                                   int alignment)

createFormattedFieldEditor

public CellEditors.FormattedFieldEditor createFormattedFieldEditor(Format formatter,
                                                                   int alignment)

createFormattedFieldEditor

public CellEditors.FormattedFieldEditor createFormattedFieldEditor(String mask,
                                                                   int alignment)
                                                            throws ParseException
Throws:
ParseException

createTextFieldEditor

public CellEditors.TextFieldEditor createTextFieldEditor(int alignment)

createCheckBoxEditor

public CellEditors.CheckBoxEditor createCheckBoxEditor()

createComboBoxEditor

public CellEditors.ComboBoxEditor createComboBoxEditor(ComboBoxModel model,
                                                       ListCellRenderer renderer)

createButtonEditor

public CellEditors.ButtonEditor createButtonEditor(JButton button)

createSpinnerEditor

public CellEditors.SpinnerEditor createSpinnerEditor(SpinnerModel model,
                                                     Format format)

createTableCellEditor

public TableCellEditor createTableCellEditor(ObjEntityViewField field)

installEditors

public void installEditors(JTable table)


Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.