JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table
Interface TableCellInfoModel

All Superinterfaces:
JCCellInfo, Serializable
All Known Implementing Classes:
JCTableCellInfo

public interface TableCellInfoModel
extends JCCellInfo

TableCellInfoModel interface extends the CellInfo adding table specific methods.


Field Summary
static Color BLACK_BRIGHTER
           
static Color BLACK_DARKER
           
static Color WHITE_BRIGHTER
           
static Color WHITE_DARKER
           
 
Fields inherited from interface com.klg.jclass.cell.JCCellInfo
BOTTOM, CENTER, LEFT, RIGHT, SHOW_ALL, SHOW_HORIZONTAL, SHOW_NONE, SHOW_VERTICAL, TOP
 
Method Summary
 com.klg.jclass.table.CellBorderModel getCellBorder()
          Returns the CellBorderModel for the cell.
 int getCellBorderSides()
          Returns the BorderSides for the cell.
 com.klg.jclass.table.CellStyleModel getCellStyle()
          Returns the CellStyleModel object that contains the property setting for the cell.
 int getColumn()
          Returns the column for the cell.
 int getRow()
          Returns the row for the cell.
 com.klg.jclass.table.JCTable getTable()
          Returns the table object associated with the cell.
 void initialize(com.klg.jclass.table.JCTable table, Object o, int row, int column)
          Used to initialize the table, row and column for renderering or editing.
 void initialize(com.klg.jclass.table.JCTable table, Object o, int row, int column, com.klg.jclass.table.CellStyleModel style)
          Used to initialize the table, row and column for renderering or editing.
 
Methods inherited from interface com.klg.jclass.cell.JCCellInfo
getBackground, getBorderInsets, getBorderStyle, getClipHints, getDataType, getDrawingArea, getFont, getForeground, getHorizontalAlignment, getMarginInsets, getSelectAll, getSelectedBackground, getSelectedForeground, getVerticalAlignment, isEditable, isEnabled
 

Field Detail

WHITE_BRIGHTER

public static final Color WHITE_BRIGHTER

WHITE_DARKER

public static final Color WHITE_DARKER

BLACK_BRIGHTER

public static final Color BLACK_BRIGHTER

BLACK_DARKER

public static final Color BLACK_DARKER
Method Detail

initialize

public void initialize(com.klg.jclass.table.JCTable table,
                       Object o,
                       int row,
                       int column)
Used to initialize the table, row and column for renderering or editing.


initialize

public void initialize(com.klg.jclass.table.JCTable table,
                       Object o,
                       int row,
                       int column,
                       com.klg.jclass.table.CellStyleModel style)
Used to initialize the table, row and column for renderering or editing. A valid CellStyleModel object is also supplied.


getTable

public com.klg.jclass.table.JCTable getTable()
Returns the table object associated with the cell.


getRow

public int getRow()
Returns the row for the cell.


getColumn

public int getColumn()
Returns the column for the cell.


getCellStyle

public com.klg.jclass.table.CellStyleModel getCellStyle()
Returns the CellStyleModel object that contains the property setting for the cell.


getCellBorder

public com.klg.jclass.table.CellBorderModel getCellBorder()
Returns the CellBorderModel for the cell.


getCellBorderSides

public int getCellBorderSides()
Returns the BorderSides for the cell.


Copyright © 2004 Quest Software Inc..
All rights reserved.