Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.javatools.ui.table
Interface GenericTableModel

All Known Implementing Classes:
DefaultNiceTableModel, GenericBaseTableModel

public interface GenericTableModel

TableModel that determines the alignment of the table column and also whether the column can be hidden or not.


Method Summary
 boolean canHide(int column)
          Get whether the column can be hidden by the user when column selector is available
 int getColumnAlignment(int column)
          Get the alignment of the specified column in the table.

 

Method Detail

getColumnAlignment

int getColumnAlignment(int column)
Get the alignment of the specified column in the table. Returns SwingConstants.LEFT, SwingConstants.RIGHT or SwingConstants.CENTER.
Parameters:
column - the column to get the alignment of
Returns:
SwingConstants.LEFT, SwingConstants.RIGHT or SwingConstants.CENTER

canHide

boolean canHide(int column)
Get whether the column can be hidden by the user when column selector is available
Parameters:
column - the column to get the hidden property of
Returns:
true or false

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.