com.sibvisions.rad.ui.qt.ext.table
Class CellFormat

java.lang.Object
  extended by com.sibvisions.rad.ui.qt.ext.table.CellFormat

public class CellFormat
extends Object

The CellFormat holds the format information for a cell.


Constructor Summary
CellFormat()
          Constructs a new instance of CellFormat.
CellFormat(QColor pBackground)
          Constructs a new instance of CellFormat.
CellFormat(QColor pBackground, QColor pForeground, QFont pFont)
          Constructs a new instance of CellFormat.
 
Method Summary
 QColor getBackground()
          Gets the background.
 QFont getFont()
          Gets the font.
 QColor getForeground()
          Gets the foreground.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellFormat

public CellFormat()
Constructs a new instance of CellFormat.


CellFormat

public CellFormat(QColor pBackground)
Constructs a new instance of CellFormat.

Parameters:
pBackground - the background of the Cell.

CellFormat

public CellFormat(QColor pBackground,
                  QColor pForeground,
                  QFont pFont)
Constructs a new instance of CellFormat.

Parameters:
pBackground - the background of the Cell.
pForeground - the foreground of the Cell.
pFont - the font of the Cell.
Method Detail

getBackground

public QColor getBackground()
Gets the background.

Returns:
the background.

getForeground

public QColor getForeground()
Gets the foreground.

Returns:
the foreground.

getFont

public QFont getFont()
Gets the font.

Returns:
the font.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.