Extreme Component Documentation

Overview

JDataGrid Database Edition provides a Java data grid component for database, support ResultSet and RowSet, column sorting, print and print preview and export file for multiple format and more.

JDataGrid Database Edition 1.9 (2006/09/26)

  • Fix several bugs of RowSetTableModel
  • Adds Derby database to demonstrate the RowSetTableModel.

JDataGrid Database Edition 1.8 (2006/07/23)

  • Adds new JDataGrid Demo: SelectionModeDemo
  • New class in com.zfqjava.swing package: CellSelectionModel AbstractCellSelectionModel DefaultCellSelectionModel
  • Make the following method in JDataGrid work correctly: JDataGrid#setCellSelectionEnabled(boolean); JDataGrid#setColumnSelectionAllowed(boolean); JDataGrid#setRowSelectionAllowed(boolean); JDataGrid#setSelectionMode(int); JDataGrid#getSelectedRows(); JDataGrid#getSelectedColumns(); JDataGrid#getSelectedRowCount(); JDataGrid#getSelectedColumnCount();
  • New class in com.zfqjava.swing.event package: CellSelectionEvent CellSelectionListener
  • New class in com.zfqjava.swing package: SizeModel AbstractSizeModel DefaultSizeModel
  • New class in com.zfqjava.swing.event package: SizeModelEvent SizeModelListener
  • New API in JDataGrid: JDataGrid#setRowSizeModel(SizeModel); JDataGrid#getRowSizeModel(); JDataGrid#createRowSizeModel(); JDataGrid#setColumnSizeModel(SizeModel); JDataGrid#getColumnSizeModel(); JDataGrid#createColumnSizeModel();
  • New API in WorkSheet: WorkSheet#setRowSizeModel(SizeModel); WorkSheet#getRowSizeModel(); WorkSheet#setColumnSizeModel(SizeModel); WorkSheet#getColumnSizeModel();

JDataGrid Database Edition 1.7 (2006/03/23)

  • New class in com.zfqjava.swing.model package: DataGridModelAdapter ResultSetDataGridModelAdapter
  • New API in JCommonPane: JCommonPane#showFeedbackDialog(parent, map);
  • New API in ResultSetTableModel: ResultSetTableModel#acceptChanges(); ResultSetTableModel#moveToInsertRow();
  • New API in RowSetTableModel: RowSetTableModel#acceptChanges(); RowSetTableModel#moveToInsertRow();
  • New client property in JDataGrid JDataGrid.fillCellValueOnly JDataGrid.activateLinkOnModifierDown
  • New class in com.zfqjava.swing.model package: DataGridModelAdapter
  • New API in JDataGrid JDataGrid#setAlternatingRowBackground(Color); JDataGrid#getAlternatingRowBackground(); JDataGrid#setAlternatingRowForeground(Color); JDataGrid#getAlternatingRowForeground(); JDataGrid#setColumnHeaderView(Component); JDataGrid#getColumnHeaderView(); JDataGrid#setRowHeaderView(Component); JDataGrid#getRowHeaderView(); JDataGrid#setCellAttributes(AttributeSet); JDataGrid#addHyperlinkListener(HyperlinkListener); JDataGrid#removeHyperlinkListener(HyperlinkListener); JDataGrid#getHyperlinkListeners(); JDataGrid#fireHyperlinkUpdate(HyperlinkEvent);
  • New API in CellStyle: CellStyle#setVerticalAlignment(MutableAttributeSet, int); CellStyle#getVerticalAlignment(AttributeSet); CellStyle#setHyperlink(MutableAttributeSet, Hyperlink); CellStyle#getHyperlink(AttributeSet); CellStyle#setComment(MutableAttributeSet, Comment); CellStyle#getComment(AttributeSet);
  • New class in CellStyle: CellStyle#Hyperlink CellStyle#Comment
  • New API in AbstractDataGridModel and DefaultDataGridModel AbstractDataGridModel#setAutoCalculateFormula(boolean); AbstractDataGridModel#getAutoCalculateFormula(); AbstractDataGridModel#calculateFormula(); DefaultDataGridModel#setAutoCalculateFormula(boolean); DefaultDataGridModel#getAutoCalculateFormula(); DefaultDataGridModel#calculateFormula();
  • New API in DefaultDataGridModel DefaultDataGridModel#sort(Cell, boolean[], int[], boolean, boolean); DefaultDataGridModel#sort(Cell, boolean, int, boolean, boolean);

JDataGrid Database Edition 1.6 (2005/08/21)

  • The row index cannot work correctly in JDataTableBean. (Bug Fixed)
  • New API in ActionManager: ActionManager#setSelected(String, boolean); ActionManager#isSelected(String);
  • New class in swing package: com.zfqjava.swing.EmptyIcon com.zfqjava.swing.cell.CellStyle
  • New API in DefaultFileFilter: DefaultFileFilter#getPreferredExtensionName(); DefaultFileFilter#getExtensionNames();
  • New API in AbstractCellEditor: AbstractCellEditor#setClickCountToStart(int); AbstractCellEditor#getClickCountToStart();
  • The go to cell action cannot work correctly. (Bug Fixed)
  • New API in JLineBar: JLineBar#lineAtPoint(Point);
  • New API in JDataGrid: JDataGrid#setSelectionBorderPainted(boolean); JDataGrid#isSelectionBorderPainted();
  • Change enum to enumr for some fields.

