com.sibvisions.rad.ui.web.impl.control
Class WebCellFormat

java.lang.Object
  extended by com.sibvisions.rad.ui.web.impl.WebResource
      extended by com.sibvisions.rad.ui.web.impl.control.WebCellFormat
All Implemented Interfaces:
ICellFormat, IResource

public class WebCellFormat
extends WebResource
implements ICellFormat

Web server implementation of ICellFormat.


Constructor Summary
WebCellFormat(IColor pBackground, IColor pForeground, IFont pFont)
          Constructs a new instance of SwingCellFormat.
 
Method Summary
 String getAsString()
          Gets this Object as String.
 IColor getBackground()
          Gets the background.
 IFont getFont()
          Gets the font.
 IColor getForeground()
          Gets the foreground.
 
Methods inherited from class com.sibvisions.rad.ui.web.impl.WebResource
getNullableAsString, getResource, setAsString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

WebCellFormat

public WebCellFormat(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.
Method Detail

getAsString

public String getAsString()
Gets this Object as String.

Specified by:
getAsString in class WebResource
Returns:
the String.

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.