com.sibvisions.rad.ui.swing.impl.control
Class SwingCellFormat
java.lang.Object
com.sibvisions.rad.ui.awt.impl.AwtResource<CellFormat>
com.sibvisions.rad.ui.swing.impl.control.SwingCellFormat
- All Implemented Interfaces:
- ICellFormat, IResource
public class SwingCellFormat
- extends AwtResource<CellFormat>
- implements ICellFormat
The SwingCellFormat is the ICellFormat
implementation for swing.
SwingCellFormat
public SwingCellFormat(IColor pBackground,
IColor pForeground,
IFont pFont)
- Constructs a new instance of
SwingCellFormat.
- Parameters:
pBackground - the background of the Cell.pForeground - the foreground of the Cell.pFont - the font of the Cell.
getBackground
public IColor getBackground()
- Gets the background.
- Specified by:
getBackground in interface ICellFormat
- Returns:
- the background.
getForeground
public IColor getForeground()
- Gets the foreground.
- Specified by:
getForeground in interface ICellFormat
- Returns:
- the foreground.
getFont
public IFont getFont()
- Gets the font.
- Specified by:
getFont in interface ICellFormat
- Returns:
- the font.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.