Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.javatools.ui.table
Interface GenericTableModel


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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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