|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.genui.UIResource<ICellFormat>
javax.rad.genui.control.UICellFormat
public class UICellFormat
Platform and technology independent CellFormat. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
Field Summary |
---|
Fields inherited from class javax.rad.genui.UIResource |
---|
uiResource |
Constructor Summary | |
---|---|
|
UICellFormat()
Constructs a new instance of SwingCellFormat . |
protected |
UICellFormat(ICellFormat pCellFormat)
Constructs a new instance of SwingCellFormat with the given
cell format. |
|
UICellFormat(IColor pBackground)
Constructs a new instance of SwingCellFormat . |
|
UICellFormat(IColor pBackground,
IColor pForeground)
Constructs a new instance of SwingCellFormat . |
|
UICellFormat(IColor pBackground,
IColor pForeground,
IFont pFont)
Constructs a new instance of SwingCellFormat . |
|
UICellFormat(IColor pBackground,
IColor pForeground,
IFont pFont,
IImage pImage)
Constructs a new instance of SwingCellFormat . |
|
UICellFormat(IColor pBackground,
IColor pForeground,
IFont pFont,
IImage pImage,
int pLeftIndent)
Constructs a new instance of SwingCellFormat . |
|
UICellFormat(IColor pBackground,
IColor pForeground,
IFont pFont,
IImage pImage,
Style pStyle,
int pLeftIndent)
Constructs a new instance of SwingCellFormat . |
|
UICellFormat(IImage pImage)
Constructs a new instance of SwingCellFormat . |
Method Summary | |
---|---|
IColor |
getBackground()
Gets the background IColor . |
IFont |
getFont()
Gets the IFont . |
IColor |
getForeground()
Gets the foreground IColor . |
IImage |
getImage()
Gets the IImage . |
int |
getLeftIndent()
Gets the left indentation value. |
Style |
getStyle()
Gets the style definition . |
Methods inherited from class javax.rad.genui.UIResource |
---|
equals, eventResourceChanged, eventResourceChanged, fireResourceChanged, getObject, getObjectNames, getResource, getUIResource, hashCode, hasResourceHandler, putObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.rad.ui.IResource |
---|
getResource |
Constructor Detail |
---|
public UICellFormat()
SwingCellFormat
.
protected UICellFormat(ICellFormat pCellFormat)
SwingCellFormat
with the given
cell format.
pCellFormat
- the cell formatpublic UICellFormat(IColor pBackground)
SwingCellFormat
.
pBackground
- the background of the Cell.public UICellFormat(IColor pBackground, IColor pForeground)
SwingCellFormat
.
pBackground
- the background of the Cell.pForeground
- the foreground of the Cell.public UICellFormat(IColor pBackground, IColor pForeground, IFont pFont)
SwingCellFormat
.
pBackground
- the background of the Cell.pForeground
- the foreground of the Cell.pFont
- the font of the Cell.public UICellFormat(IColor pBackground, IColor pForeground, IFont pFont, IImage pImage)
SwingCellFormat
.
pBackground
- the background of the Cell.pForeground
- the foreground of the Cell.pFont
- the font of the Cell.pImage
- the image of the Cell.public UICellFormat(IColor pBackground, IColor pForeground, IFont pFont, IImage pImage, int pLeftIndent)
SwingCellFormat
.
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.public UICellFormat(IColor pBackground, IColor pForeground, IFont pFont, IImage pImage, Style pStyle, int pLeftIndent)
SwingCellFormat
.
pBackground
- the background of the Cell.pForeground
- the foreground of the Cell.pFont
- the font of the Cell.pImage
- the image of the Cell.pStyle
- the style definition of the Cell.pLeftIndent
- the left indent.public UICellFormat(IImage pImage)
SwingCellFormat
.
pImage
- the image of the Cell.Method Detail |
---|
public IColor getBackground()
IColor
.
getBackground
in interface ICellFormat
IColor
.public IColor getForeground()
IColor
.
getForeground
in interface ICellFormat
IColor
.public IFont getFont()
IFont
.
getFont
in interface ICellFormat
IFont
.public IImage getImage()
IImage
.
getImage
in interface ICellFormat
IImage
.public Style getStyle()
style definition
.
getStyle
in interface ICellFormat
style definition
.public int getLeftIndent()
getLeftIndent
in interface ICellFormat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |