jdbreport.grid
Class ReportCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
jdbreport.grid.ReportCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor
- Direct Known Subclasses:
- JReportGrid.HTMLEditor, JReportGrid.StyledEditor
public class ReportCellEditor
- extends AbstractCellEditor
- implements TableCellEditor
- Version:
- 1.1 03/09/08
- Author:
- Andrey Kholmanskih
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
editorComponent
protected JTextPane editorComponent
ReportCellEditor
public ReportCellEditor(String contentType)
getComponent
public Component getComponent()
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
setWordWrap
public void setWordWrap(boolean wrap)
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable
in interface CellEditor
- Overrides:
isCellEditable
in class AbstractCellEditor
insertLineBreak
protected void insertLineBreak()
initKeyMap
protected void initKeyMap()