Extreme Component Documentation

The JComponentPack v3.6 has been Released! - October 2, 2014

The JComponentPack v3.5 has been Released! - February 4, 2013

The JComponentPack 3.4 has been Released! - February 6,2012

New Features:

  1. JDataTable support insert multiple rows and then accept changes to databases.
    New methods in JDataTable:
    JDataTable.moveToInsertRow(boolean);
  2. Sets the row attributes in JDataTable directly, add new methods:
    JDataTable.setAttributesEnabled(boolean);
    JDataTable.setDeleteRowAttributes(AttributeSet);
    JDataTable.setInsertRowAttributes(AttributeSet);
    JDataTable.setUpdateCellAttributes(AttributeSet);
  3. New ColumnValue class in com.zfqjava.sql package to add values for specified SQL type,
    the SyncRow.addColumn methods get updated to support the ColumnValue class.
  4. JDataGrid allow reset row and column header:
    New methods in JDataGrid:
    JDataGrid.resetRowHeader();
    JDataGrid.resetColumnHeader();
  5. JDataForm add new method to fetch the control button, include ok and reset button:
    New method in JDataForm:
    JDataForm.getControlButton
  6. JBean add new method to set the status bar directly:
    JBean.setStatusBar
  7. JLineBar support two different view component, list and tree, use getViewComponent() method to get the actual component: JList or JTree:
    New methods in JLineBar:
    JLineBar.setViewComponentType(int);
    JLineBar.getViewComponentType();
    JLIneBar.getViewComponent();
  8. New constructors added in JStatusBar to add extra component:
    JStatusBar(int, Component[]);
  9. JLocationBar allow set the location text directly:
    JLocationBar.setLocationText(String);
    JLocationBar.getLocationText();
  10. AComboBox component add new method to get the popup button:
    AComboBox.getPopupButton();
  11. DataGridModelAdapter add many methods to set the editable property for row, column and cell:
    DataGridModelAdapter.getResolveCellEditable(int, int);
    DataGridModelAdapter.clearCellEditable(int, int);
    DataGridModelAdapter.setColumnEditable(boolean, int);
    DataGridModelAdapter.isColumnEditable(int);
    DataGridModelAdapter.getColumnEditable(int);
    DataGridModelAdapter.clearColumnEditable(int);
    DataGridModelAdapter.setRowEditable(boolean, int);
    DataGridModelAdapter.isRowEditable(int);
    DataGridModelAdapter.getRowEditable(int);
    DataGridModelAdapter.clearRowEditable(int);
  12. ResultSetTableModel add new methods to get connection, auto generated column names, etc.
    ResultSetTableModel.getConnection();
    ResultSetTableModel.setPageSize(int);
    ResultSetTableModel.getAutoGeneratedColumnSet();
    ResultSetTableModel.setAutoGeneratedColumnSet();
    ResultSetTableModel.moveToInsertRow(boolean);
    ResultSetTableModel.removeInsertRow();
  13. Adds new PivotTableModel to support pivot table, the "PivotTableDemo" in run-demo.bat demonstrate this feature.
  14. New SyncAction and new method "buildSql" in SyncHelper allow customizing the insert, update and delete sql statement.
  15. New TreeHeaderTableModel and TreeHeaderTableModelHelper with the new tree view component type in JLineBar to support the tree header in JDataGrid, the "TreeHeaderGridDemo" in run-demo.bat demonstrate this feature.
  16. New component XScrollBar to support tabbed component in scroll bar.
  17. New component XViewport is a JViewport extension allow disable the JViewport paint rountine.
  18. WorkBook add new method to get the WorkSheet by the specified name:
    WorkBook.getSheet(String);
  19. New ColorIcon added in com.zfqjava.swing package to paint the specified color.
  20. CellManager add new method named "configurePreferredCellComponentType" to configure the preferred cell component type, the boolean value will use the check box, the date type will use the JCalendar.
  21. Two new static factory method "valueOf" method added in Cell class:
    Cell.valueOf(int, int);
    Cell.valueOf(int, int, int, int);
  22. New method added in AbstractCellEditor to customize the focus gained behavior:
    AbstractCellEditor.getFocusGainedBehavior();
    AbstractCellEditor.setFocusGainedBehavior(int);
  23. Chart package: AbstractNode add new methods:
    AbstractNode.isToggleOnSelect();
    AbstractNode.setToggleOnSelect(boolean);
    AbstractNode.isLabelRendererEnabled();
    AbstractNode.setLabelRendererEnabled(boolean);
  24. Chart package: ArcNode add new methods:
    ArcNode.setAngle(double, double);
    ArcNode.getAngleStart();
    ArcNode.getAngleExtent();
  25. Chart package: Chart class add new method to customize the layout behavior:
    Chart.isLayoutOnSelectionChanged();
    Chart.setLayoutOnSelectionChanged();
  26. Chart package: Link add new methods to customize the segment label:
    Link.setSegmentLabel(int, String);
    Link.getSegmentLabel(int);
    Link.setPointLabel(int, String);
    Link.getPointLabel(int);
  27. Chart package: PieChart add new methods to customize the series link and percent label:
    PieChart.isSeriesLinkVisible();
    PieChart.setSeriesLinkVisible(boolean);
    PieChart.isPercentVisible();
    PieChart.setPercentVisible(boolean);
  28. AbstractDataGridModel add new methods to customize the editable property and other:
    AbstractDataGridModel.clearRowEditable(int);
    AbstractDataGridModel.clearColumnEditable(int);
    AbstractDataGridModel.clearCellEditable(int, int);
    AbstractDataGridModel.getResolveCellEditable(int, int);
    AbstractDataGridModel.findColumn(String);
    AbstractDataGridModel.isColumnNameSet(int);
    AbstractDataGridModel.getFormulaContext();

The JComponentPack 3.3 has been Released! - September 1,2011

New Features:

  1. JDataTable can set color and other attributes for insert row, delete row, update cells, the "datatable.bat" or "datatable.sh" demonstrates this features.
    ResultSetDataGridModelAdapter.setDeleteRowAttributes(AttributeSet);
    ResultSetDataGridModelAdapter.setInsertRowAttributes(AttributeSet);
    ResultSetDataGridModelAdapter.setUpdateCellAttributes(AttributeSet);
  2. JDataTable can add or update the hidden column in databases.
    ResultSetTableModel.setSyncHelper(SyncHelper);
  3. JDataTable can map the column names in databases, support SQL as clause.
    ResultSetTableModel.setColumnNameMap(Map<String, String>);
  4. JDataTable can log sql statement when accept changes.
    ResultSetTableModel.setLogSql(boolean);
  5. JDataTable can get notified by RowSetListener:
    ResultSetTableModel.addRowSetListener(RowSetListener);
  6. JDataTable add several new methods:
    JDataTable.moveToInsertRow();
    JDataTable.markAsDeletedRow(boolean);
    JDataTable.nextPage();
    JDataTable.previousPage();
    JDataTable.hasPreviousPage();
    JDataTable.isPreviousPageEnabled();
    JDataTable.hasNextPage();
    JDataTable.isNextPageEnabled();
    JDataTable.isFirstPage();
    JDataTable.isLastPage();
    JDataTable.hasPreviousRow();
    JDataTable.isPreviousRowEnabled();
    JDataTable.hasNextRow();
    JDataTable.isNextRowEnabled();
  7. JDataTable can get notified when sync to database, the SyncListener is updated:
    SyncListener.syncFailed(SyncEvent);
    SyncListener.syncSucceeded(SyncEvent);
    ResultSetTableModel.addSyncListener(SyncListener);
  8. CellManager can change the editor or renderer component type directly:
    CellManager.setCellEditorComponentTypeByClass(Class, CellEditorComponentType);
    CellManager.setCellRendererComponentTypeByClass(Class, CellRendererComponentType);
  9. ModelIO add new property named "CHARSET", you could set the charset when read or write TableModel for "txt, csv" and other formats.
  10. JSyntaxEditor add several new formats for syntax highlighting.

The JComponentPack 3.2 has been Released! - December 2,2010

New Features:

  1. Adds several new components: JFlowChart, JSlideShow, JTextEditor, JSyntaxEditor, JDataForm, JDesktop.
  2. ResourceManager support single ResourceBundle since this version, adds two new API in ResourceManager:

    ResourceManager.getBundle(String);
    ResourceManager.getDefaultBundle();

  3. AbstractDataGridModel and it's subclass DefaultDataGrid, LargeDataGridModel support the default attributes, adds new API in AbstractDataGridModel:

    AbstractDataGridModel.getDefaultAttributes();
    AbstractDataGridModel.setDefaultAttributes(AttributeSet);

  4. Adds new DefaultStyleDemo to demonstrate the default attributes in the AbstractDataGridModel.
  5. Adds new property named "domainName" in License class.
  6. The JComponentPack JavaFX components support JavaFX1.2 Runtime.
  7. Adds new API in JDataGrid, this will improve the render performance of JDataGrid with a lot of cell attributes:

    JDataGrid.getCellAttributes(int row, int column, boolean readOnly);

  8. AnchorLayout adds new Location: N, S, E, W, C, the LayoutDemo also demonstrate this new feature.
  9. The Cell Editor and Renderer support button cell, the ButtonCellDemo2 demonstrate this new feature.
  10. JCommonPane adds new method named "createVendorCopyrightPanel" to support creating the copyright panel.
  11. JPrintPreview component generate the new preview image again when magnify, this feature will avoid preview the highly pixilated image when magnify.
  12. JPrintPreview component adds new bound property named "pageableEnabled",this property enable the page feature on printing for all Printable object, this value is false by defalut to keep the backward compatibility, you can enable it by invoke "printPreview.setPageableEnabled(true);".
  13. JPrintPreview adds new bound property named "attributesEnabled" to enable using the new cross-platform page setup dialog, print dialog, these new dialogs is provided by "javax.print" API, you can invoke the method "printPreview.setAttributesEnabled(true);" to enable this new feature, the PrintPreviewDemo demonstrate this new feature.
  14. Adds several new API in JDataGrid:

    JDataGrid.setCellManager(CellManager);
    JDataGrid.stopEditing();
    JDataGrid.cancelEditing();
    JDataGrid.getFocusLostBehavior();
    JDataGrid.setFocusLostBehavior(int);
    JDataGrid.getLeadSelectionRow();
    JDataGrid.getLeadSelectionColumn();

Bug Fixed:

  1. Cell border stroke should be single selection in cell attributes dialog.
  2. Show popup in JDataGridBean, the current cell editing should stop.
  3. The WorkSheet should create a CellSelectionModel by default when load .xls files.
  4. The method "JCommonPane.createVendorBannerPanel(Map)" layout the logo on the wrong location.

The JComponentPack 3.1 has been Released! - September 21,2009

Release Notes:


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)

The JComponentPack 3.0 has been Released! - April 6,2009

New Features:

 

Adds new JDataGrid Spreadsheet Server Components, the JDataGrid Spreadsheet Server Components is a new innovation in JComponentPack 3.0, it's different with the traditional Applet-Servlet communication components, all configuration can be completed on the server, the JDataGrid spreadsheet clients includes JDataGrid spreadsheet Applet only need specify the servlet URI, then the license will setup automatically, open and save the spreadsheet file will work magically.

 

JDataGridApplet and JDataGridBeanApplet start to support the new server components.

 

Adds new JavaFX component "DataGrid" and "DataGridBean", you can use these components in your JavaFX script directly, these JavaFX component also support the new server components.