JDataGrid 数据库版本 2.4.0 发布说明


小提示:
下载的试用版本不包括 Javadoc API 文档和开发指南。


修正错误 显示红色
添加新功能 显示绿色

版本 2.4.0新! - 2008年03月05日

* JDataTable中使用CheckBox,当时用鼠标切换值时不应该自动移动到下一行。 修正错误
* 可以显示Java 5.0中的Enum类型,这个CellRenderer
  可以在JList, JTable, JComboBox, JTree等控件中使用。  添加新功能
* DateCellRender添加了对XMLGregorianCalendar类型的支持.  添加新功能
* 添加了新的AnchorLayout.  添加新功能
* 添加了新的AnchorLayout演示程序.  添加新功能

版本更新日志

版本 2.3.0 - 2008年01月20日

* CellStyle类添加了判断设置的属性为空的功能  添加新功能
* AttributeLabel添加了新的API:  添加新功能
  AttributeLabel.setStroke
  AttributeLabel.getStroke

版本 2.2.6 - 2007年10月16日

* 修正了JDataGrid中有超链接时激活超链接后不能选中单元格的问题。 修正错误
  感谢“Jackson, Kevin”报告这个问题
* 修正了行排序后拷贝和粘贴数据错误的问题。 修正错误
  感谢“Kevin Kalmbach”报告这个问题

版本 2.2.5 - 2007年10月08日

* 新设置JDataGrid类型的栏头时,应该将其添加到容器层次。 修正错误
  感谢“Savio Amodio”报告这个问题

版本 2.2.4 - 2007年10月01日

* 改正了JDataGrid冻结窗格时不能正确的选中冻结部分单元格问题。 修正错误
  感谢“Kevin Kalmbach”报告这个问题

版本 2.2.3 - 2007年09月24日

* JDataGrid添加了新的属性: 添加新功能
  "JDataGrid.generateHyperlinkEventForURLValue"
* JDataGrid添加了4个新的API设置栏标头和行标头的高度和宽度。 添加新功能
  JDataGrid.getColumnHeaderHeight();
  JDataGrid.setColumnHeaderHeight(int);
  JDataGrid.getRowHeaderWidth();
  JDataGrid.setRowHeaderWidth(int);
* JDataGrid冻结窗格时选中单元格不应该滚动其他冻结部分的窗体。 修正错误
  感谢“Kevin Kalmbach”报告这个问题

版本 2.2.2 - 2007年09月17日

* 修正了JDataGrid.isCellEditable方法不能直接调用TableModel.isCellEditable方法的错误。 修正错误
  感谢“Jerome Girardini”报告这个问题
* 修正了JDataGrid排序时拷贝和粘贴单元格的问题。 修正错误
  感谢“Kevin Kalmbach”提交这个错误报告

版本 2.2.1 - 2007年09月10日

* 修正了XBasicLookAndFeel重复装载资源文件和图标的问题。 修正错误
  感谢“Scott Reed”报告这个问题

版本 2.2.0 - 2007年09月03日

* 修正了单元格格式不正确时,滚动屏幕导致当前正在编辑的单元格移动的问题。 修正错误
  感谢“Jerome Girardini”报告这个问题
* 修正了正在编辑的单元格格式错误时不能重新提交成功的问题。 修正错误
  感谢“Jerome Girardini”报告这个问题

版本 2.1.9 - 2007年08月27日

* 修正了JDataGrid的isCellEditable方法没有转换行和列索引的错误。 修正错误
  感谢“Kevin Kalmbach”提交这个错误报告。
* IconPanel使用ImageIO读取缩略图。

版本 2.1.8 - 2007年08月20日

* 修正了将JDataGrid保存为csv,html,txt类型的文件时,换行符没有使用跨平台的换行符的问题。 修正错误
* JDataGrid添加了属性CellEditor.dispatchEventOnStopEditingDisabled,可以实现编辑完成后
  停留在当前单元格的功能。 添加新功能
  感谢“Kevin Kalmbach”请求这个新功能。

版本 2.1.7 - 2007年08月13日

* 修正了单元格设置为使用下拉菜单时值不正确的问题。 修正错误

版本 2.1.6 - 2007年08月06日

* 修正了删除栏时相对应的栏头样式没有删除的问题。 修正错误
* ObjectCellEditor添加了支持下拉框的功能,添加了下列新的API。 添加新功能
  ObjectCellEditor.setComponentType(int);
  ObjectCellEditor.getComponentType();
  CellStyle.setValueList(AttributeSet, List);
  CellStyle.getValueList(AttributeSet);

版本 2.1.5 - 2007年07月30日

* 调整了单下划线和双下划线绘制的问题。
  感谢“Jackson, Kevin”报告这个问题
* 修正了单元格中包含html链接时,在左右滚屏和工具提示遮挡的情况下
  单元格不能正确绘制的问题。 修正错误
  感谢“Jackson, Kevin”报告这个问题
* 添加了可以设置栏和行的样式和是否可以编辑的方法: 添加新功能
  AbstractDataGridModel.setRowAttributes(AttributeSet attributes, int row);
  AbstractDataGridModel.getRowAttributes(int row);
  AbstractDataGridModel.setRowEditable(boolean editable, int row);
  AbstractDataGridModel.isRowEditable(int row);
  AbstractDataGridModel.getRowEditable(int row);
  AbstractDataGridModel.getColumnAttributes(int column);
  AbstractDataGridModel.setColumnEditable(boolean editable, int column);
  AbstractDataGridModel.isColumnEditable(int column);
  AbstractDataGridModel.getColumnEditable(int column);
* 添加了可以设置栏头和行表头的样式的方法: 添加新功能
  AbstractDataGridModel.setRowHeaderAttributes(AttributeSet attributes, int row);
  AbstractDataGridModel.getRowHeaderAttributes(int row);
  AbstractDataGridModel.getColumnHeaderAttributes(int column);
  AbstractDataGridModel.setColumnHeaderEditable(boolean editable, int column);

版本 2.1.4 - 2007年07月23日

* JDataGrid控件不能正确的隐藏正在编辑的单元格。 修正错误
  感谢“Jerome Girardini”报告这个问题。
* DefaultDataGridModel中有3个方法不应该为公共的,已经改成私有的方法。

版本 2.1.3 - 2007年07月16日

* 在DefaultColumnSorter类中添加了新的方法getSortColumnList(),返回当前排序的栏。 添加新功能
  感谢“Jackson, Kevin”请求这个特性。

版本 2.1.2 - 2007年07月09日

* 修正了正式版中JavaDoc文档字符集错误的问题。 修正错误

版本 2.1.1 - 2007年07月02日

* 添加com.zfqjava.swing.cell.converter.NumberConverter. 添加新功能

版本 2.1.0 - 2007年06月25日

* 修正了JDataGrid读取html文件时忽略栏头<th>标签的的问题。 修正错误
  感谢“Malcolm Davis”报告这个问题
* 修正了JDataGrid控件中数字单元格解析的错误。 修正错误
  感谢“Brad Hawthorne”报告这个问题

版本 2.0.9 - 2007年06月18日

* 修正了读取Excel xml格式的文件,不能正确识别单元格宽和高。
* 修正了读取Excel xml格式的文件不能自动判断总行数和总栏数。
  感谢“Malcolm Davis”报告这个问题。
* 解析Excel xml文件使用localName,不再使用qName。
* 在JDataGrid冻结窗口的模式下,不能正确的自动滚屏。
  感谢“jerome girardini”报告这个问题。

版本 2.0.8 - 2007年06月11日

* 修正了行标头选择时重复的行选择的问题。
  感谢“Kevin Kalmbach”报告这个问题。
* 在CellManager类中添加了六个不同的方法,提供可以让开发人员添加自定义的Cell Renderer和Editor的功能。
  CellManager.addUserCellEditor(String className, String editorClassName);
  CellManager.removeUserCellEditor(String className); 
  CellManager.clearUserCellEditor();
  CellManager.addUserCellRenderer(String className, String rendererClassName);
  CellManager.removeUserCellRenderer(String className);
  CellManager.clearUserCellRenderer();
  感谢“Kevin Kalmbach”报告这个问题。
* 隐藏DefaultColumnSorterModel类中的调试信息。
  感谢"vhonore"报告这个问题。
* DataGrid的单元格边框在编辑模式下绘制不正确。
  感谢“jerome girardini”报告这个问题。
* JDataGrid控件在合并的单元格中内容不会截断的情况下不应该显示提示框。
  感谢“jerome girardini”报告这个问题。

版本 2.0.7 - 2007年06月04日

* JDataTableApplet中的方法createDataGrid()将返回一个JDataTable对象。

版本 2.0.6 - 2007年05月28日

* 修正了AComboBox.setRenderer JavaDoc 错误。
* 修正了在窗格冻结的状态下,正在编辑的单元格处在冻结的区域不应该显示的问题。

版本 2.0.5 - 2007年05月21日

* 添加JDataTable控件,加入下列的API:
  JDataTable.nextRow();
  JDataTable.previousRow();
  JDataTable.firstRow();
  JDataTable.lastRow();
* 修正了DefaultDataGridModel不能解析Date.toString生成的日期类型字符串的问题。

版本 2.0.4 - 2007年05月14日

* 提高了了打印,打印预览,页面设置的性能。
* 修正了关于对话框授权信息显示不完全的问题。
* 修正了XBasicLookAndFeel调用次数过多的问题。

版本 2.0.3 - 2007年05月07日

* 修正了调用DefaultDataGridModel.setCellAttributes()方法时NullPointerException的问题。

版本 2.0.2 - 2007年04月30日

* 新增功能:PrintFactory添加了KEEP_ASPECT_RADIO属性,在打印缩放时,保持宽高比。
* 修正了DefaultColumnSorter和DefaultDataGridModel在调用方法addRow时出错的问题.
* 修正XBasicLookAndFeel在Applet中资源装载的问题。
* 修正了JDataGrid打印时,垂直缩放一些水平网格线不能显示的问题。

版本 2.0.1 - 2007年04月23日

* 修正了DefaultColumnSorter和DefaultDataGridModel在调用方法addRow时出错的问题.

版本 2.0 - 2007年04月16日

* New classpackage:
com.zfqjava.swing.model.Pageable
* ResultSetTableModel and RowSetTableModel implements
the new "Pageable" interface.

版本 1.9

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

版本 1.8

* 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();

版本 1.7

* 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);

版本 1.6

* 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.

版本 1.5

* 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)

版本 1.4

* 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

版本 1.3

* 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.

版本 1.2

* 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.
* JDataTableBean navigation index cannot update correctly. (Bug Fixed)

版本 1.1

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

版本 1.0

初始版本.


Copyright (C) 2007 奇新公司 版权所有.