JDataGrid 电子表格版本 2.4.0 发布说明


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

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

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

* 添加了演示程序:CheckBoxDemo. 添加新功能
* 使用锁定栏模式的情况下,锁定的栏选择和表格其它区域的选择不一致. 修正错误
* JDataGrid中使用CheckBox,当时用鼠标切换值时不应该自动移动到下一行。 修正错误
* 解析Excel xml文件时,&前边的值不能导入到JDataGrid控件中。 修正错误
* 解析Excel xml文件时,指定的日期类型不能识别. 修正错误
* 冻结窗格的情况下,选中的单元个不能正确的自动滚动. 修正错误
* 添加了EnumCellRenderer,可以显示Java 5.0中的Enum类型,这个CellRenderer
  可以在JList, JTable, JComboBox, JTree等控件中使用。 添加新功能
* DateCellRender添加了对XMLGregorianCalendar类型的支持. 添加新功能
* 添加了新的AnchorLayout. 添加新功能
* 添加了新的AnchorLayout演示程序. 添加新功能

版本更新日志

版本 2.3.0 - 2008年01月20日

* 添加了CheckBoxDemo演示程序,演示了在电子表格中如何使用CheckBox. 添加新功能
* LargeDataGridModel修正了删除行和列时出现的内存漏洞. 修正错误
* 单元格属性对话框完善功能。 添加新功能
* CellStyle类添加了判断设置的属性为空的功能 添加新功能
* AttributeLabel添加了新的API: 添加新功能
  AttributeLabel.setStroke
  AttributeLabel.getStroke

版本 2.2.6 - 2007年10月16日

* 添加了读取电子表格文件的新的类: 添加新功能
  com.zfqjava.swing.ReadTableModelTask
  com.zfqjava.swing.JTableReadTableModelTask
* 修正了JDataGrid中有超链接时激活超链接后不能选中单元格的问题。 修正错误
  感谢“Jackson, Kevin”报告这个问题
* 修正了行排序后拷贝和粘贴数据错误的问题。 修正错误
  感谢“Kevin Kalmbach”报告这个问题

版本 2.2.5 - 2007年10月08日

* 改正了读取Excel XML文件时,当单元格为公式时不能自动计算的问题。 修正错误
  感谢“Ken Moyer”报告这个问题
* 新设置JDataGrid类型的栏头时,应该将其添加到容器层次。 修正错误
  感谢“Savio Amodio”报告这个问题

版本 2.2.4 - 2007年10月01日

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

版本 2.2.3 - 2007年09月24日

* JDataGridBean添加了新的API: 添加新功能
  JDataGridBean.getScrollPane();
  JDataGridBean.setScrollPane(JScrollPane);
  感谢“Savio Amodio”的建议
* JDataGridBean添加了新的API: 添加新功能
  JDataGridBean.setAutoAdjustRowColumCount(boolean);
  JDataGridBean.isAutoAdjustRowColumCount();
* 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”提交这个错误报告。
* 修正了JDataGridBean的德语翻译的问题。 修正错误
  感谢“Eugen Helbling”的帮助。
* 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);
* 添加了新的演示程序ComboBoxCellDemo。 添加新功能

版本 2.1.5 - 2007年07月30日

* LockDemo改变了栏头的选择模式,点击栏头可以选择相应的栏。添加新功能
  感谢“Cris Malinconico”报告这个问题。
* JDataGridApplet和JDataGridBeanApplet分别添加了licenseUrl参数,可以指定
  存储授权码的文件。添加新功能
  感谢“Jim Leinbaugh”报告这个问题。
* 调整了单下划线和双下划线绘制的问题。
  感谢“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);
* 添加了演示程序RowColumnStyleDemo,演示设置行和列样式,可编辑属性,
  行头和栏头样式的新功能。

版本 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”报告这个问题
* 修正了JDataGrid不能正确的导入含有错误公式的Excel文件。 修正错误
  这个错误的修正包括了下列代码的改变:添加新功能
  新增的API:
  FormulaFactory.createFormula(String s, FormulaContext context, boolean allowErrorFormula);
  FormulaParser.parse(String s, boolean allowErrorFormula);
  相关的读取Excel文件的类已经改变使用新的API.
  感谢“Lucian CIOROGA”报告这个问题
* 修正了JDataGrid控件中数字单元格解析的错误。 修正错误
  感谢“Brad Hawthorne”报告这个问题
* 修正了公式栏中编辑单元格无效的错误。 修正错误
  感谢“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"报告这个问题。
* JDataGrid的单元格边框在编辑模式下绘制不正确。
  感谢“jerome girardini”报告这个问题。
* JDataGrid控件在合并的单元格中内容不会截断的情况下不应该显示提示框。
  感谢“jerome girardini”报告这个问题。

版本 2.0.7 - 2007年06月04日

* 修正了公式中函数不能接受两个以上参数的问题。

版本 2.0.6 - 2007年05月28日

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

版本 2.0.5 - 2007年05月21日

* 修正了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属性,在打印缩放时,保持宽高比。
* 修正了BarChart显示负值的问题。
* 修正JDataGrid编辑数字时只能显示3为小数的问题。
* 修正XBasicLookAndFeel在Applet中资源装载的问题。
* 修正了选择函数对话框不能插入选择函数的问题。
* 修正了插入超链接时单元格值改变不正确的问题。
* 修正了插入的文件超链接不能打开的问题。
* 新增功能:焦点丢失时自动停止单元格,批注,文本框编辑。
* 修正了不能添加批注的问题。
* 修正了JDataGrid打印时,垂直缩放一些水平网格线不能显示的问题。

版本 2.0.1 - 2007年04月23日

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

版本 2.0 - 2007年04月16日

* 新增功能
  冻结窗格:
  JDataGrid.setFreezeCell(int, int);
  JDataGrid.setFreezeRow(int);
  JDataGrid.getFreezeRow();
  JDataGrid.setFreezeColumn(int);
  JDataGrid.getFreezeColumn();
  JDataGrid.getFreezeLineColor();
  JDataGrid.setFreezeLineColor(Color);
  WorkSheet.setFreezeCell(int, int);
  WorkSheet.setFreezeRow(int);
  WorkSheet.getFreezeRow();
  WorkSheet.setFreezeColumn(int);
  WorkSheet.getFreezeColumn();
  JLineBar.getFreezeLine();
  JLineBar.setFreezeLine(int);
  支持多个工作表:
  JDataGridBean.createWorkBook();
  JDataGridBean.createWorkSheet();
  JDataGridBean.setWorkBook(WorkBook);
  JDataGridBean.getWorkBook();
  WorkSheet.getSheetProperties();
  WorkSheet.setSheetProperties(Map);
  WorkSheet.getWorkBook();
  WorkSheet.setWorkBook(WorkBook);
  单元格文本多种对齐方式、改变文本方向,双下划线及斜线:
  CellStyle.setFormat(MutableAttributeSet, Format);
  CellStyle.getFormat(AttributeSet);
  CellStyle.getUnderlineStyle(AttributeSet);
  CellStyle.setUnderlineStyle(MutableAttributeSet, UnderlineStyle);
  CellStyle.setUpBorder(MutableAttributeSet, Border);
  CellStyle.getUpBorder(AttributeSet);
  CellStyle.setDownBorder(MutableAttributeSet, Border);
  CellStyle.getDownBorder(AttributeSet);
  CellStyle.setTextRotate(MutableAttributeSet, int);
  CellStyle.getTextRotate(AttributeSet);
  其它更多功能:
  JDataGrid.createDataGridModel();
  JDataGrid.getCellAttributes();
  JDataGrid.getZoomFactor();
  JDataGrid.setZoomFactor(double);
  JDataGrid.doHyperlinkUpdate(HyperlinkEvent);
  FormulaFactory.setDefaultStringEscapeChar(char);
  FormulaFactory.getDefaultStringEscapeChar();
  FormulaFactory.getAllFunctionNames();
  CellFormulaFactory.getSupportedCellFunctionTypes();
  CellFormulaFactory.getCellFunctionNamesByType(CellFunctionType);
  WorkSheet.setName(String);
  WorkSheet.setModel(TableModel);
  WorkSheet.setPrintProperties(Map);
  WorkSheet.getCellSelectionModel();
  WorkSheet.setCellSelectionModel(CellSelectionModel);
  WorkBook.getDocumentProperties();
  WorkBook.setDocumentProperties(Map);
  WorkBook.getSize();
  WorkBook.getElementAt(int);
  JCommonPane.getDefaultTinySize();
  JCommonPane.getDefaultSmallSize();
  JCommonPane.getDefaultNormalSize();
  JCommonPane.getCommonPane(Component);
  JCommonPane.getDialog(Component);
  JCommonPane.showDialog(Component, Map);
  JCommonPane.setHeader(String);
  JCommonPane.setDescription(String);
  JCommonPane.setLogoIcon(Icon);
  JCommonPane.setLogoText(String);
  JCommonPane.setBannerImage(Image);
  JCommonPane.setSideImage(Image);
  JCommonPane.setBackgroundImage(Image);
  NumberCellRenderer.setDefaultFormat(NumberFormat);
  NumberCellRenderer.getDefaultFormat();
  LocaleCellRenderer.isDisplayNameUsed();
  LocaleCellRenderer.setDisplayNameUsed(boolean);
  ResourceManager.getImageIcon(String);
  DefaultFileFilter.getExtensionName(File);
  JDataGridBean.getAbstractChart();   
  JLineBar.getZoomFactor();
  JLineBar.setZoomFactor(double);
  Chart.addXXXListener(XXX);
