public class CellStyle extends BIComplexAttributeBase
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BACKGROUND_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_BOTTOM_COLOR_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_BOTTOM_STYLE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_BOTTOM_WIDTH_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_COLOR_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_LEFT_COLOR_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_LEFT_STYLE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_LEFT_WIDTH_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_RIGHT_COLOR_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_RIGHT_STYLE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_RIGHT_WIDTH_KEY
Deprecated.
|
protected static java.lang.String |
BORDER_STYLE_DASH
Deprecated.
|
protected static java.lang.String |
BORDER_STYLE_DOT
Deprecated.
|
protected static java.lang.String |
BORDER_STYLE_DOUBLE
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_STYLE_KEY
Deprecated.
|
protected static java.lang.String |
BORDER_STYLE_SOLID
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_TOP_COLOR_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_TOP_STYLE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_TOP_WIDTH_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BORDER_WIDTH_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
CELL_EDIT_STYLE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
DOUBLE_UNDERLINE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
EDIT_BACKGROUND_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
EDIT_FOREGROUND_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
FONT_BOLD_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
FONT_ITALIC_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
FONT_NAME_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
FONT_SIZE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
FOREGROUND_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
GRAPHIC_BAR_COLOR_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
GRAPHIC_BAR_VISIBLE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
GRAPHIC_IMAGE_INDEX_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
GRAPHIC_IMAGE_TOOLTIP_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
HORIZONTAL_ALIGNMENT_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
HORIZONTAL_PAGE_BREAK_KEY
Deprecated.
|
protected java.awt.Color |
m_defaultBorderColor
Deprecated.
|
protected int |
m_defaultBorderStyle
Deprecated.
|
protected int |
m_defaultBorderWidth
Deprecated.
|
protected int |
m_defaultCellEditStyle
Deprecated.
|
protected java.awt.Color |
m_defaultEditBackground
Deprecated.
|
protected java.awt.Color |
m_defaultEditForeground
Deprecated.
|
protected java.awt.Color |
m_defaultGraphicBarColor
Deprecated.
|
protected boolean |
m_defaultGraphicBarVisible
Deprecated.
|
protected int |
m_defaultGraphicImageIndex
Deprecated.
|
protected java.lang.String |
m_defaultGraphicImageTooltip
Deprecated.
|
protected int |
m_defaultHorizontalAlignment
Deprecated.
|
protected boolean |
m_defaultHPageBreak
Deprecated.
|
protected boolean |
m_defaultStrikeThrough
Deprecated.
|
protected boolean |
m_defaultUnderline
Deprecated.
|
protected int |
m_defaultVerticalAlignment
Deprecated.
|
protected boolean |
m_defaultVPageBreak
Deprecated.
|
protected boolean |
m_defaultWordWrapEnabled
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
SELECT_BACKGROUND_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
SELECT_FOREGROUND_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
STRIKE_THROUGH_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
UNDERLINE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
VERTICAL_ALIGNMENT_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
VERTICAL_PAGE_BREAK_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
WORD_WRAP_ENABLED_KEY
Deprecated.
|
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
CellStyle()
Deprecated.
|
CellStyle(ViewStyle viewStyle)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static int |
convertJSPBorderStyleToInt(java.lang.String style)
Deprecated.
|
static int |
convertJSPHorizontalAlignmentToInt(java.lang.String hAlign)
Deprecated.
|
static int |
convertJSPVerticalAlignmentToInt(java.lang.String vAlign)
Deprecated.
|
void |
copyProperties(ViewStyle viewStyle)
Deprecated.
|
java.awt.Color |
getBackground()
Deprecated.
Retrieves the color for the background.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
Deprecated.
|
java.awt.Color |
getBorderBottomColor()
Deprecated.
Retrieves the color for the bottom side of the border.
|
int |
getBorderBottomStyle()
Deprecated.
Retrieves the style for the bottom side of the border.
|
int |
getBorderBottomWidth()
Deprecated.
Retrieves the width for the bottom side of the border.
|
java.awt.Color |
getBorderLeftColor()
Deprecated.
Retrieves the color for the left-hand side of the border.
|
int |
getBorderLeftStyle()
Deprecated.
Retrieves the style for the left-hand side of the border.
|
int |
getBorderLeftWidth()
Deprecated.
Retrieves the width for the left-hand side of the border.
|
java.awt.Color |
getBorderRightColor()
Deprecated.
Retrieves the color for the right-hand side of the border.
|
int |
getBorderRightStyle()
Deprecated.
Retrieves the style for the right-hand side of the border.
|
int |
getBorderRightWidth()
Deprecated.
Retrieves the width for the right-hand side of the border.
|
java.awt.Color |
getBorderTopColor()
Deprecated.
Retrieves the color for the top side of the border.
|
int |
getBorderTopStyle()
Deprecated.
Retrieves the style for the top side of the border.
|
int |
getBorderTopWidth()
Deprecated.
Retrieves the width for the top side of the border.
|
int |
getCellEditStyle()
Deprecated.
Retrieves the edit style for a
GridView databody cell. |
java.awt.Color |
getEditBackground()
Deprecated.
Retrieves the background color of editable cells in the databody of
a crosstab or table.
|
java.awt.Color |
getEditForeground()
Deprecated.
Retrieves the foreground color for cells that can be edited in the
databody of a table or crosstab.
|
java.lang.String |
getFontName()
Deprecated.
Retrieves the font name of the font for the text.
|
int |
getFontSize()
Deprecated.
Retrieves the size of the font for the text.
|
java.awt.Color |
getForeground()
Deprecated.
Retrieves the color for the foreground.
|
java.awt.Color |
getGraphicBarColor()
Deprecated.
Retrieves the color of the graphic bar in the databody cell of a table or
crosstab.
|
int |
getGraphicImageIndex()
Deprecated.
Retrieves the index of the graphic image.
|
java.lang.String |
getGraphicImageTooltip()
Deprecated.
Retrieves the text of the tooltip that is displayed when an end user's
mouse hovers over the graphic image.
|
int |
getHorizontalAlignment()
Deprecated.
Retrieves the horizontal alignment for the font within its rectangle.
|
java.awt.Color |
getSelectBackground()
Deprecated.
Retrieves the color for the background after it has been selected.
|
java.awt.Color |
getSelectForeground()
Deprecated.
Retrieves the color for the foreground after it has been selected.
|
int |
getVerticalAlignment()
Deprecated.
Retrieves the vertical alignment for the font within its rectangle.
|
boolean |
isDoubleUnderline()
Deprecated.
Indicates whether the text is underlined with two lines.
|
boolean |
isFontBold()
Deprecated.
Indicates whether this font is bold.
|
boolean |
isFontItalic()
Deprecated.
Indicates whether the font style for the text is italic.
|
boolean |
isGraphicBarVisible()
Deprecated.
Indicates whether a graphic bar appears in the databody cell of a Java-client
crosstab or table.
|
boolean |
isHPageBreak()
Deprecated.
Indicates whether the horizontal page break line is visible in the
databody of a table or crosstab.
|
boolean |
isStrikeThrough()
Deprecated.
Indicates whether the text has a line drawn through it.
|
boolean |
isUnderline()
Deprecated.
Indicates whether the text is underlined with one line.
|
boolean |
isVPageBreak()
Deprecated.
Indicates whether the vertical page break line is visible in the
databody of a crosstab or table.
|
boolean |
isWordWrapEnabled()
Deprecated.
Indicates whether the text is wrapped onto multiple lines.
|
void |
setBackground(java.awt.Color background)
Deprecated.
Specifies the color for the background.
|
void |
setBorderBottomColor(java.awt.Color borderColor)
Deprecated.
Specifies the color for the bottom side of the border.
|
void |
setBorderBottomStyle(int borderStyle)
Deprecated.
Specifies the style for the bottom side of the border.
|
void |
setBorderBottomWidth(int borderWidth)
Deprecated.
Specifies the width for the bottom side of the border.
|
void |
setBorderColor(java.awt.Color borderColor)
Deprecated.
Specifies the color for the all four sides of the borders.
|
void |
setBorderLeftColor(java.awt.Color borderColor)
Deprecated.
Specifies the color for the left-hand side of the border.
|
void |
setBorderLeftStyle(int borderStyle)
Deprecated.
Specifies the style for the left-hand side of the border.
|
void |
setBorderLeftWidth(int borderWidth)
Deprecated.
Specifies the width for the left-hand side of the border.
|
void |
setBorderRightColor(java.awt.Color borderColor)
Deprecated.
Specifies the color for the right-hand side of the border.
|
void |
setBorderRightStyle(int borderStyle)
Deprecated.
Specifies the style for the right-hand side of the border.
|
void |
setBorderRightWidth(int borderWidth)
Deprecated.
Specifies the width for the right-hand side of the border.
|
void |
setBorderStyle(int borderStyle)
Deprecated.
Specifies the style for the all four sides of the borders.
|
void |
setBorderTopColor(java.awt.Color borderColor)
Deprecated.
Specifies the color for the top side of the border.
|
void |
setBorderTopStyle(int borderStyle)
Deprecated.
Specifies the style for the top side of the border.
|
void |
setBorderTopWidth(int borderWidth)
Deprecated.
Specifies the width for the top side of the border.
|
void |
setBorderWidth(int borderWidth)
Deprecated.
Specifies the width for the all four sides of the borders.
|
void |
setCellEditStyle(int style)
Deprecated.
Specifies the edit style for a
GridView databody cell. |
void |
setDoubleUnderline(boolean doubleUnderline)
Deprecated.
Specifies whether the text is underlined with two lines.
|
void |
setEditBackground(java.awt.Color background)
Deprecated.
Specifies the background color for cells that can be edited
in the databody of a crosstab or table.
|
void |
setEditForeground(java.awt.Color foreground)
Deprecated.
Specifies the foreground color for cells that can be edited in the
databody of a crosstab or table.
|
void |
setFontBold(boolean bold)
Deprecated.
Specifies whether this fond is bold.
|
void |
setFontItalic(boolean isItalic)
Deprecated.
Specifies whether the font style for the text is italic.
|
void |
setFontName(java.lang.String fontName)
Deprecated.
Specifies the font name of the font for the text.
|
void |
setFontSize(int fontSize)
Deprecated.
Specifies the size of the font for the text.
|
void |
setForeground(java.awt.Color foreground)
Deprecated.
Specifies the color for the foreground.
|
void |
setGraphicBarColor(java.awt.Color color)
Deprecated.
Specifies the color of the graphic bar in a databody cell in a table or
crosstab.
|
void |
setGraphicBarVisible(boolean visible)
Deprecated.
Specifies whether a graphic bar appears in the databody cell of a Java-client
crosstab or table.
|
void |
setGraphicImageIndex(int graphicIndex)
Deprecated.
Specifies the index for the image that indicates that a user can
drill out from a
GridView cell. |
void |
setGraphicImageTooltip(java.lang.String tooltip)
Deprecated.
Specifies the text to display in a tooltip when an end user's mouse
hovers over the graphic image.
|
void |
setHorizontalAlignment(int halign)
Deprecated.
Specifies the horizontal alignment for the font within its rectangle.
|
void |
setHPageBreak(boolean hPageBreak)
Deprecated.
Specifies whether the horizontal page break line is visible in the
databody of a table or crosstab.
|
void |
setSelectBackground(java.awt.Color background)
Deprecated.
Specifies the color for the background after it has been selected.
|
void |
setSelectForeground(java.awt.Color foreground)
Deprecated.
Specifies the color for the foreground after it has been selected.
|
void |
setStrikeThrough(boolean bStrikeThrough)
Deprecated.
Specifies whether the text has a line drawn through it.
|
void |
setUnderline(boolean underline)
Deprecated.
Specifies whether the text is underlined with one line.
|
void |
setVerticalAlignment(int valign)
Deprecated.
Specifies the vertical alignment for the font within its rectangle.
|
void |
setVPageBreak(boolean vPageBreak)
Deprecated.
Specifies whether the vertical page break line is visible in the databody
of a crosstab or table.
|
void |
setWordWrapEnabled(boolean bWordWrapEnabled)
Deprecated.
Specifies whether the text is wrapped onto multiple lines.
|
ViewStyle |
toViewStyle()
Deprecated.
|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
protected static final java.lang.String BORDER_STYLE_SOLID
protected static final java.lang.String BORDER_STYLE_DASH
protected static final java.lang.String BORDER_STYLE_DOT
protected static final java.lang.String BORDER_STYLE_DOUBLE
protected int m_defaultHorizontalAlignment
protected int m_defaultVerticalAlignment
protected boolean m_defaultUnderline
protected boolean m_defaultStrikeThrough
protected boolean m_defaultWordWrapEnabled
protected java.awt.Color m_defaultBorderColor
protected int m_defaultBorderWidth
protected int m_defaultBorderStyle
protected int m_defaultGraphicImageIndex
protected java.lang.String m_defaultGraphicImageTooltip
protected boolean m_defaultGraphicBarVisible
protected java.awt.Color m_defaultGraphicBarColor
protected int m_defaultCellEditStyle
protected java.awt.Color m_defaultEditBackground
protected java.awt.Color m_defaultEditForeground
protected boolean m_defaultHPageBreak
protected boolean m_defaultVPageBreak
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey BACKGROUND_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FOREGROUND_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey HORIZONTAL_ALIGNMENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VERTICAL_ALIGNMENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey UNDERLINE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DOUBLE_UNDERLINE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STRIKE_THROUGH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey WORD_WRAP_ENABLED_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_TOP_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_BOTTOM_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_LEFT_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_RIGHT_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_TOP_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_BOTTOM_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_LEFT_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_RIGHT_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_TOP_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_BOTTOM_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_LEFT_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_RIGHT_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FONT_NAME_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FONT_SIZE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FONT_BOLD_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FONT_ITALIC_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SELECT_BACKGROUND_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SELECT_FOREGROUND_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey GRAPHIC_IMAGE_INDEX_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey GRAPHIC_IMAGE_TOOLTIP_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey GRAPHIC_BAR_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey GRAPHIC_BAR_VISIBLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CELL_EDIT_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey EDIT_BACKGROUND_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey EDIT_FOREGROUND_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey HORIZONTAL_PAGE_BREAK_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VERTICAL_PAGE_BREAK_KEY
public CellStyle()
public CellStyle(ViewStyle viewStyle)
public void setBackground(java.awt.Color background)
background
- The color for the background.public java.awt.Color getBackground()
public void setForeground(java.awt.Color foreground)
foreground
- The color for the foreground.public java.awt.Color getForeground()
public void setHorizontalAlignment(int halign)
swing
constants for horizontal alignment are LEFT, CENTER,
RIGHT and LEADING.
This method also sets the HorizontalAlignmentUsed
property
to true
.horizontalAlignment
- A swing
constant that represents the horizontal alignment of the font within its rectangle.public int getHorizontalAlignment()
swing
constants for horizontal alignment are LEFT, CENTER, RIGHT AND LEADING.swing
constant that represents the horizontal alignment of the font within its rectangle.public void setVerticalAlignment(int valign)
swing
constants for vertical alignment are TOP, CENTER, and BOTTOM.
This method also sets the VerticalAlignmentUsed
property to true
.
Note: In Netscape 4.x, VerticalAlignment is not supported in cells that have images, either drill images or graphic images.
verticalAlignment
- A swing
constant that represents the vertical alignment of the font within its rectangle.public int getVerticalAlignment()
swing
constants for vertical alignment are TOP, CENTER, and BOTTOM.
Note: In Netscape 4.x, VerticalAlignment is not supported in cells that have images, either drill images or graphic images.
swing
constant that represents the vertical alignment of the font within its rectangle.public void setUnderline(boolean underline)
UnderlineUsed
property to true
.underline
- true
to underline the text with one line, false
to prevent the text from being underlined with one line.public boolean isUnderline()
true
if the text is underlined with one line, false
if the text is not underlined with one line.public void setDoubleUnderline(boolean doubleUnderline)
setUnderline
method to false
.
Note: This property is ignored by thin presentation beans.
doubleUnderline
- true
to underline the text with two lines, false
to prevent the text from being underlined with two lines.public boolean isDoubleUnderline()
setUnderline
method to false
.
Note: This property is ignored by thin presentation beans.
true
if the text is underlined with two lines, false
if the text is not underlined with two lines.public void setStrikeThrough(boolean bStrikeThrough)
strikeThrough
- true
to draw a line through the text, false
to display the text without a line through it.public boolean isStrikeThrough()
true
if the text has a line drawn through it, false
if the text is displayed without a line drawn through it.public void setWordWrapEnabled(boolean bWordWrapEnabled)
WordWrapEnabledUsed
property to true
.wordWrapEnabled
- true
to wrap the text onto multiple lines, false
to prevent the text from being wrapped onto multiple lines.public boolean isWordWrapEnabled()
true
if the text is wrapped onto multiple lines, false
if the text is not wrapped onto multiple lines.public void setBorderColor(java.awt.Color borderColor)
In order to see the border color, the BorderStyle
and
BorderWidth
properties must be set so that the border can
be perceived.
public void setBorderTopColor(java.awt.Color borderColor)
In order to see the border color, the BorderTopStyle
and
BorderTopWidth
properties must be set so that the border can
be perceived.
public java.awt.Color getBorderTopColor()
public void setBorderBottomColor(java.awt.Color borderColor)
In order to see the border color, the BorderBottomStyle
and
BorderBottomWidth
properties must be set so that the border can
be perceived.
public java.awt.Color getBorderBottomColor()
public void setBorderLeftColor(java.awt.Color borderColor)
In order to see the border color, the BorderLeftStyle
and
BorderLeftWidth
properties must be set so that the border can
be perceived.
public java.awt.Color getBorderLeftColor()
public void setBorderRightColor(java.awt.Color borderColor)
In order to see the border color, the BorderRightStyle
and
BorderRightWidth
properties must be set so that the border can
be perceived.
public java.awt.Color getBorderRightColor()
public void setBorderWidth(int borderWidth)
In order to see the border width, the BorderWidth
and
BorderWidth
properties must be set so that the border can
be perceived.
public void setBorderTopWidth(int borderWidth)
In order to see the border width, the BorderTopWidth
and
BorderTopWidth
properties must be set so that the border can
be perceived.
public int getBorderTopWidth()
public void setBorderBottomWidth(int borderWidth)
In order to see the border width, the BorderBottomWidth
and
BorderBottomWidth
properties must be set so that the border can
be perceived.
public int getBorderBottomWidth()
public void setBorderLeftWidth(int borderWidth)
In order to see the border width, the BorderLeftWidth
and
BorderLeftWidth
properties must be set so that the border can
be perceived.
public int getBorderLeftWidth()
public void setBorderRightWidth(int borderWidth)
In order to see the border width, the BorderRightWidth
and
BorderRightWidth
properties must be set so that the border can
be perceived.
public int getBorderRightWidth()
public void setBorderStyle(int borderStyle)
In order to see the border style, the BorderStyle
and
BorderWidth
properties must be set so that the border can
be perceived.
public void setBorderTopStyle(int borderStyle)
In order to see the border style, the BorderTopStyle
and
BorderTopWidth
properties must be set so that the border can
be perceived.
public int getBorderTopStyle()
public void setBorderBottomStyle(int borderStyle)
In order to see the border style, the BorderBottomStyle
and
BorderBottomWidth
properties must be set so that the border can
be perceived.
public int getBorderBottomStyle()
public void setBorderLeftStyle(int borderStyle)
In order to see the border style, the BorderLeftStyle
and
BorderLeftWidth
properties must be set so that the border can
be perceived.
public int getBorderLeftStyle()
public void setBorderRightStyle(int borderStyle)
In order to see the border style, the BorderRightStyle
and
BorderRightWidth
properties must be set so that the border can
be perceived.
public int getBorderRightStyle()
public java.lang.String getFontName()
public void setFontName(java.lang.String fontName)
fontName
- The font name of the font for the text.public int getFontSize()
public void setFontSize(int fontSize)
fontSize
- The size of the font for the text.
fontSize
must be a positive number. If
it is not, then this method logs an error with the
error handler and does not change the font size.public boolean isFontBold()
true
if the font is bold,
false
if it is not.public void setFontBold(boolean bold)
bold
- true
to make the font bold,
false
to make it not bold.public boolean isFontItalic()
true
if the font style is italic,
false
if the font style is not italic.public void setFontItalic(boolean isItalic)
isItalic
- true
to make the font style italic,
false
to prohibit the font style from being italic.public void setSelectBackground(java.awt.Color background)
background
- The color for the background after it has been selected.public java.awt.Color getSelectBackground()
public void setSelectForeground(java.awt.Color foreground)
SelectForegroundUsed
property to true
.foreground
- The color for the foreground after it has been selected.public java.awt.Color getSelectForeground()
public void setGraphicImageIndex(int graphicIndex)
GridView
cell.
Calling this method places a drill out image into the header or databody
cells that this ViewStyle
applies to.
When an end user clicks the graphic image in a cell, then
the GridView
sends a drill out event to the
GridViewDataListener
.
index
- The index of the graphic image in the image list that is
configured by calling GridView.setGraphicImage
.oracle.dss.gridView.GridView#setGraphicImage
,
oracle.dss.gridView.GridViewDataListener
public int getGraphicImageIndex()
setGraphicImageIndex(int)
public void setGraphicImageTooltip(java.lang.String tooltip)
tooltip
- The tooltip for the graphic image.setGraphicImageIndex(int)
public java.lang.String getGraphicImageTooltip()
getGraphicImageIndex()
public void setCellEditStyle(int style)
GridView
databody cell.
Note: Thin tables and crosstabs support this property, while Java-client tables and crosstabs do not. Neither graphs nor thin graphs support this property.
style
- A constant that indicates the edit style. Valid constants
are listed in the See Also section.#CELL_EDITABLE
,
#CELL_NOT_EDITABLE
public int getCellEditStyle()
GridView
databody cell.
Note: Thin tables and crosstabs support this property, while Java-client tables and crosstabs do not. Neither graphs nor thin graphs support this property.
#CELL_EDITABLE
,
#CELL_NOT_EDITABLE
public void setEditBackground(java.awt.Color background)
EditBackgroundUsed
property
to true
.background
- The color for the background of editable cells.public java.awt.Color getEditBackground()
public void setEditForeground(java.awt.Color foreground)
EditForegroundUsed
property
to true
.foreground
- The color for the foreground of cells that can be
edited.public java.awt.Color getEditForeground()
public void setGraphicBarColor(java.awt.Color color)
color
is not specified, then
a default color is calculated.
This method also sets the GraphicBarColorUsed
property
to true
.
Note: Thin presentation beans do not support this
property in Netscape 4.x.
In Java-client GridView
objects, graphical bars work
with positive ratios only.
color
- The color for the graphic bar.public java.awt.Color getGraphicBarColor()
Note: Thin presentation beans do not support this
property.
In Java-client GridView
objects, graphical bars work
with positive ratios only.
public void setGraphicBarVisible(boolean visible)
GraphicBarVisibleUsed
property
to true
.
Note: Thin presentation beans do not support this
property.
In Java-client GridView
objects, graphical bars work
with positive ratios only.
visible
- true
to display a graphic bar,
false
not to display it.public boolean isGraphicBarVisible()
Note: Thin presentation beans do not support this
property.
In Java-client GridView
objects, graphical bars work
with positive ratios only.
true
if a graphic bar is visible,
false
if it is not.public void setHPageBreak(boolean hPageBreak)
HPageBreakUsed
property to
true
.visible
- true
to display the horizontal page break line,
false
to hide it.public boolean isHPageBreak()
true
if the horizontal page break line is visible,
false
if it is not.public void setVPageBreak(boolean vPageBreak)
VPageBreakUsed
property to
true
.visible
- true
to display the vertical page break line,
false
to hide it.public boolean isVPageBreak()
true
if the vertical page break line is visible,
false
if it is not.public ViewStyle toViewStyle()
public void copyProperties(ViewStyle viewStyle)
public static int convertJSPBorderStyleToInt(java.lang.String style)
string
- the String representing the value of BorderStylepublic static int convertJSPHorizontalAlignmentToInt(java.lang.String hAlign)
string
- the String representing the value of HorizontalAlignmentpublic static int convertJSPVerticalAlignmentToInt(java.lang.String vAlign)
string
- the String representing the value of VerticalAlignmentprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase