com.sibvisions.rad.ui.swing.ext.format
Class CellFormat

java.lang.Object
  extended by com.sibvisions.rad.ui.swing.ext.format.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(Color pBackground)
          Constructs a new instance of CellFormat.
CellFormat(Color pBackground, Color pForeground, Font pFont)
          Constructs a new instance of CellFormat.
CellFormat(Color pBackground, Color pForeground, Font pFont, Icon pImage)
          Constructs a new instance of CellFormat.
CellFormat(Color pBackground, Color pForeground, Font pFont, Icon pImage, int pLeftIndent)
          Constructs a new instance of CellFormat.
 
Method Summary
 Color getBackground()
          Gets the background.
 Font getFont()
          Gets the font.
 Color getForeground()
          Gets the foreground.
 Icon getImage()
          Gets the image.
 int getLeftIndent()
          Gets the left indent.
 
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(Color pBackground)
Constructs a new instance of CellFormat.

Parameters:
pBackground - the background of the Cell.

CellFormat

public CellFormat(Color pBackground,
                  Color pForeground,
                  Font 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.

CellFormat

public CellFormat(Color pBackground,
                  Color pForeground,
                  Font pFont,
                  Icon pImage)
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.
pImage - the image of the Cell.

CellFormat

public CellFormat(Color pBackground,
                  Color pForeground,
                  Font pFont,
                  Icon pImage,
                  int pLeftIndent)
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.
pImage - the image of the Cell.
pLeftIndent - the left indent.
Method Detail

getBackground

public Color getBackground()
Gets the background.

Returns:
the background.

getForeground

public Color getForeground()
Gets the foreground.

Returns:
the foreground.

getFont

public Font getFont()
Gets the font.

Returns:
the font.

getImage

public Icon getImage()
Gets the image.

Returns:
the image.

getLeftIndent

public int getLeftIndent()
Gets the left indent.

Returns:
the indent.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.