* 添加新类
  com.zfqjava.swing.LargeDataGridModel
  com.zfqjava.swing.LargeSizeModel
* 打印
  JDataGrid.getColumnHeaderView()
  JDataGrid.getRowHeaderView();
* 改变为公用类
  com.zfqjava.formula.CellFormulaFactory
  com.zfqjava.formula.CellFunctionType
* 修正问题
  DefaultDataGridModel share row data problem.
  JDataTableBean cannot show line arrow icon.
  JDataGridBean cannot select function.

版本 1.9.1

* Fix the selection bug for "Enter" and "Tab" keyboard action.
* Adds new client property for JDataGrid:
JDataGrid.clearSelectionOnDataChanged
* Fix the ToolTip bug of Hyperlink.
* The cell address in formula bar cannot display correctly. (Bug fixed)
* Adds PREFERRED_WORK_BOOK_API property in ModelIO. (New Features)

版本 1.9

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

版本 1.8

* New client property in JDataGrid
JDataGrid.fillCellValueOnly
JDataGrid.activateLinkOnModifierDown
* New class in com.zfqjava.swing.model package:
DataGridModelAdapter
* JDataGrid LockDemo has been improved.
* 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.7

* New API in CellStyle:
CellStyle#setTopBorder(MutableAttributeSet, CellStyle.Border);
CellStyle#getTopBorder(AttributeSet);
CellStyle#setLeftBorder(MutableAttributeSet, CellStyle.Border);
CellStyle#getLeftBorder(AttributeSet);
CellStyle#setBottomBorder(MutableAttributeSet, CellStyle.Border);
CellStyle#getBottomBorder(AttributeSet);
CellStyle#setRightBorder(MutableAttributeSet, CellStyle.Border);
CellStyle#getRightBorder(AttributeSet);
* New class in CellStyle:
CellStyle.Border
* New API in JLineBar:
JLineBar#setCellRenderer(AbstractCellRenderer);
JLineBar#getCellRenderer();
* New API in JDataGrid:
JDataGrid#setEditable(boolean);
JDataGrid#isEditable();
JDataGrid#setRowVisible(int, boolean);
JDataGrid#isRowVisible(int);
JDataGrid#setColumnVisible(int, boolean);
JDataGrid#isColumnVisible(int);
JDataGrid#setSelectionBorderColor(Color)
JDataGrid#getSelectionBorderColor();
JDataGrid#setSelectionBorderPainted(boolean);
JDataGrid#isSelectionBorderPainted();
JDataGrid#setFillHandleColor(Color);
JDataGrid#getFillHandleColor();
JDataGrid#setFillHandlePainted(boolean);
JDataGrid#isFillHandlePainted();
JDataGrid#setRowHeightIsAdjusting(boolean);
JDataGrid#getRowHeightIsAdjusting();
JDataGrid#setColumnWidthIsAdjusting(boolean);
JDataGrid#getColumnWidthIsAdjusting();
JDataGrid#createRowHeader();
JDataGrid#setCornerButton(AbstractButton);
JDataGrid#getCornerButton();
JDataGrid#createCornerButton();
* The formula can be serialized, the DefaultDataGridModel
has been supported the formula to be serialized.
* All Formula Function has been included in the evaluation
version for the developer to evaluate it.
* All Shape Node has been included in the evaluation
version for the developer to evaluate it.
* New API in JCommonPane:
JCommonPane#showFeedbackDialog(parent, map);
* New API in Chart:
Chart#toBufferedImage();
* New API in ActionManager:
ActionManager#setSelected(String, boolean);
ActionManager#isSelected(String);
* New class in swing package:
com.zfqjava.swing.EmptyIcon
com.zfqjava.swing.GroupIcon
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);
* Change enum to enumr for some fields.
* New Action in JDataGridBean:
JDataGridBean#doShowColumn();
JDataGridBean#doHideColumn();
JDataGridBean#doShowRow();
JDataGridBean#doHideRow();
* New API in AbstractDataGridModel:
AbstractDataGridModel#fillCellAttributes(Cell, List[]);

版本 1.6.1

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

* New API in DefaultColumnSorter:
DefaultColumnSorter#sortColumn(int, Boolean);
DefaultColumnSorter#sortColumn(int, Boolean, boolean);
DefaultColumnSorter#getSortOrderObject(int);
* Remove the select color and focus color when printing. (New Feature)
* Adds the feature: size the column to fit the cell contents. (New Feature)
* Removes the multiple rows and columns when selecting full row. (New Features)
* Allows cut/copy/paste full rows with read only cells in them. (New Features)
* New API in DefaultDataGridModel:
DefaultDataGridModel#sort(Cell, boolean[], int[], boolean);
* New API in JPrintPreview:
JPrintPreview.print(Object);
JPrintPreview.showFrame(JFrame);
JPrintPreview.showInternalFrame(JInternalFrame);
* New API in JDataGrid:
JDataGrid#setEditingStopBehavior(int);
JDataGrid#getEditingStopBehavior();
JDataGrid#sizeColumnWidthToFit(int);
JDataGrid#getDataGridModel();
* New API in AbstractCellEditor:
AbstractCellEditor#setEditingStopBehavior(int);
AbstractCellEditor#getEditingStopBehavior();
AbstractCellEditor#getEditingValue();
* Export Excel xls file with formula cannot work correctly. (Bug Fixed)
* Adds setDefaultCloseOperation(JBean.EXIT_ON_CLOSE); in
JDataGridBean main method. (Bug Fixed)
* The PrintFactory pass null map throws NPE. (Bug Fixed)

版本 1.5.1

* Completed the following functions:
SINH, COSH, TANH, ROUND, ROUNDUP, ROUNDDOWN.
* Adds the client properties in JDataGrid JavaDoc.
* JDataGridBean change all selected cells when attributes changed.
* JDataGridBean clear all selected cells when clear action performed.
* Adds system property for swing look and feel: application.defaultlaf
* Export formula to EXCEL lost "=". (Bug Fixed)
* New API in JBean:
JBean#setDefaultCloseOperation(int)
JBean#getDefaultCloseOperation()
JBean#doBeforeClose()
* New API in JDataGridBean:
JDataGridBean#getDataGrid()
JDataGridBean#getToolBar(String)
JDataGridBean#getMenuBar(String)
JDataGridBean#createModel()
JDataGridBean#setDataGrid(JDataGrid)
JDataGridBean#createDataGrid()
JDataGridBean#getPrintPreview()
JDataGridBean#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.5.0

* Adds cut, copy, paste actions.
* Adds drag and drop support.
* New API:
DefaultDataGridModel#fill(Cell, TableModel);
DefaultDataGridModel#toModel(Cell);
* Adds sort support for multiple row and column.
* Adds JInternalFrame support in JBean, Adds new API:
JBean#showInternalFrame(Component);
JBean#createInternalFrame();
JBean#getInternalFrame();
* JDataGridBean can not select the first cell when popup menu show.
* Separate the FormulaBar from JDataGridBean.
* Chart change layer cannot repaint correctly. (Bug Fixed)
* Disable editing for BasicChart.
* Fix the key lock problem in JStatusBar.
* The singe Shape should not grouped. (Bug Fixed)
* Remove the active cell when JDataGrid clear selection. (Bug Fixed)
* Should not change the anchor index when selecting all in JDataGrid. (Bug Fixed)
* All empty string value will return null for all cell editors. (Bug Fixed)
* Catch UnsupportedOperationException in getLockingKeyState method in
JStatusBar component. (Bug Fixed)

