JBCSolutions - Jbcgrid v1.6

This document is the API specification for the JbcGrid, version 1.6


jbc.grid
Interface JbcGridInterfaceTableModel

All Known Implementing Classes:
JbcGridAbstractTableModel, JbcGridDefaultTableModel

public interface JbcGridInterfaceTableModel

This interface is the minimum basis required for any TableModel used with JbcGridTable.

Author:
Copyright © 1999-2004, JBC. All Rights Reserved.
Licensed Materials - Property of JBC.
See Also:
JbcGridDefaultTableModel, JbcGridAbstractTableModel

Method Summary
 javax.swing.JComponent getExpandedRowComponent(int row)
          You should override this method and return a component that will be used to overload the row.
 javax.swing.JComponent getExpandedTreeviewComponent(int row)
          You should override this method and return a component that will be used to expand the row.
 boolean isExpandableTreeview(int row)
          Returns true if this row may be expanded in tree view.
 

Method Detail

isExpandableTreeview

boolean isExpandableTreeview(int row)
Returns true if this row may be expanded in tree view.

An expandable row is a row that may answer favourably to the getExpandedTreeviewComponent method.

You should override this method and return true if the specified row is expandable.

Returns:
true if this row is expandable
See Also:
getExpandedTreeviewComponent(int)

getExpandedTreeviewComponent

javax.swing.JComponent getExpandedTreeviewComponent(int row)
You should override this method and return a component that will be used to expand the row.

Parameters:
row - the row index
Returns:
an expanded component
See Also:
isExpandableTreeview(int)

getExpandedRowComponent

javax.swing.JComponent getExpandedRowComponent(int row)
You should override this method and return a component that will be used to overload the row.

Parameters:
row - the row index
Returns:
an expanded component

JBCSolutions - Jbcgrid v1.6

JBCSolutions - Jbcgrid v1.6