JDataGrid Database Edition 1.5 (2005/07/07)

  • New API in JLineBar: JLineBar#lineAtPoint(Point);
  • New API in JDataGrid: JDataGrid#setSelectionBorderPainted(boolean); JDataGrid#isSelectionBorderPainted();
  • New client property in JDataGrid: JDataGrid.clearCellOnStartsEdit
  • New API in AbstractChart: AbstractChart#setRenderingHints(Map); AbstractChart#getRenderingHints(); AbstractChart#createRenderingHints();
  • New API in Cell: Cell#getColumnName(int);
  • When import html file the value around cell span cannot import.(Bug Fixed)
  • New CellEdit Class in com.zfqjava.swing.cell package.
  • New API in FormulaFactory FormulaFactory#setStringEscapeChar(char); FormulaFactory#getStringEscapeChar();
  • New API in AbstractDataGridModel AbstractDataGridModel#setAutoSetsCellClass(boolean); AbstractDataGridModel#getAutoSetsCellClass(); AbstractDataGridModel#setAutoSetsCellValue(boolean); AbstractDataGridModel#getAutoSetsCellValue(); AbstractDataGridModel#setStringEscapeChar(char); AbstractDataGridModel#getStringEscapeChar();
  • New API in Chart: Chart#getEditorComponent();
  • New API in JDataGrid: JDataGrid#getCellManager(); JDataGrid#getSelectionList(); JDataGrid#isFullRowSelected(int); JDataGrid#isFullColumnSelected(int); JDataGrid#selectRow(int, boolean); JDataGrid#selectColumn(int, boolean); JDataGrid#selectCell(int, int, boolean); JDataGrid#selectCell(Cell, boolean); JDataGrid#selectCell(int, int, int, int, boolean);
  • New API in ObjectCellRenderer ObjectCellRenderer#setDefaultHorizontalAlignment(int); ObjectCellRenderer#getDefaultHorizontalAlignment(); ObjectCellRenderer#setDefaultVerticalAlignment(int); ObjectCellRenderer#getDefaultVerticalAlignment();
  • New API in ObjectCellEditor: ObjectCellEditor#setDefaultHorizontalAlignment(int); ObjectCellEditor#getDefaultHorizontalAlignment(); ObjectCellEditor#createTextField();
  • New API in StringCellRenderer StringCellRenderer#setMultiLine(boolean); StringCellRenderer#isMultiLine();
  • New API in StringCellEditor StringCellEditor#setMultiLine(boolean); StringCellEditor#isMultiLine(); StringCellEditor#setEscapeChar(char); StringCellEditor#getEscapeChar();
  • Change the default alignment to TRAILING for Number cell renderer and editor. (New Features)

JDataGrid Database Edition 1.4 (2005/06/22)

  • Adds client property in JDataGrid: JDataGrid.switchUnsortedOrderEnabled
  • Adds the client properties in JDataGrid JavaDoc.
  • Close the ResultSet before close the connection in ResultSetTableModel.
  • Always check first row before getting data from ResultSet. (Bug Fixed)
  • New API in JBean: JBean#setDefaultCloseOperation(int) JBean#getDefaultCloseOperation() JBean#doBeforeClose()
  • New API in JDataGridBean: JDataTableBean#getDataGrid() JDataTableBean#getToolBar(String) JDataTableBean#getMenuBar(String) JDataTableBean#createModel() JDataTableBean#setDataGrid(JDataGrid) JDataTableBean#createDataGrid() JDataTableBean#getPrintPreview() JDataTableBean#createPrintable(JDataGrid)
  • New API in AbstractDataGridModel AbstractDataGridModel#setCellAttributes(AttributeSet, Cell)
  • New API in JPrintPreview: JPrintPreview#setColorType(int) JPrintPreview#getColorType() JPrintPreview#createBufferedImage(int, int, int)
  • Cannot print cell area correctly in PrintFactory. (Bug Fixed)
  • New print properties in PrintFactory PrintFactory.HEADER_ICON PrintFactory.FOOTER_ICON PrintFactory.HEADER_TEXT_ALIGNMENT PrintFactory.FOOTER_TEXT_ALIGNMENT PrintFactory.HEADER_ICON_ALIGNMENT PrintFactory.FOOTER_ICON_ALIGNMENT

JDataGrid Database Edition 1.3 (2005/05/16)

  • Adds JInternalFrame support in JBean, Adds new API: JBean#showInternalFrame(Component); JBean#createInternalFrame(); JBean#getInternalFrame();
  • Fix lasRow and firstRow in JDataTableBean.
  • Adds "close" method in ResultSetTableModel to close the connection. (New Feature)
  • The ResultSetTableModel cannot init correctly with ResultSet. (Bug Fixed)
  • Sets JLineBar property "background", "foreground", "border" to child component.

JDataGrid Database Edition 1.2 (2005/04/05)

  • Add Java-Bean property in mainfest file.
  • Improves insert, update, delete operation.
  • Improves the column sorter.
  • Adds scrollable and updatable support for forward-only and read-only resultset.

JDataGrid Database Edition 1.1 (2005/01/25)

  • Adds Column Sorting support. (New Features)
  • Adds Find and Replace. (New Features)
  • Adds Spell Check. (New Features)
  • Removes the property change support from RowSetTableModel. (New Features)

JDataGrid Database Edition 1.0 (2004/11/16)

  • ResultSet support.
  • RowSet support.
  • Navigate page and row.
  • Print and Print Preview.
  • Export multiple file format.