版本 1.4

* Adds formula support.
* Adds shape support.(2D shape, 3D shape)
* Adds chart support. (Bar Chart, Pie Chart, Line Chart)
* JLineBar cannot handle the drag selection correctly. (Bug Fixed)
* The keyboard actions cannot be shared. (Bug Fixed)
* Cannot stop the cell editing when using mouse to select the cell. (Bug Fixed)
* Use the JBean framework to create the JDataGridBean. (New Features)
* Undo support in DefaultDataGridModel should not use
compound edit. (Bug Fixed)
* Resize undo edit, NPE. (Bug Fixed)
* The JDataGrid#selectAll cannot work correctly. (Bug Fixed)
* Add Java-Bean property in mainfest file.

版本1.3

* Improves the DateCellRenderer and DateCellEditor
to support the JDBC date type:
java.sql.Date
java.sql.Time
java.sql.Timestamp
* Adds 8 new cell renderer and editor:
com.zfqjava.swing.cell.BigIntegerCellRenderer
com.zfqjava.swing.cell.BigIntegerCellEditor
com.zfqjava.swing.cell.BigDecimalCellRenderer
com.zfqjava.swing.cell.BigDecimalCellEditor
com.zfqjava.swing.cell.URLCellRenderer
com.zfqjava.swing.cell.URLCellEditor
com.zfqjava.swing.cell.StreamCellRenderer
com.zfqjava.swing.cell.StreamCellEditor
* JDataGrid fix the row header cannot track the
row count bug. (Bug Fixed)
* JDataGridBean cannot update the popup menu UI when
switching the Look&Feel. (Bug Fixed)
* JLineBar add new API:
getFirstLineIndex();
setFirstLineIndex(int);
* Improves the ResultSetTableModel.
* Adds Java Web Start PrintService support for JPrintPreview, JDataGridBean. (New Features)
* Adds new API: JDataGridBean#showFrame, JDataGridBean#createFrame,
JDataGridBean#getFrame. (New Features)
* Adds LoginDialog, LocationDialog, LookAndFeelDialog, please see the
JCommomPane JavaDoc for detais. (New Features)
* Adds setOpaque(true); and setDoubleBuffered(true); for
all components.

版本 1.2

* Improves the selection performance.
* Adds xls file reader and writer(Excel Compatible). (New features)
* Adds new plain file reader and writer(Excel Compatible). (New features)
* Adds new csv file reader and writer(Excel Compatible). (New features)
* Adds WorkBook and WorkSheet support. (New features)
* Adds JDataGridBean. (New features)
* Adds ResultSetTableModel. (New features)
* Adds HEADER_MARGIN, SHOW_HEADER_LINE, SHOW_FOOTER_LINE,
TABLE_SHOW_ROW_HEADER, TABLE_SHOW_COLUMN_HEADER,
TABLE_SHOW_GRID_LINE, TABLE_PRINT_AREA print properties,
see PrintFactory API documentation for details. (New features)
* Adds page count label in JPrintPreview. (New features)
* Adds show frame support in JPrintPreview. (New features)
* PrintFactory cannot repeat print. (Bug Fixed)
* PrintFactory component print NPE. (Bug Fixed)

版本 1.1

* Find and Replace support.
* Print and Print Preview support.
* Spell Check.
* Adds format, background-image, content-type, underline, strikethrough attributes support.
* Adds sort support, please see DefaultDataGridModel API Documentation for details.
* Adds fill support, please see DefaultDataGridModel API Documentation for details.
* Adds clear support, please see DefaultDataGridModel API Documentation for details.
* Adds move support, please see DefaultDataGridModel API Documentation for details.
* Adds row and column to add and remove data, please see DefaultDataGridModel API Documentation for details.
* The sort, fill, clear, move operation also adds undo support.
* Fix the anchor cell paint problem when the focus change.
* Adjust the cell span when adding(removing) row(column) as needed.
* Undo support for resizing row height and column width.
* Move the undo support to JDataGrid.

版本 1.0

初始版本.


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