奇新Java控件

JComponentPack 版本 3.1 发布说明


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

修正错误 显示红色
添加新功能 显示绿色
JComponentPack3.1正式发布! - 2009年9月21日

新版本更新内容:

1.Adds font panel in cell attributes panel.
2.Adds new BooleanConverter, support the following values:
string types: CHAR or VARCHAR
true values: "TRUE", "YES", "T", "Y", "true", "yes", "t", "y",
false values: "FALSE", "NO", "F", "N", "false", "no", "f", "n"
number types, includes SQL types: BIT, TINYINT, SMALLINT, INTEGER or BIGINT
3.AbstractDataGridModel has been add the following methods:
AbstractDataGridModel .isColumnClassSet(int);
The DefaultDataGridModel and LargeDataGridModel has been implemented
this methods.
4.DataGridModelAdapter and it's subclass ResultSetDataGridModelAdapter now
supports set the column type to override the column type of the ResultSet,
the following methods in these classes has been modified:
DataGridModelAdapter.getColumnClass(int);
DataGridModelAdapter.setColumnClass(Class, int)
5.The new listener SyncListener has been added into the com.zfqjava.sql package:
com.zfqjava.sql.SyncListener
com.zfqjava.sql.SyncEvent
6.ResultSetTableModel and RowSetTableModel adds the followings methods.
ResultSetTableModel.addSyncListener(SyncListener);
ResultSetTableModel.removeSyncListener(SyncListener);
ResultSetTableModel.getSyncListeners();
RowSetTableModel.addSyncListener(SyncListener);
RowSetTableModel.removeSyncListener(SyncListener);
RowSetTableModel.getSyncListeners();
7.Hyperlink for cell
8.Text Rotate support
9.Disable the default browse button inside the hyper link popup
dataGridBean.getAppMap().put(JCommonPane.LOCATION_BROWSE_BUTTON_HIDDEN, true)
10.New API in JDataGridBean to get the popup menu:
JDataGridBean.getPopupMenu(String);
11.JDataGrid component support read and write new file format: Excel 2007 OOXML (.xlsx) 版本更新日志 JComponentPack3.0 - 2009年4月6日

新功能介绍:

  3.0版本添加了最新的JDataGrid电子表格服务器端控件,JDataGrid小程序 直接支持最新的服务器端控件,您可以通过简单的设置,设置一个服务器端控 件的URL,就能读取,保存,下载各种不同格式的电子表格文件,所有的配置 在服务器端完成。   3.0版本添加了JDataGrid JavaFX控件"DataGrid"和"DataGridBean",您 可以在JavaFX脚本中直接调用这些控件,这些JavaFX控件直接支持最新的 JDataGrid电子表格服务器端控件。 版本 1.5.0 - 2009年2月16日 * Fix the following bugs: JDataGrid:
1.Click on any hyperlink in any column in applet datagrid, get IllegalArgumentException.
2.In the datagrid we have 2 JDataGrids and if we click on any hyperlink, it only selects the row
from corresponding JDataGrid.
3.The same license code should not add many times. * New Features:
1.Adds new classes in com.zfqjava.swing.cell package:
com.zfqjava.swing.cell.CellProvider2
com.zfqjava.swing.cell.CellArgs
2.Make the following classes to public:
com.zfqjava.swing.JCommonPane.BannerPanel
com.zfqjava.swing.JCommonPane.ImagePanel
com.zfqjava.swing.JCommonPane.ImageBannerPanel
3.Adds new API to create vendor banner panel.
com.zfqjava.swing.JCommonPane.createVendorBannerPanel(Map);
4.This version includes a new NetBeans IDE Plugin. 版本 1.4.0 - 2008年12月8日 * Fix the following bugs: 1.AComboBox component use JComboBox border throws ClassCastException
2.JPrintPreview component cannot work in JDataGridBean
3.JListView component switch to thumbnails view mode throws NPE.
4.XList and JListView start editing, the timer cannot work
5.JListView view file in details mode, the file rename cannot save
6.JListView component in small icon view mode, rename the file, the icon cannot display correctly.
7.JListView rename file, the file name need validation
8.JListView should provide a default transfer to display the icon?
9.JSideBar component should use VERTICAL layout Orientation. * New Features:
1.JListView component adds the following API:
JListView.sizeColumnWidthToFit(int);
JListView.getComponentFactory();
JListView.setComponentFactory(AbstractComponentFactory);
JListView.getAction(String);
JListView.addComponentFactory(String, String);
JListView.removeComponentFactory(String);
2.JListView component provides a default file transfer to support Drag&Drop operation.
3.JDataGrid component adds new client property "JDataGrid.notEditableCellRendererDisabled" to disable the cell renderer when the cell is not editable.
4.Introduce the new swing component "ASplitPane".
5.JTextSpeller expose the following API and inner classes:
JTextSpeller.AbstractSpeller
JTextSpeller.setSpeller(AbstractSpeller)
JTextSpeller.getSpeller();
JTextSpeller.createSpeller(Component);
6.JTextFinder expose the following API and inner classes:
JTextFinder.AbstractFinder
JTextFinder.setFinder(AbstractFinder)
JTextFinder.getFinder();
JTextFinder.createFinder(Component);
版本 1.3.0 - 2008年10月6日

  * LineChart和BarChart改变Model时,x和y轴和背景格子消失。  修正错误
* 在单元格编辑中添加了新的控件类型。 添加新功能 * AComboBox 添加了下列的API: 添加新功能 AComboBox.getValueClass();
AComboBox.setValueClass(Class);
AComboBox.addActionListener(ActionListener);
AComboBox.removeActionListener(ActionListener);
AComboBox.getActionListeners();
AComboBox.fireActionPerformed(ActionEvent); * DateCellEditor 支持通过JCalendar控件选择日期。 添加新功能 * 添加了标示单元格控件的CellRendererComponentType和CellEditorComponentType. 添加新功能 * 在JDataGrid中添加了改变单元格编辑和显示控件的新的API:
JDataGrid.setCellEditorComponentTypeByColumn(int, CellEditorComponentType);
JDataGrid.getCellEditorComponentTypeByColumn(int);
JDataGrid.setCellEditorComponentTypeByClass(Class, CellEditorComponentType);
JDataGrid.getCellEditorComponentTypeByClass(Class);
JDataGrid.setCellRendererComponentTypeByColumn(int, CellRendererComponentType);
JDataGrid.getCellRendererComponentTypeByColumn(int);
JDataGrid.setCellRendererComponentTypeByClass(Class, CellRendererComponentType);
JDataGrid.getCellRendererComponentTypeByClass(Class); * 在AbstractCellEditor中添加了改变编辑控件的API:
AbstractCellEditor.setCellEditorComponentType(CellEditorComponentType);
AbstractCellEditor.getCellEditorComponentType(); * 在AbstractCellRenderer中添加了改变编辑控件的API:
AbstractCellRenderer.setCellRendererComponentType(CellRendererComponentType);
AbstractCellRenderer.getCellRendererComponentType(); * 添加了新的CellEditorListener2, 可以获取JDataGrid单元格编辑验证失败的信息. * JDataGrid控件添加了新的API:
JDataGrid.addCellEditorListener(CellEditorListener);
JDataGrid.removeCellEditorListener(CellEditorListener);
JDataGrid.getCellEditorListeners(); * DateCellRenderer 和 DateCellEditor 默认使用日期格式,和JTable保持一致。 * 添加了新的CellSpanModel,JDataGrid控件可以直接使用TableModel,结合CellSpanModel
也能实现单元格的合并和分离,添加了下列类:
com.zfqjava.swing.CellSpanModel
com.zfqjava.swing.AbstractCellSpanModel
com.zfqjava.swing.DefaultCellSpanModel
com.zfqjava.swing.event.CellSpanEvent
com.zfqjava.swing.event.CellSpanListener * JDataGrid类添加了对CellSpanModel的支持的API:
JDataGrid.getCellSpanModel();
JDataGrid.setCellSpanModel(CellSpanModel);
JDataGrid.createCellSpanModel(); * 下列错误得到修改:
1.I have a Date column. I do an Excel-style "select & drag the corner" to advance the values in the cells below.
The day of the month advances correctly, but the month does not change. Thank Plamen Petrov for bug report. 2.JBean throws ConcurrentModificationException Thank Harry Dollard for bug report. 版本 1.2.0 - 2008年06月23日   * 澄清JPrintPreview.showInternalFrame和JPrintPreview.showFrame这两个方法的JavaDoc. 修正错误
* JPrintPreview控件添加了得到当前打开的JFrame的API: 添加新功能 JPrintPreview.getFrame(); * JPrintPreview控件调用showDialog后不能显示设置的打印数据。 修正错误 * JWizardPane控件自动设置 下一步 按钮。 添加新功能 * JWizardPane控件添加了新的辅助类: 添加新功能 * JDirChooser控件对话框新建文件夹工具提示错误。
感谢Kenny Huang报告这个Bug. 修正错误
* 改正了几个支持OpenOffice的公式的问题。 修正错误 * JListView控件简化了支持拖放功能代码,ListViewDemo演示了这个新功能。 添加新功能 * JDataGridBean控件添加了说明当前数据和数据位置的API: 添加新功能
JDataGridBean.setData(Object);
JDataGridBean.getData();
JDataGridBean.setDataLocation(Object);
JDataGridBean.getDataLocation(); * 添加了新的JTableWriteTableModelTask,在后台线程将TableModel或者WorkBook写到指定的文件。 添加新功能 * 添加了支持将WorkBook或者TableModel保存为PDF文件的Writer: ITextPdfWorkBookWriter. 添加新功能 * AbstractDataGridModel 添加了新的API: 添加新功能
AbstractDataGridModel.setCellClass(Class, Cell); * 改正了JDataGridBean单元格属性对话框类型面板不能匹配当前单元格类型的问题。
感谢 "William E Lucarell" 报告这个问题。 修正错误 * 改正了JDataGridBean单元格属性对话框底纹面板无法选择颜色的问题。
感谢 "William E Lucarell" 报告这个问题。 修正错误 * LargeDataGridModel不能自动转换单元格类型。
感谢 "William E Lucarell" 报告这个问题。 修正错误 版本 1.1.0 - 2008年05月06日   * 添加了新的ComponentCellRenderer。 添加新功能   * 添加了新的XCompoundBorder 添加新功能 * EnumCellRenderer添加了对控制的支持 添加新功能 * AComboBox 不支持编辑属性,抛出NPE. 修正错误 * AComboBox添加了新的API: 添加新功能
AComboBox.setComponentFactory(AbstractComponentFactory componentFactory);
AComboBox.getComponentFactory(); * CalendarDemo 用新的AComboBox特性. 添加新功能 * 改变AComboBox的边框样式 添加新功能 * AComboBox 弹出框能够切换 添加新功能 * JCalendar 添加了新的API: 添加新功能
JCalendar.getActionClickCount();
JCalendar.setActionClickCount(int); * XList控件使用AbstractCellEditor作为单元格编辑器类型 * XList 添加了新的API: 添加新功能
XList.getActionClickCount();
XList.setActionClickCount(int);
XList.isIndexEditable(int, EventObject); * JCalendar 添加了新的属性: 添加新功能
JCalendar.todayButtonFireActionEventEnabled * JDataGridBean和JDataTableBean添加了新的属性控制程序启动画面: 添加新功能
com.zfqjava.swing.JDataGridBean.hideSplash
com.zfqjava.swing.JDataTableBean.hideSplash * FormulaFactory添加了新的方法: 添加新功能
FormulaFactory.createFormulaContext(); * com.zfqjava.formula包中的CellUtils类改变为公共访问类。 * CellStyle实现了Serializable接口 添加新功能 * JDataGridBean 和 JDataTableBean的打印预览功能实现了在新 添加新功能
的窗口中显示的功能。 * JDataGridBean 添加了根据环境的不同选择打开新窗口的方式. 添加新功能 * JDataGridBean 和 JDataTableBean 添加了新的打印属性的API: 添加新功能
JDataGridBean.getPrintProperties();
JDataGridBean.setPrintProperties(Map);
JDataGridBean.createPrintProperties();

JDataTableBean.getPrintProperties();
JDataTableBean.setPrintProperties(Map);
JDataTableBean.createPrintProperties();

* JDataGridBean 添加了是否打印选中的单元格区域的功能。 添加新功能 JDataGridBean.isPrintSelectedCell(); JDataGridBean.setPrintSelectedCell(boolean); * JDataGrid输出Excel xml格式处理公式不正确。 修正错误
* JDataGrid 输出Excel xml格式支持合并的单元格。 修正错误
* JDataGrid 输出和输出 Excel xml文件单元格背景的处理不正确。 修正错误
* JDataGridBean 添加了新的API: 添加新功能 JDataGridBean.getSupportedFileSuffix(); JDataGridBean.setSupportedFileSuffix(Set); * ResultSetTableModel 添加了新的API: 添加新功能 ResultSetTableModel.getCountCommand(); ResultSetTableModel.setCountCommand(String); ResultSetTableModel.getCurrentAllRowCount(); ResultSetTableModel.setAllRowCount(int);
版本 1.0.0 - 2008年03月05日

初始版本.

Copyright (C) 2009 奇新公司-Java控件供应商 版权所有