Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

oracle.dss.dataView.managers
Class ViewStyle

java.lang.Object
  extended by oracle.bali.ewt.graphics.Appearance
      extended by oracle.dss.dataView.managers.ViewStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, FontAttribute, Mergeable, MergeableXML

public class ViewStyle
extends oracle.bali.ewt.graphics.Appearance
implements MergeableXML, FontAttribute, java.io.Serializable, java.lang.Cloneable

Must Import Oracle JEWT library to use this Contains style properties.

Note: While thin presentation beans use ViewStyle objects to specify styles for components, thin beans use only a subset of the style properties. Descriptions of individual methods describe HTML-client differences.

See Also:
Serialized Form

Field Summary
static java.lang.String a_background
           
protected static java.lang.String a_backgroundUsed
           
static java.lang.String a_borderBottomColor
           
protected static java.lang.String a_borderBottomColorUsed
           
static java.lang.String a_borderBottomStyle
           
protected static java.lang.String a_borderBottomStyleUsed
           
static java.lang.String a_borderBottomWidth
           
protected static java.lang.String a_borderBottomWidthUsed
           
static java.lang.String a_borderColor
           
protected static java.lang.String a_borderColorUsed
           
static java.lang.String a_borderLeftColor
           
protected static java.lang.String a_borderLeftColorUsed
           
static java.lang.String a_borderLeftStyle
           
protected static java.lang.String a_borderLeftStyleUsed
           
static java.lang.String a_borderLeftWidth
           
protected static java.lang.String a_borderLeftWidthUsed
           
static java.lang.String a_borderRightColor
           
protected static java.lang.String a_borderRightColorUsed
           
static java.lang.String a_borderRightStyle
           
protected static java.lang.String a_borderRightStyleUsed
           
static java.lang.String a_borderRightWidth
           
protected static java.lang.String a_borderRightWidthUsed
           
static java.lang.String a_borderTopColor
           
protected static java.lang.String a_borderTopColorUsed
           
static java.lang.String a_borderTopStyle
           
protected static java.lang.String a_borderTopStyleUsed
           
static java.lang.String a_borderTopWidth
           
protected static java.lang.String a_borderTopWidthUsed
           
static java.lang.String a_borderWidth
           
protected static java.lang.String a_borderWidthUsed
           
static java.lang.String a_cellEditStyle
           
protected static java.lang.String a_cellEditStyleUsed
           
static java.lang.String a_doubleUnderline
           
protected static java.lang.String a_doubleUnderlineUsed
           
protected static java.lang.String a_drillOutLinksUsed
           
static java.lang.String a_editBackground
           
protected static java.lang.String a_editBackgroundUsed
           
static java.lang.String a_editForeground
           
protected static java.lang.String a_editForegroundUsed
           
static java.lang.String a_fontBold
           
protected static java.lang.String a_fontBoldUsed
           
static java.lang.String a_fontItalic
           
protected static java.lang.String a_fontItalicUsed
           
static java.lang.String a_fontName
           
protected static java.lang.String a_fontNameUsed
           
static java.lang.String a_fontSize
           
protected static java.lang.String a_fontSizeUsed
           
static java.lang.String a_foreground
           
protected static java.lang.String a_foregroundUsed
           
static java.lang.String a_graphicBarColor
           
protected static java.lang.String a_graphicBarColorUsed
           
static java.lang.String a_graphicBarVisible
           
protected static java.lang.String a_graphicBarVisibleUsed
           
static java.lang.String a_graphicImageIndex
           
protected static java.lang.String a_graphicImageIndexUsed
           
static java.lang.String a_graphicImageTooltip
           
protected static java.lang.String a_graphicImageTooltipUsed
           
static java.lang.String a_horizontalAlignment
           
protected static java.lang.String a_horizontalAlignmentUsed
           
static java.lang.String a_hPageBreak
           
protected static java.lang.String a_hPageBreakUsed
           
static java.lang.String a_selectBackground
           
protected static java.lang.String a_selectBackgroundUsed
           
static java.lang.String a_selectForeground
           
protected static java.lang.String a_selectForegroundUsed
           
static java.lang.String a_strikeThrough
           
protected static java.lang.String a_strikeThroughUsed
           
static java.lang.String a_underline
           
protected static java.lang.String a_underlineUsed
           
static java.lang.String a_verticalAlignment
           
protected static java.lang.String a_verticalAlignmentUsed
           
static java.lang.String a_vPageBreak
           
protected static java.lang.String a_vPageBreakUsed
           
static java.lang.String a_wordWrapEnabled
           
protected static java.lang.String a_wordWrapEnabledUsed
           
static int ALL_BORDERS
          All borders of the cell.
static int BACKGROUND
           
protected static java.lang.String border_style_dash
           
static int BORDER_STYLE_DASH
          Border style: dashed line.
protected static java.lang.String border_style_dash_dot_dot
           
static int BORDER_STYLE_DASH_DOT_DOT
          Border style: dash-dot-dot (_.._.._..).
protected static java.lang.String border_style_dot
           
static int BORDER_STYLE_DOT
          Border style: dotted line.
protected static java.lang.String border_style_dot_dash
           
static int BORDER_STYLE_DOT_DASH
          Border style: dot-dash (._._._).
protected static java.lang.String border_style_double
           
static int BORDER_STYLE_DOUBLE
          Border style: double line.
protected static java.lang.String border_style_no_line
           
static int BORDER_STYLE_NO_LINE
          Border style: no border.
protected static java.lang.String border_style_not_used
           
static int BORDER_STYLE_NOT_USED
          Border style: no border.
protected static java.lang.String border_style_solid
           
static int BORDER_STYLE_SOLID
          Border style: solid line.
static int BORDERBOTTOMCOLOR
           
static int BORDERBOTTOMSTYLE
           
static int BORDERBOTTOMWIDTH
           
static int BORDERCOLOR
           
static int BORDERLEFTCOLOR
           
static int BORDERLEFTSTYLE
           
static int BORDERLEFTWIDTH
           
static int BORDERRIGHTCOLOR
           
static int BORDERRIGHTSTYLE
           
static int BORDERRIGHTWIDTH
           
static int BORDERTOPCOLOR
           
static int BORDERTOPSTYLE
           
static int BORDERTOPWIDTH
           
static int BORDERWIDTH
           
protected static java.lang.String bottom
           
static int BOTTOM_BORDER
          Bottom border of the cell.
protected static java.lang.String cell_editable
           
static int CELL_EDITABLE
          Cell Edit Style: Databody cell in a thin crosstab or table can be edited.
protected static java.lang.String cell_not_editable
           
static int CELL_NOT_EDITABLE
          Cell Edit Style: Databody cell in a thin crosstab or table cannot be edited.
static int CELLEDITSTYLE
           
static java.lang.String center
           
protected  int d_background
           
protected  int d_borderBottomColor
           
protected  int d_borderBottomStyle
           
protected  int d_borderBottomWidth
           
protected  int d_borderColor
           
protected  int d_borderLeftColor
           
protected  int d_borderLeftStyle
           
protected  int d_borderLeftWidth
           
protected  int d_borderRightColor
           
protected  int d_borderRightStyle
           
protected  int d_borderRightWidth
           
protected  int d_borderTopColor
           
protected  int d_borderTopStyle
           
protected  int d_borderTopWidth
           
protected  int d_borderWidth
           
protected  int d_cellEditStyle
           
protected  boolean d_doubleUnderline
           
protected  java.util.List d_drillOutLinks
           
protected  int d_editBackground
           
protected  int d_editForeground
           
protected  boolean d_fontBold
           
protected  boolean d_fontItalic
           
protected  java.lang.String d_fontName
           
protected  int d_fontSize
           
protected  int d_foreground
           
protected  int d_graphicBarColor
           
protected  boolean d_graphicBarVisible
           
protected  int d_graphicImageIndex
           
protected  java.lang.String d_graphicImageTooltip
           
protected  int d_horizontalAlignment
           
protected  boolean d_hPageBreak
           
protected  int d_selectBackground
           
protected  int d_selectForeground
           
protected  boolean d_strikeThrough
           
protected  boolean d_underline
           
protected  int d_verticalAlignment
           
protected  boolean d_vPageBreak
           
protected  boolean d_wordWrapEnabled
           
protected static java.awt.Color defaultBackground
           
protected static java.awt.Color defaultForeground
           
protected static java.awt.Color defaultSelectBackground
           
protected static java.awt.Color defaultSelectForeground
           
static int DOUBLEUNDERLINE
           
protected static java.lang.String DRILL_OUT_LINKS_NAME
           
static int DRILLOUTLINKS
           
static int EDITBACKGROUND
           
static int EDITFOREGROUND
           
static int FONT
           
static int FONTBOLD
           
static int FONTITALIC
           
static int FONTNAME
           
static int FONTSIZE
           
static int FOREGROUND
           
static int GRAPHICBARCOLOR
           
static int GRAPHICBARVISIBLE
           
static int GRAPHICIMAGEINDEX
           
static int GRAPHICIMAGETOOLTIP
           
static int HORIZONTALALIGNMENT
           
static int HPAGEBREAK
           
static java.lang.String leading
           
static java.lang.String left
           
static int LEFT_BORDER
          Left border of the cell.
protected  java.awt.Color m_borderBottomColor
           
protected  int m_borderBottomStyle
           
protected  int m_borderBottomWidth
           
protected  java.awt.Color m_borderColor
           
protected  java.awt.Color m_borderLeftColor
           
protected  int m_borderLeftStyle
           
protected  int m_borderLeftWidth
           
protected  java.awt.Color m_borderRightColor
           
protected  int m_borderRightStyle
           
protected  int m_borderRightWidth
           
protected  java.awt.Color m_borderTopColor
           
protected  int m_borderTopStyle
           
protected  int m_borderTopWidth
           
protected  int m_borderWidth
           
protected  boolean m_bUseCallback
           
protected  int m_cellEditStyle
           
protected  boolean m_doubleUnderline
           
protected  java.util.List m_drillOutLinks
           
protected  java.awt.Color m_editBackground
           
protected  java.awt.Color m_editForeground
           
protected  ErrorHandler m_eh
           
protected  java.awt.Font m_font
           
protected  boolean m_fontBold
           
protected  boolean m_fontItalic
           
protected  java.lang.String m_fontName
           
protected  int m_fontSize
           
protected  java.awt.Color m_graphicBarColor
           
protected  boolean m_graphicBarVisible
           
protected  int m_graphicImageIndex
           
protected  java.lang.String m_graphicImageTooltip
           
protected  boolean m_hPageBreak
           
protected  java.util.BitSet m_propertyUsedFlags
           
protected  boolean m_strikeThrough
           
protected  boolean m_underline
           
protected static java.lang.String m_version_2_2_0_11
           
protected  DataviewCommon m_view
           
protected  boolean m_vPageBreak
           
protected  ViewStyleCallback m_vsCallback
           
protected  boolean m_wordWrapEnabled
           
protected static java.lang.String NAME_VIEWSTYLE
           
protected static int NumberOfPropertyBits
           
protected  int od_background
           
protected  int od_borderBottomColor
           
protected  int od_borderBottomStyle
           
protected  int od_borderBottomWidth
           
protected  int od_borderColor
           
protected  int od_borderLeftColor
           
protected  int od_borderLeftStyle
           
protected  int od_borderLeftWidth
           
protected  int od_borderRightColor
           
protected  int od_borderRightStyle
           
protected  int od_borderRightWidth
           
protected  int od_borderTopColor
           
protected  int od_borderTopStyle
           
protected  int od_borderTopWidth
           
protected  int od_borderWidth
           
protected  int od_cellEditStyle
           
protected  boolean od_doubleUnderline
           
protected  java.util.List od_drillOutLinks
           
protected  int od_editBackground
           
protected  int od_editForeground
           
protected  boolean od_fontBold
           
protected  boolean od_fontItalic
           
protected  java.lang.String od_fontName
           
protected  int od_fontSize
           
protected  int od_foreground
           
protected  int od_graphicBarColor
           
protected  boolean od_graphicBarVisible
           
protected  int od_graphicImageIndex
           
protected  java.lang.String od_graphicImageTooltip
           
protected  int od_horizontalAlignment
           
protected  boolean od_hPageBreak
           
protected  int od_selectBackground
           
protected  int od_selectForeground
           
protected  boolean od_strikeThrough
           
protected  boolean od_underline
           
protected  int od_verticalAlignment
           
protected  boolean od_vPageBreak
           
protected  boolean od_wordWrapEnabled
           
protected static boolean propertyUsed
           
static java.lang.String right
           
static int RIGHT_BORDER
          Right border of the cell.
protected static java.lang.String s_background
           
protected static java.lang.String s_backgroundUsed
           
protected static java.lang.String s_borderBottomColor
           
protected static java.lang.String s_borderBottomColorUsed
           
protected static java.lang.String s_borderBottomStyle
           
protected static java.lang.String s_borderBottomStyleUsed
           
protected static java.lang.String s_borderBottomWidth
           
protected static java.lang.String s_borderBottomWidthUsed
           
protected static java.lang.String s_borderLeftColor
           
protected static java.lang.String s_borderLeftColorUsed
           
protected static java.lang.String s_borderLeftStyle
           
protected static java.lang.String s_borderLeftStyleUsed
           
protected static java.lang.String s_borderLeftWidth
           
protected static java.lang.String s_borderLeftWidthUsed
           
protected static java.lang.String s_borderRightColor
           
protected static java.lang.String s_borderRightColorUsed
           
protected static java.lang.String s_borderRightStyle
           
protected static java.lang.String s_borderRightStyleUsed
           
protected static java.lang.String s_borderRightWidth
           
protected static java.lang.String s_borderRightWidthUsed
           
protected static java.lang.String s_borderTopColor
           
protected static java.lang.String s_borderTopColorUsed
           
protected static java.lang.String s_borderTopStyle
           
protected static java.lang.String s_borderTopStyleUsed
           
protected static java.lang.String s_borderTopWidth
           
protected static java.lang.String s_borderTopWidthUsed
           
protected static java.lang.String s_borderWidthUsed
           
protected static java.lang.String s_drillOutLinks
           
protected static java.lang.String s_drillOutLinksUsed
           
protected static java.lang.String s_fontBold
           
protected static java.lang.String s_fontBoldUsed
           
protected static java.lang.String s_fontItalic
           
protected static java.lang.String s_fontItalicUsed
           
protected static java.lang.String s_foreground
           
protected static java.lang.String s_foregroundUsed
           
protected static java.lang.String s_underline
           
protected static java.lang.String s_underlineUsed
           
static int SELECTBACKGROUND
           
static int SELECTFOREGROUND
           
static int STRIKETHROUGH
           
protected static java.lang.String top
           
static int TOP_BORDER
          Top border of the cell.
static int UNDERLINE
           
static int VERTICALALIGNMENT
           
protected static int VIEWSTYLE_END
           
static int VPAGEBREAK
           
static int WORDWRAPENABLED
           
 
Fields inherited from class oracle.bali.ewt.graphics.Appearance
HORIZONTAL_JUSTIFY_CENTER, HORIZONTAL_JUSTIFY_DEFAULT, HORIZONTAL_JUSTIFY_LEFT, HORIZONTAL_JUSTIFY_RIGHT, VERTICAL_JUSTIFY_BOTTOM, VERTICAL_JUSTIFY_MIDDLE, VERTICAL_JUSTIFY_TOP
 
Constructor Summary
ViewStyle()
          Constructor that uses default ViewStyle values.
ViewStyle(java.awt.Color bg, java.awt.Color fg, java.awt.Font font, int hj, int vj, boolean underline, boolean doubleunderline, boolean strikethrough, boolean wrap, java.awt.Color bc, int bw, int bls, int brs, int bts, int bbs, java.awt.Color sbg, java.awt.Color sfg)
           
ViewStyle(java.awt.Color bg, java.awt.Color fg, java.lang.String fname, int fsize, boolean fbold, boolean fitalic, int hj, int vj, boolean underline, boolean doubleunderline, boolean strikethrough, boolean wrap, java.awt.Color bc, int bw, int bls, int brs, int bts, int bbs, java.awt.Color sbg, java.awt.Color sfg)
           
ViewStyle(DataviewCommon view, oracle.bali.ewt.graphics.Appearance app)
           
ViewStyle(DataviewCommon view, ViewStyle vs)
           
ViewStyle(java.lang.String styleString)
           
 
Method Summary
 void clearUsedBits()
          Sets all of the "used" ViewStyle properties to false.
 java.lang.Object clone()
          Clones this ViewStyle object.
 boolean contains(ViewStyle vs)
          Indicates whether the specified object is a subset of this ViewStyle object.
protected static java.lang.String convertCellEditStyleIntToString(int style)
           
protected static int convertCellEditStyleStringToInt(java.lang.String string)
           
 oracle.bali.ewt.graphics.Appearance copy()
           
static java.util.BitSet createDifferencesBitSet(int attributeId)
           
static java.util.BitSet createDifferencesBitSet(ViewStyle vs1, ViewStyle vs2)
           
 boolean equals(java.lang.Object o)
          Indicates whether the specified object is equivalent to this ViewStyle object.
static int fontStyle(boolean bold, boolean italic)
           
 java.awt.Color getBackground()
          Retrieves the color for the background.
 java.awt.Color getBorderColor(int side)
          Retrieves the color for the border.
 int getBorderStyle(int side)
          Retrieves the style for the border.
 int getBorderWidth(int side)
          Retrieves the width for the border.
 int getCellEditStyle()
          Retrieves the edit style for a GridView databody cell.
static java.awt.Color getDefaultBackground()
           
static java.awt.Font getDefaultFont()
           
static java.awt.Color getDefaultForeground()
           
static java.awt.Color getDefaultSelectBackground()
           
static java.awt.Color getDefaultSelectForeground()
           
 java.util.List getDrillOutLinks()
           
 java.awt.Color getEditBackground()
          Retrieves the background color of editable cells in the databody of a crosstab or table.
 java.awt.Color getEditForeground()
          Retrieves the foreground color for cells that can be edited in the databody of a table or crosstab.
 ErrorHandler getErrorHandler()
           
 java.awt.Font getFont()
          Retrieves a Font object for the text.
 java.lang.String getFontName()
          Retrieves the name of the font for the text.
 int getFontSize()
          Retrieves the size of the font for the text.
 int getFontStyle()
          Retrieves the font style for the text, such as bold, italic, or plain.
 java.awt.Color getForeground()
          Retrieves the color for the foreground.
 java.awt.Color getGraphicBarColor()
          Retrieves the color of the graphic bar in the databody cell of a table or crosstab.
 int getGraphicImageIndex()
          Retrieves the index of the graphic image.
 java.lang.String getGraphicImageTooltip()
          Retrieves the text of the tooltip that is displayed when an end user's mouse hovers over the graphic image.
 int getHorizontalAlignment()
          Retrieves the horizontal alignment for the font within its rectangle.
 java.util.BitSet getPropertyUsedFlags()
           
 java.awt.Color getSelectBackground()
          Retrieves the color for the background after it has been selected.
 java.awt.Color getSelectForeground()
          Retrieves the color for the foreground after it has been selected.
 oracle.dss.util.xml.ObjectNode getStateAsObjectNode(java.lang.String nodeName, ViewStyle baseState)
           
 int getVerticalAlignment()
          Retrieves the vertical alignment for the font within its rectangle.
 DataviewCommon getView()
           
 ViewStyleCallback getViewStyleCallback()
           
 oracle.dss.util.xml.ObjectNode getXML(boolean allProperties)
           
 oracle.dss.util.xml.ObjectNode getXML(boolean allProperties, boolean emptyElement)
          Retrieves XML that represents properties and their values in the form of and ObjectNode.
 oracle.dss.util.xml.ObjectNode getXML(boolean allProperties, int hAlignment, int vAlignment)
           
static int hexStringToInt(java.lang.String str)
           
protected  void init(DataviewCommon view, oracle.bali.ewt.graphics.Appearance app)
           
protected  void initCustomDefaults(java.awt.Color bg, java.awt.Color fg, java.awt.Color sbg, java.awt.Color sfg, int hj, int vj, boolean underline, boolean doubleunderline, boolean strikethrough, boolean wrap, java.awt.Color bc, int bw, int bls, int brs, int bts, int bbs, java.lang.String fname, int fsize, boolean fbold, boolean fitalic)
           
protected  void initDefaults()
           
 void initWithString(java.lang.String s)
           
 boolean isAnythingOverridden()
          Indicates whether any of the properties of this ViewSizing has been explicitly set.
 boolean isBackgroundUsed()
          Indicates whether the background property has been explicitly set.
 boolean isBorderApplied()
           
 boolean isBorderColorUsed(int side)
          Indicates whether the BorderColor property has been explicitly set.
 boolean isBorderStyleUsed(int side)
          Indicates whether the BorderStyle property has been explicitly set.
 boolean isBorderWidthUsed(int side)
          Indicates whether the BorderWidth property has been explicitly set.
 boolean isCellEditStyleUsed()
          Indicates whether the CellEditStyle property has been explicitly set.
 boolean isDoubleUnderline()
          Indicates whether the text is underlined with two lines.
 boolean isDoubleUnderlineUsed()
          Indicates whether the DoubleUnderline property has been explicitly set.
 boolean isDrillOutLinksUsed()
           
 boolean isEditBackgroundUsed()
          Indicates whether the EditBackground property has been explicitly set.
 boolean isEditForegroundUsed()
          Indicates whether the EditForeground property has explicitly been set.
 boolean isFontBold()
          Indicates whether the font style for the text is bold.
 boolean isFontBoldUsed()
          Indicates whether the FontBold property has been explicitly set.
 boolean isFontItalic()
          Indicates whether the font style for the text is italic.
 boolean isFontItalicUsed()
          Indicates whether the FontItalic property has been explicitly set.
 boolean isFontNameUsed()
          Indicates whether the FontName property has been explicitly set.
 boolean isFontSizeUsed()
          Indicates whether the FontSize property has been explicitly set.
 boolean isFontUsed()
          Indicates whether any of certain font properties has been explicitly set.
 boolean isForegroundUsed()
          Indicates whether the Foreground property has been explicitly set.
 boolean isGraphicBarColorUsed()
          Indicates whether the GraphicBarColor property has been explicitly set.
 boolean isGraphicBarVisible()
          Indicates whether a graphic bar appears in the databody cell of a Java-client crosstab or table.
 boolean isGraphicBarVisibleUsed()
          Indicates whether the GraphicBarVisible property has been explicitly set.
 boolean isGraphicImageIndexUsed()
          Indicates whether the GraphicImageIndex property has been explicitly set.
 boolean isGraphicImageTooltipUsed()
          Indicates whether the GraphicImageTooltip property has been explicitly set.
 boolean isHorizontalAlignmentUsed()
          Indicates whether the HorizontalAlignment property has been explicitly set.
 boolean isHPageBreak()
          Indicates whether the horizontal page break line is visible in the databody of a table or crosstab.
 boolean isHPageBreakUsed()
          Indicates whether the HPageBreak property has been explicitly set.
 boolean isSelectBackgroundUsed()
          Indicates whether the SelectBackground property has been explicitly set.
 boolean isSelectForegroundUsed()
          Indicates whether the SelectForeground property has been explicitly set.
 boolean isStrikeThrough()
          Indicates whether the text has a line drawn through it.
 boolean isStrikeThroughUsed()
          Indicates whether the StrikeThrough property has been explicitly set.
 boolean isUnderline()
          Indicates whether the text is underlined with one line.
 boolean isUnderlineUsed()
          Indicates whether the Underline property has been explicitly set.
 boolean isVerticalAlignmentUsed()
          Indicates whether the VerticalAlignment property has been explicitly set.
 boolean isVPageBreak()
          Indicates whether the vertical page break line is visible in the databody of a crosstab or table.
 boolean isVPageBreakUsed()
          Indicates whether the VPageBreak property has been explicitly set.
 boolean isWordWrapEnabled()
          Indicates whether the text is wrapped onto multiple lines.
 boolean isWordWrapEnabledUsed()
          Indicates whether the WordWrapEnabled property has been explicitly set.
 void merge(Mergeable from)
          Merges the specified ViewStyle object with this object.
 void mergeDefaults(ViewStyle from)
          Merges the specified ViewStyle object with this object.
protected  void resetCustomDefaultsToOriginalValues()
           
 void resetToDefault(int reset)
           
 ViewStyle scaleStyle(java.awt.Font f)
           
 void setBackground(java.awt.Color background)
          Specifies the color for the background.
 void setBackgroundUsed(boolean used)
          Specifies whether the background property has been explicitly set.
protected  void setBorder()
           
 void setBorderApplied(boolean b)
           
 void setBorderColor(int side, java.awt.Color borderColor)
          Specifies the color for the border.
 void setBorderColorUsed(int side, boolean used)
          Specifies whether the BorderColor property has been explicitly set.
 void setBorderStyle(int side, int borderStyle)
          Specifies the style for the border.
 void setBorderStyleUsed(int side, boolean used)
          Specifies whether the BorderStyle property has been explicitly set.
 void setBorderWidth(int side, int borderWidth)
          Specifies the width for the border.
 void setBorderWidthUsed(int side, boolean used)
          Specifies whether the BorderWidth property has been explicitly set.
 void setCellEditStyle(int style)
          Specifies the edit style for a GridView databody cell.
 void setCellEditStyleUsed(boolean used)
          Specifies whether the CellEditStyle property has been explicitly set.
 void setDoubleUnderline(boolean doubleUnderline)
          Specifies whether the text is underlined with two lines.
 void setDoubleUnderlineUsed(boolean used)
          Specifies whether the DoubleUnderline property has been explicitly set.
 void setDrillOutLinks(java.util.List drillOutLinks)
           
 void setDrillOutLinksUsed(boolean used)
           
 void setEditBackground(java.awt.Color background)
          Specifies the background color for cells that can be edited in the databody of a crosstab or table.
 void setEditBackgroundUsed(boolean used)
          Specifies whether the EditBackground property has been explicitly set.
 void setEditForeground(java.awt.Color foreground)
          Specifies the foreground color for cells that can be edited in the databody of a crosstab or table.
 void setEditForegroundUsed(boolean used)
          Specifies whether the EditForeground property has been explicitly set.
 void setErrorHandler(ErrorHandler eh)
          Specifies the error handler for this ViewStyle.
 void setFont(java.awt.Font font)
          Specifies a Font object for the text.
 void setFontBold(boolean fontBold)
          Specifies whether the font style for the text is bold.
 void setFontBoldUsed(boolean used)
          Specifies whether the FontBold property has been explicitly set.
 void setFontItalic(boolean fontItalic)
          Specifies whether the font style for the text is italic.
 void setFontItalicUsed(boolean used)
          Specifies whether the FontItalic property has been explicitly set.
 void setFontName(java.lang.String fontName)
          Specifies the name of the font for the text.
 void setFontNameUsed(boolean used)
          Specifies whether the FontName property has been explicitly set.
 void setFontSize(int fontSize)
          Specifies the size of the font for the text.
 void setFontSizeUsed(boolean used)
          Specifies whether the FontSize property has been explicitly set.
 void setFontUsed(boolean used)
          Specifies whether the Font property has been explicitly set.
 void setForeground(java.awt.Color foreground)
          Specifies the color for the foreground.
 void setForegroundUsed(boolean used)
          Specifies whether the Foreground property has been explicitly set.
 void setGraphicBarColor(java.awt.Color color)
          Specifies the color of the graphic bar in a databody cell in a table or crosstab.
 void setGraphicBarColorUsed(boolean used)
          Specifies whether the GraphicBarColor property has been explicitly set.
 void setGraphicBarVisible(boolean visible)
          Specifies whether a graphic bar appears in the databody cell of a Java-client crosstab or table.
 void setGraphicBarVisibleUsed(boolean used)
          Specifies whether the GraphicBarVisible property has been explicitly set.
 void setGraphicImageIndex(int index)
          Specifies the index for the image that indicates that a user can drill out from a GridView cell.
 void setGraphicImageIndexUsed(boolean used)
          Specifies whether the GraphicImageIndex property has been explicitly set.
 void setGraphicImageTooltip(java.lang.String tooltip)
          Specifies the text to display in a tooltip when an end user's mouse hovers over the graphic image.
 void setGraphicImageTooltipUsed(boolean used)
          Specifies whether the GraphicImageTooltip property has been explicitly set.
 void setHorizontalAlignment(int horizontalAlignment)
          Specifies the horizontal alignment for the font within its rectangle.
 void setHorizontalAlignmentUsed(boolean used)
          Specifies whether the HorizontalAlignment property has been explicitly set.
 void setHPageBreak(boolean b)
          Specifies whether the horizontal page break line is visible in the databody of a table or crosstab.
 void setHPageBreakUsed(boolean used)
          Specifies whether the HPageBreak property has been explicitly set.
 void setPropertyUsedFlags(java.util.BitSet bs)
           
 void setSelectBackground(java.awt.Color selectBackground)
          Specifies the color for the background after it has been selected.
 void setSelectBackgroundUsed(boolean used)
          Specifies whether the SelectBackground property has been explicitly set.
 void setSelectForeground(java.awt.Color selectForeground)
          Specifies the color for the foreground after it has been selected.
 void setSelectForegroundUsed(boolean used)
          Specifies whether the SelectForeground property has been explicitly set.
 void setStateAsObjectNode(oracle.dss.util.xml.ObjectNode node, ViewStyle baseState)
           
 void setStrikeThrough(boolean strikeThrough)
          Specifies whether the text has a line drawn through it.
 void setStrikeThroughUsed(boolean used)
          Specifies whether the StrikeThrough property has been explicitly set.
 void setUnderline(boolean underline)
          Specifies whether the text is underlined with one line.
 void setUnderlineUsed(boolean used)
          Specifies whether the Underline property has been explicitly set.
 void setVerticalAlignment(int verticalAlignment)
          Specifies the vertical alignment for the font within its rectangle.
 void setVerticalAlignmentUsed(boolean used)
          Specifies whether the VerticalAlignment property has been explicitly set.
 void setView(DataviewCommon view)
           
 void setViewStyleCallback(ViewStyleCallback vsc)
           
 void setVPageBreak(boolean b)
          Specifies whether the vertical page break line is visible in the databody of a crosstab or table.
 void setVPageBreakUsed(boolean used)
          Specifies whether the VPageBreak property has been explicitly set.
 void setWordWrapEnabled(boolean wordWrap)
          Specifies whether the text is wrapped onto multiple lines.
 void setWordWrapEnabledUsed(boolean used)
          Specifies whether the WordWrapEnabled property has been explicitly set.
 boolean setXML(oracle.dss.util.xml.ObjectNode node, java.lang.String version, int reset)
          Specifies XML that represents properties and values.
static java.lang.String toHexString(int value)
           
 
Methods inherited from class oracle.bali.ewt.graphics.Appearance
getBorderPainter, getHorizontalJustify, getInsets, getReadingDirection, getSelectFont, getVerticalJustify, hashCode, setBorderPainter, setHorizontalJustify, setInsets, setReadingDirection, setSelectFont, setVerticalJustify
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BORDER_STYLE_NOT_USED

public static final int BORDER_STYLE_NOT_USED
Border style: no border.

See Also:
Constant Field Values

BORDER_STYLE_SOLID

public static final int BORDER_STYLE_SOLID
Border style: solid line.

See Also:
Constant Field Values

BORDER_STYLE_DASH

public static final int BORDER_STYLE_DASH
Border style: dashed line.

See Also:
Constant Field Values

BORDER_STYLE_DOT

public static final int BORDER_STYLE_DOT
Border style: dotted line.

See Also:
Constant Field Values

BORDER_STYLE_DOT_DASH

public static final int BORDER_STYLE_DOT_DASH
Border style: dot-dash (._._._).

See Also:
Constant Field Values

BORDER_STYLE_DASH_DOT_DOT

public static final int BORDER_STYLE_DASH_DOT_DOT
Border style: dash-dot-dot (_.._.._..).

See Also:
Constant Field Values

BORDER_STYLE_DOUBLE

public static final int BORDER_STYLE_DOUBLE
Border style: double line.

See Also:
Constant Field Values

BORDER_STYLE_NO_LINE

public static final int BORDER_STYLE_NO_LINE
Border style: no border.

See Also:
Constant Field Values

s_background

protected static final java.lang.String s_background
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_foreground

protected static final java.lang.String s_foreground
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_underline

protected static final java.lang.String s_underline
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_fontBold

protected static final java.lang.String s_fontBold
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_fontItalic

protected static final java.lang.String s_fontItalic
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderLeftStyle

protected static final java.lang.String s_borderLeftStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderRightStyle

protected static final java.lang.String s_borderRightStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderTopStyle

protected static final java.lang.String s_borderTopStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderBottomStyle

protected static final java.lang.String s_borderBottomStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderLeftColor

protected static final java.lang.String s_borderLeftColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderRightColor

protected static final java.lang.String s_borderRightColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderTopColor

protected static final java.lang.String s_borderTopColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderBottomColor

protected static final java.lang.String s_borderBottomColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderLeftWidth

protected static final java.lang.String s_borderLeftWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderRightWidth

protected static final java.lang.String s_borderRightWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderTopWidth

protected static final java.lang.String s_borderTopWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderBottomWidth

protected static final java.lang.String s_borderBottomWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_drillOutLinks

protected static final java.lang.String s_drillOutLinks
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_backgroundUsed

protected static final java.lang.String s_backgroundUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_foregroundUsed

protected static final java.lang.String s_foregroundUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_underlineUsed

protected static final java.lang.String s_underlineUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_fontBoldUsed

protected static final java.lang.String s_fontBoldUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_fontItalicUsed

protected static final java.lang.String s_fontItalicUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderLeftStyleUsed

protected static final java.lang.String s_borderLeftStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderRightStyleUsed

protected static final java.lang.String s_borderRightStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderTopStyleUsed

protected static final java.lang.String s_borderTopStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderBottomStyleUsed

protected static final java.lang.String s_borderBottomStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_drillOutLinksUsed

protected static final java.lang.String s_drillOutLinksUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderLeftColorUsed

protected static final java.lang.String s_borderLeftColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderRightColorUsed

protected static final java.lang.String s_borderRightColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderTopColorUsed

protected static final java.lang.String s_borderTopColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderBottomColorUsed

protected static final java.lang.String s_borderBottomColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderWidthUsed

protected static final java.lang.String s_borderWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderLeftWidthUsed

protected static final java.lang.String s_borderLeftWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderRightWidthUsed

protected static final java.lang.String s_borderRightWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderTopWidthUsed

protected static final java.lang.String s_borderTopWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

s_borderBottomWidthUsed

protected static final java.lang.String s_borderBottomWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

propertyUsed

protected static final boolean propertyUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Default value of all the used bits are false

m_version_2_2_0_11

protected static final java.lang.String m_version_2_2_0_11
See Also:
Constant Field Values
For internal use only. Application developers should not use this
XML version number in which heuristic for saving delta XML changed

border_style_not_used

protected static final java.lang.String border_style_not_used
See Also:
Constant Field Values
For internal use only. Application developers should not use this

border_style_solid

protected static final java.lang.String border_style_solid
See Also:
Constant Field Values
For internal use only. Application developers should not use this

border_style_dash

protected static final java.lang.String border_style_dash
See Also:
Constant Field Values
For internal use only. Application developers should not use this

border_style_dot

protected static final java.lang.String border_style_dot
See Also:
Constant Field Values
For internal use only. Application developers should not use this

border_style_dot_dash

protected static final java.lang.String border_style_dot_dash
See Also:
Constant Field Values
For internal use only. Application developers should not use this

border_style_dash_dot_dot

protected static final java.lang.String border_style_dash_dot_dot
See Also:
Constant Field Values
For internal use only. Application developers should not use this

border_style_double

protected static final java.lang.String border_style_double
See Also:
Constant Field Values
For internal use only. Application developers should not use this

border_style_no_line

protected static final java.lang.String border_style_no_line
See Also:
Constant Field Values
For internal use only. Application developers should not use this

left

public static final java.lang.String left
See Also:
Constant Field Values
For internal use only. Application developers should not use this

center

public static final java.lang.String center
See Also:
Constant Field Values
For internal use only. Application developers should not use this

right

public static final java.lang.String right
See Also:
Constant Field Values
For internal use only. Application developers should not use this

leading

public static final java.lang.String leading
See Also:
Constant Field Values
For internal use only. Application developers should not use this

top

protected static final java.lang.String top
See Also:
Constant Field Values
For internal use only. Application developers should not use this

bottom

protected static final java.lang.String bottom
See Also:
Constant Field Values
For internal use only. Application developers should not use this

cell_editable

protected static final java.lang.String cell_editable
See Also:
Constant Field Values
For internal use only. Application developers should not use this

cell_not_editable

protected static final java.lang.String cell_not_editable
See Also:
Constant Field Values
For internal use only. Application developers should not use this

NAME_VIEWSTYLE

protected static final java.lang.String NAME_VIEWSTYLE
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_background

public static final java.lang.String a_background
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_foreground

public static final java.lang.String a_foreground
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_underline

public static final java.lang.String a_underline
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_fontName

public static final java.lang.String a_fontName
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_fontSize

public static final java.lang.String a_fontSize
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_fontBold

public static final java.lang.String a_fontBold
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_fontItalic

public static final java.lang.String a_fontItalic
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_horizontalAlignment

public static final java.lang.String a_horizontalAlignment
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_selectBackground

public static final java.lang.String a_selectBackground
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_selectForeground

public static final java.lang.String a_selectForeground
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_verticalAlignment

public static final java.lang.String a_verticalAlignment
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_doubleUnderline

public static final java.lang.String a_doubleUnderline
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_strikeThrough

public static final java.lang.String a_strikeThrough
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_wordWrapEnabled

public static final java.lang.String a_wordWrapEnabled
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderColor

public static final java.lang.String a_borderColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderWidth

public static final java.lang.String a_borderWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderLeftStyle

public static final java.lang.String a_borderLeftStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderRightStyle

public static final java.lang.String a_borderRightStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderTopStyle

public static final java.lang.String a_borderTopStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderBottomStyle

public static final java.lang.String a_borderBottomStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderLeftColor

public static final java.lang.String a_borderLeftColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderRightColor

public static final java.lang.String a_borderRightColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderTopColor

public static final java.lang.String a_borderTopColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderBottomColor

public static final java.lang.String a_borderBottomColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderLeftWidth

public static final java.lang.String a_borderLeftWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderRightWidth

public static final java.lang.String a_borderRightWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderTopWidth

public static final java.lang.String a_borderTopWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderBottomWidth

public static final java.lang.String a_borderBottomWidth
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_graphicImageIndex

public static final java.lang.String a_graphicImageIndex
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_graphicImageTooltip

public static final java.lang.String a_graphicImageTooltip
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_cellEditStyle

public static final java.lang.String a_cellEditStyle
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_editBackground

public static final java.lang.String a_editBackground
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_editForeground

public static final java.lang.String a_editForeground
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_graphicBarColor

public static final java.lang.String a_graphicBarColor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_graphicBarVisible

public static final java.lang.String a_graphicBarVisible
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_hPageBreak

public static final java.lang.String a_hPageBreak
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_vPageBreak

public static final java.lang.String a_vPageBreak
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_backgroundUsed

protected static final java.lang.String a_backgroundUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_foregroundUsed

protected static final java.lang.String a_foregroundUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_selectBackgroundUsed

protected static final java.lang.String a_selectBackgroundUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_selectForegroundUsed

protected static final java.lang.String a_selectForegroundUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_horizontalAlignmentUsed

protected static final java.lang.String a_horizontalAlignmentUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_verticalAlignmentUsed

protected static final java.lang.String a_verticalAlignmentUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_underlineUsed

protected static final java.lang.String a_underlineUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_doubleUnderlineUsed

protected static final java.lang.String a_doubleUnderlineUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_strikeThroughUsed

protected static final java.lang.String a_strikeThroughUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_wordWrapEnabledUsed

protected static final java.lang.String a_wordWrapEnabledUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderColorUsed

protected static final java.lang.String a_borderColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderWidthUsed

protected static final java.lang.String a_borderWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderLeftStyleUsed

protected static final java.lang.String a_borderLeftStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderRightStyleUsed

protected static final java.lang.String a_borderRightStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderTopStyleUsed

protected static final java.lang.String a_borderTopStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderBottomStyleUsed

protected static final java.lang.String a_borderBottomStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderLeftColorUsed

protected static final java.lang.String a_borderLeftColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderRightColorUsed

protected static final java.lang.String a_borderRightColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderTopColorUsed

protected static final java.lang.String a_borderTopColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderBottomColorUsed

protected static final java.lang.String a_borderBottomColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderLeftWidthUsed

protected static final java.lang.String a_borderLeftWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderRightWidthUsed

protected static final java.lang.String a_borderRightWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderTopWidthUsed

protected static final java.lang.String a_borderTopWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_borderBottomWidthUsed

protected static final java.lang.String a_borderBottomWidthUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_fontNameUsed

protected static final java.lang.String a_fontNameUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_fontSizeUsed

protected static final java.lang.String a_fontSizeUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_fontBoldUsed

protected static final java.lang.String a_fontBoldUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_fontItalicUsed

protected static final java.lang.String a_fontItalicUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_graphicImageIndexUsed

protected static final java.lang.String a_graphicImageIndexUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_graphicImageTooltipUsed

protected static final java.lang.String a_graphicImageTooltipUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_cellEditStyleUsed

protected static final java.lang.String a_cellEditStyleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_editBackgroundUsed

protected static final java.lang.String a_editBackgroundUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_editForegroundUsed

protected static final java.lang.String a_editForegroundUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_graphicBarColorUsed

protected static final java.lang.String a_graphicBarColorUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_graphicBarVisibleUsed

protected static final java.lang.String a_graphicBarVisibleUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_hPageBreakUsed

protected static final java.lang.String a_hPageBreakUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_vPageBreakUsed

protected static final java.lang.String a_vPageBreakUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_drillOutLinksUsed

protected static final java.lang.String a_drillOutLinksUsed
See Also:
Constant Field Values
For internal use only. Application developers should not use this

DRILL_OUT_LINKS_NAME

protected static final java.lang.String DRILL_OUT_LINKS_NAME
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_underline

protected boolean m_underline
For internal use only. Application developers should not use this

m_doubleUnderline

protected boolean m_doubleUnderline
For internal use only. Application developers should not use this

m_strikeThrough

protected boolean m_strikeThrough
For internal use only. Application developers should not use this

m_wordWrapEnabled

protected boolean m_wordWrapEnabled
For internal use only. Application developers should not use this

m_borderColor

protected java.awt.Color m_borderColor
For internal use only. Application developers should not use this

m_borderTopColor

protected java.awt.Color m_borderTopColor
For internal use only. Application developers should not use this

m_borderLeftColor

protected java.awt.Color m_borderLeftColor
For internal use only. Application developers should not use this

m_borderBottomColor

protected java.awt.Color m_borderBottomColor
For internal use only. Application developers should not use this

m_borderRightColor

protected java.awt.Color m_borderRightColor
For internal use only. Application developers should not use this

m_borderWidth

protected int m_borderWidth
For internal use only. Application developers should not use this

m_borderTopWidth

protected int m_borderTopWidth
For internal use only. Application developers should not use this

m_borderLeftWidth

protected int m_borderLeftWidth
For internal use only. Application developers should not use this

m_borderBottomWidth

protected int m_borderBottomWidth
For internal use only. Application developers should not use this

m_borderRightWidth

protected int m_borderRightWidth
For internal use only. Application developers should not use this

m_borderLeftStyle

protected int m_borderLeftStyle
For internal use only. Application developers should not use this

m_borderRightStyle

protected int m_borderRightStyle
For internal use only. Application developers should not use this

m_borderTopStyle

protected int m_borderTopStyle
For internal use only. Application developers should not use this

m_borderBottomStyle

protected int m_borderBottomStyle
For internal use only. Application developers should not use this

m_fontName

protected java.lang.String m_fontName
For internal use only. Application developers should not use this

m_fontSize

protected int m_fontSize
For internal use only. Application developers should not use this

m_fontBold

protected boolean m_fontBold
For internal use only. Application developers should not use this

m_fontItalic

protected boolean m_fontItalic
For internal use only. Application developers should not use this

m_graphicImageIndex

protected int m_graphicImageIndex
For internal use only. Application developers should not use this

m_graphicImageTooltip

protected java.lang.String m_graphicImageTooltip
For internal use only. Application developers should not use this

m_cellEditStyle

protected int m_cellEditStyle
For internal use only. Application developers should not use this

m_editBackground

protected java.awt.Color m_editBackground
For internal use only. Application developers should not use this

m_editForeground

protected java.awt.Color m_editForeground
For internal use only. Application developers should not use this

m_graphicBarColor

protected java.awt.Color m_graphicBarColor
For internal use only. Application developers should not use this

m_graphicBarVisible

protected boolean m_graphicBarVisible
For internal use only. Application developers should not use this

m_hPageBreak

protected boolean m_hPageBreak
For internal use only. Application developers should not use this

m_vPageBreak

protected boolean m_vPageBreak
For internal use only. Application developers should not use this

m_drillOutLinks

protected java.util.List m_drillOutLinks
For internal use only. Application developers should not use this

m_eh

protected ErrorHandler m_eh
For internal use only. Application developers should not use this

m_font

protected java.awt.Font m_font
For internal use only. Application developers should not use this

m_vsCallback

protected ViewStyleCallback m_vsCallback
For internal use only. Application developers should not use this
callback for when attributes change

m_view

protected DataviewCommon m_view
For internal use only. Application developers should not use this

defaultForeground

protected static java.awt.Color defaultForeground
For internal use only. Application developers should not use this

defaultBackground

protected static java.awt.Color defaultBackground
For internal use only. Application developers should not use this

defaultSelectForeground

protected static java.awt.Color defaultSelectForeground
For internal use only. Application developers should not use this

defaultSelectBackground

protected static java.awt.Color defaultSelectBackground
For internal use only. Application developers should not use this

od_background

protected int od_background
For internal use only. Application developers should not use this

od_foreground

protected int od_foreground
For internal use only. Application developers should not use this

od_selectBackground

protected int od_selectBackground
For internal use only. Application developers should not use this

od_selectForeground

protected int od_selectForeground
For internal use only. Application developers should not use this

od_horizontalAlignment

protected int od_horizontalAlignment
For internal use only. Application developers should not use this

od_verticalAlignment

protected int od_verticalAlignment
For internal use only. Application developers should not use this

od_underline

protected boolean od_underline
For internal use only. Application developers should not use this

od_doubleUnderline

protected boolean od_doubleUnderline
For internal use only. Application developers should not use this

od_strikeThrough

protected boolean od_strikeThrough
For internal use only. Application developers should not use this

od_wordWrapEnabled

protected boolean od_wordWrapEnabled
For internal use only. Application developers should not use this

od_borderColor

protected int od_borderColor
For internal use only. Application developers should not use this

od_borderTopColor

protected int od_borderTopColor
For internal use only. Application developers should not use this

od_borderLeftColor

protected int od_borderLeftColor
For internal use only. Application developers should not use this

od_borderBottomColor

protected int od_borderBottomColor
For internal use only. Application developers should not use this

od_borderRightColor

protected int od_borderRightColor
For internal use only. Application developers should not use this

od_borderWidth

protected int od_borderWidth
For internal use only. Application developers should not use this

od_borderTopWidth

protected int od_borderTopWidth
For internal use only. Application developers should not use this

od_borderLeftWidth

protected int od_borderLeftWidth
For internal use only. Application developers should not use this

od_borderBottomWidth

protected int od_borderBottomWidth
For internal use only. Application developers should not use this

od_borderRightWidth

protected int od_borderRightWidth
For internal use only. Application developers should not use this

od_borderLeftStyle

protected int od_borderLeftStyle
For internal use only. Application developers should not use this

od_borderRightStyle

protected int od_borderRightStyle
For internal use only. Application developers should not use this

od_borderTopStyle

protected int od_borderTopStyle
For internal use only. Application developers should not use this

od_borderBottomStyle

protected int od_borderBottomStyle
For internal use only. Application developers should not use this

od_fontName

protected java.lang.String od_fontName
For internal use only. Application developers should not use this

od_fontSize

protected int od_fontSize
For internal use only. Application developers should not use this

od_fontBold

protected boolean od_fontBold
For internal use only. Application developers should not use this

od_fontItalic

protected boolean od_fontItalic
For internal use only. Application developers should not use this

od_graphicImageIndex

protected int od_graphicImageIndex
For internal use only. Application developers should not use this

od_graphicImageTooltip

protected java.lang.String od_graphicImageTooltip
For internal use only. Application developers should not use this

od_cellEditStyle

protected int od_cellEditStyle
For internal use only. Application developers should not use this

od_editBackground

protected int od_editBackground
For internal use only. Application developers should not use this

od_editForeground

protected int od_editForeground
For internal use only. Application developers should not use this

od_graphicBarColor

protected int od_graphicBarColor
For internal use only. Application developers should not use this

od_graphicBarVisible

protected boolean od_graphicBarVisible
For internal use only. Application developers should not use this

od_hPageBreak

protected boolean od_hPageBreak
For internal use only. Application developers should not use this

od_vPageBreak

protected boolean od_vPageBreak
For internal use only. Application developers should not use this

od_drillOutLinks

protected java.util.List od_drillOutLinks
For internal use only. Application developers should not use this

d_background

protected int d_background
For internal use only. Application developers should not use this

d_foreground

protected int d_foreground
For internal use only. Application developers should not use this

d_selectBackground

protected int d_selectBackground
For internal use only. Application developers should not use this

d_selectForeground

protected int d_selectForeground
For internal use only. Application developers should not use this

d_horizontalAlignment

protected int d_horizontalAlignment
For internal use only. Application developers should not use this

d_verticalAlignment

protected int d_verticalAlignment
For internal use only. Application developers should not use this

d_underline

protected boolean d_underline
For internal use only. Application developers should not use this

d_doubleUnderline

protected boolean d_doubleUnderline
For internal use only. Application developers should not use this

d_strikeThrough

protected boolean d_strikeThrough
For internal use only. Application developers should not use this

d_wordWrapEnabled

protected boolean d_wordWrapEnabled
For internal use only. Application developers should not use this

d_borderColor

protected int d_borderColor
For internal use only. Application developers should not use this

d_borderTopColor

protected int d_borderTopColor
For internal use only. Application developers should not use this

d_borderLeftColor

protected int d_borderLeftColor
For internal use only. Application developers should not use this

d_borderBottomColor

protected int d_borderBottomColor
For internal use only. Application developers should not use this

d_borderRightColor

protected int d_borderRightColor
For internal use only. Application developers should not use this

d_borderWidth

protected int d_borderWidth
For internal use only. Application developers should not use this

d_borderTopWidth

protected int d_borderTopWidth
For internal use only. Application developers should not use this

d_borderLeftWidth

protected int d_borderLeftWidth
For internal use only. Application developers should not use this

d_borderBottomWidth

protected int d_borderBottomWidth
For internal use only. Application developers should not use this

d_borderRightWidth

protected int d_borderRightWidth
For internal use only. Application developers should not use this

d_borderLeftStyle

protected int d_borderLeftStyle
For internal use only. Application developers should not use this

d_borderRightStyle

protected int d_borderRightStyle
For internal use only. Application developers should not use this

d_borderTopStyle

protected int d_borderTopStyle
For internal use only. Application developers should not use this

d_borderBottomStyle

protected int d_borderBottomStyle
For internal use only. Application developers should not use this

d_fontName

protected java.lang.String d_fontName
For internal use only. Application developers should not use this

d_fontSize

protected int d_fontSize
For internal use only. Application developers should not use this

d_fontBold

protected boolean d_fontBold
For internal use only. Application developers should not use this

d_fontItalic

protected boolean d_fontItalic
For internal use only. Application developers should not use this

d_graphicImageIndex

protected int d_graphicImageIndex
For internal use only. Application developers should not use this

d_graphicImageTooltip

protected java.lang.String d_graphicImageTooltip
For internal use only. Application developers should not use this

d_cellEditStyle

protected int d_cellEditStyle
For internal use only. Application developers should not use this

d_editBackground

protected int d_editBackground
For internal use only. Application developers should not use this

d_editForeground

protected int d_editForeground
For internal use only. Application developers should not use this

d_graphicBarColor

protected int d_graphicBarColor
For internal use only. Application developers should not use this

d_graphicBarVisible

protected boolean d_graphicBarVisible
For internal use only. Application developers should not use this

d_hPageBreak

protected boolean d_hPageBreak
For internal use only. Application developers should not use this

d_vPageBreak

protected boolean d_vPageBreak
For internal use only. Application developers should not use this

d_drillOutLinks

protected java.util.List d_drillOutLinks
For internal use only. Application developers should not use this

m_propertyUsedFlags

protected java.util.BitSet m_propertyUsedFlags
For internal use only. Application developers should not use this
The BitSet to store the property used bits

m_bUseCallback

protected boolean m_bUseCallback
For internal use only. Application developers should not use this

NumberOfPropertyBits

protected static int NumberOfPropertyBits
For internal use only. Application developers should not use this

BACKGROUND

public static final int BACKGROUND
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Background property.

BORDERBOTTOMSTYLE

public static final int BORDERBOTTOMSTYLE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border bottom style property.

BORDERCOLOR

public static final int BORDERCOLOR
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border color property.

BORDERLEFTSTYLE

public static final int BORDERLEFTSTYLE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border left style property.

BORDERRIGHTSTYLE

public static final int BORDERRIGHTSTYLE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border right style property.

BORDERTOPSTYLE

public static final int BORDERTOPSTYLE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border top style property.

BORDERWIDTH

public static final int BORDERWIDTH
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border width property.

DOUBLEUNDERLINE

public static final int DOUBLEUNDERLINE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Double underline property.

FONT

public static final int FONT
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Font property.

FONTBOLD

public static final int FONTBOLD
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Font bold property.

FONTITALIC

public static final int FONTITALIC
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Font italic property.

FONTNAME

public static final int FONTNAME
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Font name property.

FONTSIZE

public static final int FONTSIZE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Font size property.

FOREGROUND

public static final int FOREGROUND
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Foreground property.

HORIZONTALALIGNMENT

public static final int HORIZONTALALIGNMENT
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Horizontal alignment property.

STRIKETHROUGH

public static final int STRIKETHROUGH
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Strikethrough property.

UNDERLINE

public static final int UNDERLINE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Underline property.

VERTICALALIGNMENT

public static final int VERTICALALIGNMENT
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Vertical alignment property.

WORDWRAPENABLED

public static final int WORDWRAPENABLED
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Word wrap enabled property.

SELECTBACKGROUND

public static final int SELECTBACKGROUND
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Select background property.

SELECTFOREGROUND

public static final int SELECTFOREGROUND
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Select foreground property.

BORDERTOPCOLOR

public static final int BORDERTOPCOLOR
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border topline color property.

BORDERLEFTCOLOR

public static final int BORDERLEFTCOLOR
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border leftline color property.

BORDERBOTTOMCOLOR

public static final int BORDERBOTTOMCOLOR
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border bottomline color property.

BORDERRIGHTCOLOR

public static final int BORDERRIGHTCOLOR
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border rightlinecolor property.

BORDERTOPWIDTH

public static final int BORDERTOPWIDTH
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border topline width property.

BORDERLEFTWIDTH

public static final int BORDERLEFTWIDTH
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border leftline width property.

BORDERBOTTOMWIDTH

public static final int BORDERBOTTOMWIDTH
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border bottomline width property.

BORDERRIGHTWIDTH

public static final int BORDERRIGHTWIDTH
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Border rightline width property.

GRAPHICIMAGEINDEX

public static final int GRAPHICIMAGEINDEX
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Graphic image index property

GRAPHICIMAGETOOLTIP

public static final int GRAPHICIMAGETOOLTIP
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Graphic image tooltip property

CELLEDITSTYLE

public static final int CELLEDITSTYLE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Cell edit style property.

EDITBACKGROUND

public static final int EDITBACKGROUND
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Edit background property.

EDITFOREGROUND

public static final int EDITFOREGROUND
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Edit foreground property.

GRAPHICBARCOLOR

public static final int GRAPHICBARCOLOR
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Graphic bar color property.

GRAPHICBARVISIBLE

public static final int GRAPHICBARVISIBLE
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Graphic bar visible property.

HPAGEBREAK

public static final int HPAGEBREAK
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Horizontal page break property.

VPAGEBREAK

public static final int VPAGEBREAK
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Vertical page break property.

DRILLOUTLINKS

public static final int DRILLOUTLINKS
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Drill out links property.

VIEWSTYLE_END

protected static final int VIEWSTYLE_END
See Also:
Constant Field Values
For internal use only. Application developers should not use this

TOP_BORDER

public static final int TOP_BORDER
Top border of the cell.

See Also:
Constant Field Values

LEFT_BORDER

public static final int LEFT_BORDER
Left border of the cell.

See Also:
Constant Field Values

BOTTOM_BORDER

public static final int BOTTOM_BORDER
Bottom border of the cell.

See Also:
Constant Field Values

RIGHT_BORDER

public static final int RIGHT_BORDER
Right border of the cell.

See Also:
Constant Field Values

ALL_BORDERS

public static final int ALL_BORDERS
All borders of the cell.

See Also:
Constant Field Values

CELL_EDITABLE

public static final int CELL_EDITABLE
Cell Edit Style: Databody cell in a thin crosstab or table can be edited.

See Also:
Constant Field Values

CELL_NOT_EDITABLE

public static final int CELL_NOT_EDITABLE
Cell Edit Style: Databody cell in a thin crosstab or table cannot be edited.

See Also:
Constant Field Values
Constructor Detail

ViewStyle

public ViewStyle()
Constructor that uses default ViewStyle values. At this point, no properties have been explicitly set.


ViewStyle

public ViewStyle(DataviewCommon view,
                 oracle.bali.ewt.graphics.Appearance app)
For internal use only. Application developers should not use this
Constructor creates a new ViewStyle object from Appearance

ViewStyle

public ViewStyle(DataviewCommon view,
                 ViewStyle vs)
For internal use only. Application developers should not use this
Constructor creates a new ViewStyle object from an existing ViewStyle

ViewStyle

public ViewStyle(java.awt.Color bg,
                 java.awt.Color fg,
                 java.lang.String fname,
                 int fsize,
                 boolean fbold,
                 boolean fitalic,
                 int hj,
                 int vj,
                 boolean underline,
                 boolean doubleunderline,
                 boolean strikethrough,
                 boolean wrap,
                 java.awt.Color bc,
                 int bw,
                 int bls,
                 int brs,
                 int bts,
                 int bbs,
                 java.awt.Color sbg,
                 java.awt.Color sfg)
Parameters:
bg - The background color.
fg - The foreground color.
fname - The name of the font for the text.
fsize - The font size for the text.
fbold - true to make the font bold, false to prohibit the font from being bold.
fitalic - true to make the font italic, false to prohibit the font from being italicized.
hj - A swing constant that represents the horizontal alignment for the text within its rectangle. The swing constants for horizontal alignment are LEFT, CENTER, RIGHT.
vj - A swing constant that represents the vertical alignment for the text within its rectangle. The swing constants for vertical alignment are TOP, CENTER, BOTTOM.
underline - true to underline the font with one line, false to display the font without a single underline.
doubleunderline - true to underline the font with two lines, false to display the font without a double underline.
strikethrough - true to draw a line through the text, false to display the text without a line drawn through it.
wordwrap - true to make the text wrap onto multiple lines, false to prevent the text from wrapping onto mutliple lines.
bc - The color for the border.
bw - The width of the border.
bls - The style for the left-hand side of the border.
brs - The style for the left-hand side of the border.
bts - The style for the top side of the border.
bbs - The style for the bottom side of the border.
sbg - The color of a background after it has been selected.
sfg - The color of a foreground after it has been selected.
For internal use only. Application developers should not use this
Constructor that sets individual font properties. At this point, no property values have been set. To use the doubleUnderline parameter value, set the parameter value for underline to false.

ViewStyle

public ViewStyle(java.awt.Color bg,
                 java.awt.Color fg,
                 java.awt.Font font,
                 int hj,
                 int vj,
                 boolean underline,
                 boolean doubleunderline,
                 boolean strikethrough,
                 boolean wrap,
                 java.awt.Color bc,
                 int bw,
                 int bls,
                 int brs,
                 int bts,
                 int bbs,
                 java.awt.Color sbg,
                 java.awt.Color sfg)
Parameters:
bg - The background color for.
fg - The foreground color.
font - The Font object for the text.
hj - A swing constant that represents the horizontal alignment for the text within its rectangle. The swing constants for horizontal alignment are LEFT, CENTER, RIGHT.
vj - A swing constant that represents the vertical alignment for the text within its rectangle. The swing constants for vertical alignment are TOP, CENTER, BOTTOM.
underline - true to underline the font with one line, false to display the font without a single underline.
doubleunderline - true to underline the font with two lines, false to display the font without a double underline.
strikethrough - true to draw a line through the text, false to display the text without a line drawn through it.
wordwrap - true to make the text wrap onto multiple lines, false to prevent the text from wrapping onto mutliple lines.
bc - The color for the border.
bw - The width of the border.
bls - The style for the left-hand side of the border.
brs - The style for the left-hand side of the border.
bts - The style for the top side of the border.
bbs - The style for the bottom side of the border.
sbg - The color of a background after it has been selected.
sfg - The color of a foreground after it has been selected.
For internal use only. Application developers should not use this
Constructor that uses a Font object. At this point, no properties have been explicitly set.

ViewStyle

public ViewStyle(java.lang.String styleString)
Parameters:
styleString - property values for this ViewStyle object.
For internal use only. Application developers should not use this
Constructor that uses default ViewStyle property values. Any property that is initialized by the styleString is marked as being used.
Method Detail

isAnythingOverridden

public boolean isAnythingOverridden()
Indicates whether any of the properties of this ViewSizing has been explicitly set.

Specified by:
isAnythingOverridden in interface Mergeable
Returns:
true if any has been explicitly set, false if the properties have their original values.

clone

public java.lang.Object clone()
Clones this ViewStyle object.

Specified by:
clone in interface Mergeable
Overrides:
clone in class java.lang.Object
Returns:
The clone of this ViewStyle object.

init

protected void init(DataviewCommon view,
                    oracle.bali.ewt.graphics.Appearance app)
For internal use only. Application developers should not use this
Constructor creates a new ViewStyle object from Appearance

initDefaults

protected void initDefaults()
For internal use only. Application developers should not use this
Initialize original and custom default XML property values.

resetCustomDefaultsToOriginalValues

protected void resetCustomDefaultsToOriginalValues()
For internal use only. Application developers should not use this
Resets custom default property values to the original default property values.

initCustomDefaults

protected void initCustomDefaults(java.awt.Color bg,
                                  java.awt.Color fg,
                                  java.awt.Color sbg,
                                  java.awt.Color sfg,
                                  int hj,
                                  int vj,
                                  boolean underline,
                                  boolean doubleunderline,
                                  boolean strikethrough,
                                  boolean wrap,
                                  java.awt.Color bc,
                                  int bw,
                                  int bls,
                                  int brs,
                                  int bts,
                                  int bbs,
                                  java.lang.String fname,
                                  int fsize,
                                  boolean fbold,
                                  boolean fitalic)
Parameters:
bg - background color
fg - foreground color
sbg - select background color
sfg - select foreground color
hj - horizontal alignment
vj - vertical alignment
underline - underline
doubleunderline - double underline
strikethrough - strikethrough
wrap - word wrap
bc - border color
bw - border width
bls - left border style
brs - right border style
bts - top border style
bbs - bottom border style
fname - font name
fsize - font size
fbold - font bold
fitalic - font italic
For internal use only. Application developers should not use this
Initialize custom default property values to the provided values.

getPropertyUsedFlags

public java.util.BitSet getPropertyUsedFlags()
For internal use only. Application developers should not use this

setPropertyUsedFlags

public void setPropertyUsedFlags(java.util.BitSet bs)
For internal use only. Application developers should not use this

getView

public DataviewCommon getView()
For internal use only. Application developers should not use this

setView

public void setView(DataviewCommon view)
For internal use only. Application developers should not use this

setBackground

public void setBackground(java.awt.Color background)
Specifies the color for the background. This method also sets the BackgroundUsed property to true.

Overrides:
setBackground in class oracle.bali.ewt.graphics.Appearance
Parameters:
background - The color for the background.

getBackground

public java.awt.Color getBackground()
Retrieves the color for the background.

Overrides:
getBackground in class oracle.bali.ewt.graphics.Appearance
Returns:
The color for the background.

isBackgroundUsed

public boolean isBackgroundUsed()
Indicates whether the background property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setBackgroundUsed

public void setBackgroundUsed(boolean used)
Specifies whether the background property has been explicitly set. This method is called by the setBackground method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setForeground

public void setForeground(java.awt.Color foreground)
Specifies the color for the foreground. This method also sets the ForegroundUsed property to true.

Overrides:
setForeground in class oracle.bali.ewt.graphics.Appearance
Parameters:
foreground - The color for the foreground.

getForeground

public java.awt.Color getForeground()
Retrieves the color for the foreground.

Overrides:
getForeground in class oracle.bali.ewt.graphics.Appearance
Returns:
The color for the foreground.

isForegroundUsed

public boolean isForegroundUsed()
Indicates whether the Foreground property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, if the property has not been explicitly set.

setForegroundUsed

public void setForegroundUsed(boolean used)
Specifies whether the Foreground property has been explicitly set. This method is called by the setForeground method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, if the property has not been explicitly set.

setSelectBackground

public void setSelectBackground(java.awt.Color selectBackground)
Specifies the color for the background after it has been selected. This method also sets the SelectBackgroundUsed property to true.

Overrides:
setSelectBackground in class oracle.bali.ewt.graphics.Appearance
Parameters:
background - The color for the background after it has been selected.

getSelectBackground

public java.awt.Color getSelectBackground()
Retrieves the color for the background after it has been selected.

Overrides:
getSelectBackground in class oracle.bali.ewt.graphics.Appearance
Returns:
The color for the background after it has been selected.

isSelectBackgroundUsed

public boolean isSelectBackgroundUsed()
Indicates whether the SelectBackground property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setSelectBackgroundUsed

public void setSelectBackgroundUsed(boolean used)
Specifies whether the SelectBackground property has been explicitly set. This method is called by the setSelectBackground method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setSelectForeground

public void setSelectForeground(java.awt.Color selectForeground)
Specifies the color for the foreground after it has been selected. This method also sets the SelectForegroundUsed property to true.

Overrides:
setSelectForeground in class oracle.bali.ewt.graphics.Appearance
Parameters:
foreground - The color for the foreground after it has been selected.

getSelectForeground

public java.awt.Color getSelectForeground()
Retrieves the color for the foreground after it has been selected.

Overrides:
getSelectForeground in class oracle.bali.ewt.graphics.Appearance
Returns:
The color for the foreground after it has been selected.

isSelectForegroundUsed

public boolean isSelectForegroundUsed()
Indicates whether the SelectForeground property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setSelectForegroundUsed

public void setSelectForegroundUsed(boolean used)
Specifies whether the SelectForeground property has been explicitly set. This method is called by the setSelectForeground method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setHorizontalAlignment

public void setHorizontalAlignment(int horizontalAlignment)
Specifies the horizontal alignment for the font within its rectangle. The swing constants for horizontal alignment are LEFT, CENTER, RIGHT and LEADING. This method also sets the HorizontalAlignmentUsed property to true.

Parameters:
horizontalAlignment - A swing constant that represents the horizontal alignment of the font within its rectangle.

getHorizontalAlignment

public int getHorizontalAlignment()
Retrieves the horizontal alignment for the font within its rectangle. The swing constants for horizontal alignment are LEFT, CENTER, RIGHT AND LEADING.

Returns:
A swing constant that represents the horizontal alignment of the font within its rectangle.

isHorizontalAlignmentUsed

public boolean isHorizontalAlignmentUsed()
Indicates whether the HorizontalAlignment property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has been explicitly set.

setHorizontalAlignmentUsed

public void setHorizontalAlignmentUsed(boolean used)
Specifies whether the HorizontalAlignment property has been explicitly set. This method is called by the setHorizontalAlignment method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setVerticalAlignment

public void setVerticalAlignment(int verticalAlignment)
Specifies the vertical alignment for the font within its rectangle. The 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.

Parameters:
verticalAlignment - A swing constant that represents the vertical alignment of the font within its rectangle.

getVerticalAlignment

public int getVerticalAlignment()
Retrieves the vertical alignment for the font within its rectangle. The 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.

Returns:
A swing constant that represents the vertical alignment of the font within its rectangle.

isVerticalAlignmentUsed

public boolean isVerticalAlignmentUsed()
Indicates whether the VerticalAlignment property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setVerticalAlignmentUsed

public void setVerticalAlignmentUsed(boolean used)
Specifies whether the VerticalAlignment property has been explicitly set. This method is called by the setVerticalAlignment method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setUnderline

public void setUnderline(boolean underline)
Specifies whether the text is underlined with one line. This method also sets the UnderlineUsed property to true.

Parameters:
underline - true to underline the text with one line, false to prevent the text from being underlined with one line.

isUnderline

public boolean isUnderline()
Indicates whether the text is underlined with one line.

Returns:
true if the text is underlined with one line, false if the text is not underlined with one line.

isUnderlineUsed

public boolean isUnderlineUsed()
Indicates whether the Underline property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setUnderlineUsed

public void setUnderlineUsed(boolean used)
Specifies whether the Underline property has been explicitly set. This method is called by the setUnderline method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setDoubleUnderline

public void setDoubleUnderline(boolean doubleUnderline)
Specifies whether the text is underlined with two lines. To double underline text, set the setUnderline method to false. This method also sets the DoubleUnderline property to true.

Note: This property is ignored by thin presentation beans.

Parameters:
doubleUnderline - true to underline the text with two lines, false to prevent the text from being underlined with two lines.

isDoubleUnderline

public boolean isDoubleUnderline()
Indicates whether the text is underlined with two lines. To double underline text, set the setUnderline method to false. This method also sets the setDoubleUnderline method to true.

Note: This property is ignored by thin presentation beans.

Returns:
true if the text is underlined with two lines, false if the text is not underlined with two lines.

isDoubleUnderlineUsed

public boolean isDoubleUnderlineUsed()
Indicates whether the DoubleUnderline property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setDoubleUnderlineUsed

public void setDoubleUnderlineUsed(boolean used)
Specifies whether the DoubleUnderline property has been explicitly set. This method is called by the setDoubleUnderlie method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setStrikeThrough

public void setStrikeThrough(boolean strikeThrough)
Specifies whether the text has a line drawn through it. This method also sets the StrikeThroughUsed property to true.

Parameters:
strikeThrough - true to draw a line through the text, false to display the text without a line through it.

isStrikeThrough

public boolean isStrikeThrough()
Indicates whether the text has a line drawn through it.

Returns:
true if the text has a line drawn through it, false if the text is displayed without a line drawn through it.

isStrikeThroughUsed

public boolean isStrikeThroughUsed()
Indicates whether the StrikeThrough property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setStrikeThroughUsed

public void setStrikeThroughUsed(boolean used)
Specifies whether the StrikeThrough property has been explicitly set. This method is called by the setStrikeThrough method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setWordWrapEnabled

public void setWordWrapEnabled(boolean wordWrap)
Specifies whether the text is wrapped onto multiple lines. This method also sets the WordWrapEnabledUsed property to true.

Parameters:
wordWrapEnabled - true to wrap the text onto multiple lines, false to prevent the text from being wrapped onto multiple lines.

isWordWrapEnabled

public boolean isWordWrapEnabled()
Indicates whether the text is wrapped onto multiple lines.

Returns:
true if the text is wrapped onto multiple lines, false if the text is not wrapped onto multiple lines.

isWordWrapEnabledUsed

public boolean isWordWrapEnabledUsed()
Indicates whether the WordWrapEnabled property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setWordWrapEnabledUsed

public void setWordWrapEnabledUsed(boolean used)
Specifies whether the WordWrapEnabled property has been explicitly set. This method is called by the setWordWrapEnabled method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setBorderColor

public void setBorderColor(int side,
                           java.awt.Color borderColor)
Specifies the color for the border. This method also sets the BorderColorUsed property to true.

In order to see the border color, the BorderStyle and BorderWidth properties must be set so that the border can be perceived.

Note: Thin presentation beans do not support this property in Netscape 4.x.

Parameters:
side - A constant that indicates which border whose color you want to set. Valid constants are listed in the See Also section.
borderColor - The color for the border.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

getBorderColor

public java.awt.Color getBorderColor(int side)
Retrieves the color for the border.

Note: Thin presentation beans do not support this property in Netscape 4.x.

Parameters:
side - The side of the cell border whose color you want. Valid constants are listed in the See Also section.
Returns:
The color for the border.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

isBorderColorUsed

public boolean isBorderColorUsed(int side)
Indicates whether the BorderColor property has been explicitly set. When the return value of this method is true, then the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setBorderColorUsed

public void setBorderColorUsed(int side,
                               boolean used)
Specifies whether the BorderColor property has been explicitly set. This method is called by the setBorderColor method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
side - The side whose border color has been set. Valid constants are listed in the See Also section.
used - true if the property has been explicitly set, false if the property has not been explicitly set.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

setBorderWidth

public void setBorderWidth(int side,
                           int borderWidth)
Specifies the width for the border. This method also sets the BorderWidthUsed property to true.

Note: Thin presentation beans do not support this property in Netscape 4.x.

Parameters:
side - A constant that indicates which border whose width you want to set. Valid constants are listed in the See Also section.
borderWidth - The width for the border.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

getBorderWidth

public int getBorderWidth(int side)
Retrieves the width for the border.

Note: Thin presentation beans do not support this property in Netscape 4.x.

Parameters:
side - The side whose border width you want.
Returns:
The width for the border.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

isBorderWidthUsed

public boolean isBorderWidthUsed(int side)
Indicates whether the BorderWidth property has been explicitly set. When the return value of this method is true, then the property's value will be used in the merging process.

Parameters:
side - The side whose border width property might be set.
Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

setBorderWidthUsed

public void setBorderWidthUsed(int side,
                               boolean used)
Specifies whether the BorderWidth property has been explicitly set. This method is called by the setBorderWidth method. When the parameter value of this method is true, then the property's value will be used in the merging process.

Parameters:
side - The side whose border width has been set. Valid constants are listed in the See Also section.
used - true if the property has been explicitly set, false if the property has not been explicitly set.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

setBorderStyle

public void setBorderStyle(int side,
                           int borderStyle)
Specifies the style for the border. This method also sets the BorderStyleUsed property to true.

Note: Thin presentation beans do not support this property in Netscape 4.x.

Parameters:
side - A constant that indicates which border whose style you want to set. Valid constants are listed in the See Also section.
borderStyle - The style for the border.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

getBorderStyle

public int getBorderStyle(int side)
Retrieves the style for the border.

Note: Thin presentation beans do not support this property in Netscape 4.x.

Parameters:
side - The side whose border style you want. Valid constants are listed in the See Also section.
Returns:
The style for the border.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

isBorderStyleUsed

public boolean isBorderStyleUsed(int side)
Indicates whether the BorderStyle property has been explicitly set. When the return value of this method is true, then the property's value will be used in the merging process.

Parameters:
side - The side whose border style might be set. Valid constants are listed in the See Also section.
Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

setBorderStyleUsed

public void setBorderStyleUsed(int side,
                               boolean used)
Specifies whether the BorderStyle property has been explicitly set. This method is called by the setBorderStyle method. When the parameter value of this method is true, then the property's value will be used in the merging process.

Parameters:
side - The side whose border style has been set. Valid constants are listed in the See Also section.
used - true if the property has been explicitly set, false if the property has not been explicitly set.
See Also:
TOP_BORDER, BOTTOM_BORDER, LEFT_BORDER, RIGHT_BORDER, ALL_BORDERS

setFont

public void setFont(java.awt.Font font)
Specifies a Font object for the text. This method also sets the FontUsed property to true.

Specified by:
setFont in interface FontAttribute
Overrides:
setFont in class oracle.bali.ewt.graphics.Appearance
Parameters:
font - A Font object for the text. If the font size that font specifies is not a positive number, then this method logs an error with the error handler and does not change the font size. In this case, the font name, bold, and italic properties are set, even though the size is not.

getFont

public java.awt.Font getFont()
Retrieves a Font object for the text.

Specified by:
getFont in interface FontAttribute
Overrides:
getFont in class oracle.bali.ewt.graphics.Appearance
Returns:
A Font object for the text.

isFontUsed

public boolean isFontUsed()
Indicates whether any of certain font properties has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

This method returns true if any of the following methods returns true:

Returns:
true if a font property has been explicitly set, false if none of them have been explicitly set.

setFontUsed

public void setFontUsed(boolean used)
Specifies whether the Font property has been explicitly set. This method is called by the setFont method. When the parameter value of this method is true, the property's value will be used in the merging process.

This method calls the following methods, passing the used value that is passed to this method:


setFontName

public void setFontName(java.lang.String fontName)
Specifies the name of the font for the text. This method also sets the FontNameUsed property to true.

Parameters:
fontName - The name of the font for the text.

getFontName

public java.lang.String getFontName()
Retrieves the name of the font for the text.

Returns:
The name of the font for the text.

isFontNameUsed

public boolean isFontNameUsed()
Indicates whether the FontName property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setFontNameUsed

public void setFontNameUsed(boolean used)
Specifies whether the FontName property has been explicitly set. This method is called by the setFontName method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setFontSize

public void setFontSize(int fontSize)
Specifies the size of the font for the text. This method also sets the FontSizeUsed property to true.

Parameters:
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.

getFontSize

public int getFontSize()
Retrieves the size of the font for the text.

Returns:
The size of the font for the text.

fontStyle

public static int fontStyle(boolean bold,
                            boolean italic)
Parameters:
bold - true to make the font bold, false to prohibit the font from being bold.
italic - true to make the font italicized, false to prohibit the font from being italicized.
Returns:
s The font style for the text.
For internal use only. Application developers should not use this
Specifies whether the font for the text is bold, italic, or plain. This method is set by the setFontBold and setFontItalic methods. To make the font plain, set both parameter values to false.

getFontStyle

public int getFontStyle()
Retrieves the font style for the text, such as bold, italic, or plain. The constants are Font.BOLD, Font.ITALIC, and Font.PLAIN. The constants are defined in the Font class.

Returns:
The constant that represents the font style for the text, such as bold, italic, or plain.

isFontSizeUsed

public boolean isFontSizeUsed()
Indicates whether the FontSize property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setFontSizeUsed

public void setFontSizeUsed(boolean used)
Specifies whether the FontSize property has been explicitly set. This method is called by the setFontName method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setFontBold

public void setFontBold(boolean fontBold)
Specifies whether the font style for the text is bold. This method also sets the FontBoldUsed property, and the bold parameter value of the setFontStyle method.

Parameters:
fontBold - true to make the font bold, false to prohibit the font from being bold.

isFontBold

public boolean isFontBold()
Indicates whether the font style for the text is bold.

Returns:
true if the font is bold, false if the font is not bold.

isFontBoldUsed

public boolean isFontBoldUsed()
Indicates whether the FontBold property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setFontBoldUsed

public void setFontBoldUsed(boolean used)
Specifies whether the FontBold property has been explicitly set. This method is called by the setFontBold method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

setFontItalic

public void setFontItalic(boolean fontItalic)
Specifies whether the font style for the text is italic. This method also sets the FontItalicUsed property and the italic parameter value for the setFontStyle method.

Parameters:
fontItalic - true to make the font style italic, false to prohibit the font style from being italic.

isFontItalic

public boolean isFontItalic()
Indicates whether the font style for the text is italic.

Returns:
true if the font style is italic, false if the font style is not italic.

isFontItalicUsed

public boolean isFontItalicUsed()
Indicates whether the FontItalic property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.

Returns:
true if the property has been explicitly set, false if the property has not been explicitly set.

setFontItalicUsed

public void setFontItalicUsed(boolean used)
Specifies whether the FontItalic property has been explicitly set. This method is called by the setFontItalic method. When the parameter value of this method is true, the property's value will be used in the merging process.

Parameters:
used - true if the property has been explicitly set, false if the property has not been explicitly set.

merge

public void merge(Mergeable from)
Merges the specified ViewStyle object with this object. This method is called by the Rule classes.

Applications should not call this method to set properties of a ViewStyle, because the view is not refreshed when this method is called. Instead, call the normal access methods to set properties of the ViewStyle. For example, to set the background color, call the setBackground method.

Alternately, set a new ViewStyle on the view.

Specified by:
merge in interface Mergeable
Parameters:
from - The ViewStyle object that you want to merge.

mergeDefaults

public void mergeDefaults(ViewStyle from)
Merges the specified ViewStyle object with this object. Properties whose used bits are set to true on this object are not merged. This method is called by GridView.applyCSSStyleDefaults in an HTML-client application.

Applications should not call this method to set properties of a ViewStyle, because the view is not refreshed when this method is called. Instead, call the normal access methods to set properties of the ViewStyle. For example, to set the background color, call the setBackground method.

Alternately, set a new ViewStyle on the view.

Parameters:
from - The ViewStyle that you want to merge with this ViewStyle.

setGraphicImageIndex

public void setGraphicImageIndex(int index)
Specifies the index for the image that indicates that a user can drill out from a 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.

Parameters:
index - The index of the graphic image in the image list that is configured by calling GridView.setGraphicImage.
See Also:
oracle.dss.gridView.GridView#setGraphicImage, oracle.dss.gridView.GridViewDataListener

getGraphicImageIndex

public int getGraphicImageIndex()
Retrieves the index of the graphic image.

Returns:
The graphic image index.
See Also:
setGraphicImageIndex(int)

isGraphicImageIndexUsed

public boolean isGraphicImageIndexUsed()
Indicates whether the GraphicImageIndex property has been explicitly set. When this method returns true, then the GraphicImageIndex value will be used in the merging process.

Returns:
true if the value has been explicitly set, false if it has not.

setGraphicImageIndexUsed

public void setGraphicImageIndexUsed(boolean used)
Specifies whether the GraphicImageIndex property has been explicitly set. The setGraphicImageIndex property calls this method. When the parameter to this method is true, then the GraphicImageIndex value will be used in the merging process.

Parameters:
used - true to indicate that the value has been explicitly set, false to clear the used bit.

setGraphicImageTooltip

public void setGraphicImageTooltip(java.lang.String tooltip)
Specifies the text to display in a tooltip when an end user's mouse hovers over the graphic image.

Parameters:
tooltip - The tooltip for the graphic image.
See Also:
setGraphicImageIndex(int)

getGraphicImageTooltip

public java.lang.String getGraphicImageTooltip()
Retrieves the text of the tooltip that is displayed when an end user's mouse hovers over the graphic image.

Returns:
The tooltip for the graphic image.
See Also:
getGraphicImageIndex()

isGraphicImageTooltipUsed

public boolean isGraphicImageTooltipUsed()
Indicates whether the GraphicImageTooltip property has been explicitly set. When this method returns true, then the GraphicImageTooltip value will be used in the merging process.

Returns:
true if the value has been explicitly set, false if it has not.

setGraphicImageTooltipUsed

public void setGraphicImageTooltipUsed(boolean used)
Specifies whether the GraphicImageTooltip property has been explicitly set. The setGraphicImageTooltip property calls this method. When the parameter to this method is true, then the GraphicImageTooltip value will be used in the merging process.

Parameters:
used - true to indicate that the value has been explicitly set, false to clear the used bit.

setCellEditStyle

public void setCellEditStyle(int style)
Specifies the edit style for a 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.

Parameters:
style - A constant that indicates the edit style. Valid constants are listed in the See Also section.
See Also:
CELL_EDITABLE, CELL_NOT_EDITABLE

getCellEditStyle

public int getCellEditStyle()
Retrieves the edit style for a 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.

Returns:
A constant that indicates the edit style. Valid constants are listed in the See Also section.
See Also:
CELL_EDITABLE, CELL_NOT_EDITABLE

isCellEditStyleUsed

public boolean isCellEditStyleUsed()
Indicates whether the CellEditStyle property has been explicitly set. When this method returns true, then the CellEditStyle value will be used in the merging process.

Returns:
true if the value has been explicitly set, false if it has not.

setCellEditStyleUsed

public void setCellEditStyleUsed(boolean used)
Specifies whether the CellEditStyle property has been explicitly set. The setCellEditStyle property calls this method. When the parameter to this method is true, then the CellEditStyle value will be used in the merging process.

Parameters:
used - true to indicate that the value has been explicitly set, false to clear the used bit.

setEditBackground

public void setEditBackground(java.awt.Color background)
Specifies the background color for cells that can be edited in the databody of a crosstab or table. This method also sets the EditBackgroundUsed property to true.

Parameters:
background - The color for the background of editable cells.

getEditBackground

public java.awt.Color getEditBackground()
Retrieves the background color of editable cells in the databody of a crosstab or table.

Returns:
The background color of editable cells.

isEditBackgroundUsed

public boolean isEditBackgroundUsed()
Indicates whether the EditBackground property has been explicitly set. When this method returns true, then the value of the EditBackground will be used in the merging process. Note that EditBackground applies only to the databody cells in a crosstab or table.

Returns:
true if the EditBackground property has been explicitly set, false if it has not.

setEditBackgroundUsed

public void setEditBackgroundUsed(boolean used)
Specifies whether the EditBackground property has been explicitly set. This method is called by the setEditBackground method. When the parameter value of this method is true, then the EditBackground value will be used in the merging process.

The EditBackground property applies only to the databody of a crosstab or table.

Parameters:
used - true to indicate that the value has been explicitly set, false to clear the "used" bit.

setEditForeground

public void setEditForeground(java.awt.Color foreground)
Specifies the foreground color for cells that can be edited in the databody of a crosstab or table. This method also sets the EditForegroundUsed property to true.

Parameters:
foreground - The color for the foreground of cells that can be edited.

getEditForeground

public java.awt.Color getEditForeground()
Retrieves the foreground color for cells that can be edited in the databody of a table or crosstab.

Returns:
The foreground color for editable cells.

isEditForegroundUsed

public boolean isEditForegroundUsed()
Indicates whether the EditForeground property has explicitly been set. When this method returns true, then the EditForeground property is used in the merging process. Note that EditForeground applies only to the databody cells in a crosstab or table.

Returns:
true if the EditForeground property has been explicitly set, false if it has not.

setEditForegroundUsed

public void setEditForegroundUsed(boolean used)
Specifies whether the EditForeground property has been explicitly set. This method is called by the setEditForeground method. When the parameter value of this method is true, the EditForeground property value is used in the merging process. Note that EditForeground applies only to databody cells in a crosstab or table.

Parameters:
used - true to indicate that the EditForeground has been explicitly set, false to clear the "used" bit.

setGraphicBarColor

public void setGraphicBarColor(java.awt.Color color)
Specifies the color of the graphic bar in a databody cell in a table or crosstab. If 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.

Parameters:
color - The color for the graphic bar.

getGraphicBarColor

public java.awt.Color getGraphicBarColor()
Retrieves the color of the graphic bar in the databody cell of a table or crosstab.

Note: Thin presentation beans do not support this property. In Java-client GridView objects, graphical bars work with positive ratios only.

Returns:
The color of the graphic bar.

isGraphicBarColorUsed

public boolean isGraphicBarColorUsed()
Indicates whether the GraphicBarColor property has been explicitly set. When this method returns true, then the value of the GraphicBarColor property is used in the merging process. Note that GraphicBarColor applies only to databody cells in a Java-client crosstab or table.

Returns:
true if the GraphicBarColor has been explicitly set, false if it has not.

setGraphicBarColorUsed

public void setGraphicBarColorUsed(boolean used)
Specifies whether the GraphicBarColor property has been explicitly set. This method is called by the setGraphicBarColor method. When the parameter value of this method is true, then the GraphicBarColor property is used in the merging process. Note that GraphicBarColor applies only to databody cells in a Java-client crosstab or table.

Parameters:
used - true to indicate that the GraphicBarColor property has been explicitly set, false to clear the "used" bit.

setGraphicBarVisible

public void setGraphicBarVisible(boolean visible)
Specifies whether a graphic bar appears in the databody cell of a Java-client crosstab or table. This method also sets the 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.

Parameters:
visible - true to display a graphic bar, false not to display it.

isGraphicBarVisible

public boolean isGraphicBarVisible()
Indicates whether a graphic bar appears in the databody cell of a Java-client crosstab or table.

Note: Thin presentation beans do not support this property. In Java-client GridView objects, graphical bars work with positive ratios only.

Returns:
true if a graphic bar is visible, false if it is not.

isGraphicBarVisibleUsed

public boolean isGraphicBarVisibleUsed()
Indicates whether the GraphicBarVisible property has been explicitly set. When this method returns true, the value of the GraphicBarVisible property is used in the merging process. Note that GraphicBarVisible applies only to databody cells in a Java-client crosstab or table.

Returns:
true if the GraphicBarVisible property has been explicitly set, false if it has not.

setGraphicBarVisibleUsed

public void setGraphicBarVisibleUsed(boolean used)
Specifies whether the GraphicBarVisible property has been explicitly set. This method is called by the setGraphicBarVisible method. When the parameter value of this method is true, then the value of the GraphicBarVisible property is used in the merging process. Note that GraphicBarVisible applies only to databody cells in a Java-client crosstab or table.

Parameters:
used - true the GraphicBarVisible property has been explicitly set, false if it has not.

setHPageBreak

public void setHPageBreak(boolean b)
Specifies whether the horizontal page break line is visible in the databody of a table or crosstab. This method also sets the HPageBreakUsed property to true.

Parameters:
visible - true to display the horizontal page break line, false to hide it.

isHPageBreak

public boolean isHPageBreak()
Indicates whether the horizontal page break line is visible in the databody of a table or crosstab.

Returns:
true if the horizontal page break line is visible, false if it is not.

setVPageBreak

public void setVPageBreak(boolean b)
Specifies whether the vertical page break line is visible in the databody of a crosstab or table. This method also sets the VPageBreakUsed property to true.

Parameters:
visible - true to display the vertical page break line, false to hide it.

isVPageBreak

public boolean isVPageBreak()
Indicates whether the vertical page break line is visible in the databody of a crosstab or table.

Returns:
true if the vertical page break line is visible, false if it is not.

isHPageBreakUsed

public boolean isHPageBreakUsed()
Indicates whether the HPageBreak property has been explicitly set. When this method returns true, then the value of the HPageBreak property is used in the merging process. Note that HPageBreak applies only to the databody of a table or crosstab.

Returns:
true if the HPageBreak property has been explicitly set, false if it has not.

setHPageBreakUsed

public void setHPageBreakUsed(boolean used)
Specifies whether the HPageBreak property has been explicitly set. This method is called by the setHPageBreak method. When the parameter value of this method is true, then the value of the HPageBreak is used in the merging process Note that HPageBreak applies only to the databody of a table or crosstab.

Parameters:
used - true to indicate that the HPageBreak property has been explicitly set, false to clear the "used" bit.

isVPageBreakUsed

public boolean isVPageBreakUsed()
Indicates whether the VPageBreak property has been explicitly set. When this method returns true, then the value of the VPageBreak property is used in the merging process. Note that VPageBreak applies only to the databody of a table or crosstab.

Returns:
true if the VPageBreak property has been explicitly set, false if it has not.

setVPageBreakUsed

public void setVPageBreakUsed(boolean used)
Specifies whether the VPageBreak property has been explicitly set. This method is called by the setVPageBreak method. When the parameter value of this method is true, then the value of the VPageBreak is used in the merging process. Note that VPageBreak applies only to the databody of a table or crosstab.

Parameters:
used - true to indicate that the VPageBreak property has been explicitly set, false to clear the "used" bit.

setDrillOutLinks

public void setDrillOutLinks(java.util.List drillOutLinks)
For internal use only. Application developers should not use this
Specifies the list of oracle.dss.dataView.managers.DrillOutLink objects. Note that DrillOutLinks applies only to databody cells in a thin crosstab.

getDrillOutLinks

public java.util.List getDrillOutLinks()
For internal use only. Application developers should not use this
Retrives the list of oracle.dss.dataView.managers.DrillOutLink objects.

isDrillOutLinksUsed

public boolean isDrillOutLinksUsed()
Returns:
true if the DrillOutLinks has been explicitly set, false if it has not.
For internal use only. Application developers should not use this
Indicates whether the DrillOutLinks property has been explicitly set. When this method returns true, then the value of the DrillOutLinks property is used in the merging process. Note that DrillOutLinks applies only to databody cells in a thin crosstab.

setDrillOutLinksUsed

public void setDrillOutLinksUsed(boolean used)
Parameters:
used - true to indicate that the DrillOutLinks property has been explicitly set, false to clear the "used" bit.
For internal use only. Application developers should not use this
Specifies whether the DrillOutLinks property has been explicitly set. This method is called by the setDrillOutLinks method. When the parameter value of this method is true, then the DrillOutLinks property is used in the merging process. Note that DrillOutLinks applies only to databody cells in a thin crosstab.

equals

public boolean equals(java.lang.Object o)
Indicates whether the specified object is equivalent to this ViewStyle object. ViewStyle objects are equivalent if they have the same property explicitly set and those propertys have the same values.

Overrides:
equals in class oracle.bali.ewt.graphics.Appearance
Parameters:
o - The object that you want to compare this one to.
Returns:
true if the objects have the same propertys explicitly set, and those propertys have the same values, false if they do not, or if o is not an object.

contains

public boolean contains(ViewStyle vs)
Indicates whether the specified object is a subset of this ViewStyle object.

Parameters:
vs - The ViewStyle object that you want to compare this one to.
Returns:
true if the object is a subset, and their properties have the same values, false if they do not

initWithString

public void initWithString(java.lang.String s)
Parameters:
s - The String that contains the property information as described above.
For internal use only. Application developers should not use this
This method is specifically designed for use by Oracle Analytic Solutions in the migration of X4W Tools applications to Java Beans. This method takes a String that can be used to set the following property values:

  • \fffontame The name of the font, such as \ff"Times New Roman". " " is not a valid name. All font name must be enclosed in double quotation marks, " ". Currently, it is not a requirement the String itself be enclose in double quotation marks.
  • \fsn The font size, in points.
  • \b \i \u Turn on bold, italic, or underline. There are no keyboard spaces between the backslash and the letter. For example: "\ b" is not valid.
  • \cf(n,n,n) Foreground color in RGB format. "n" is a value that indicates color intensity for each red, green, and blue component. If a component color is omitted, its associated intensity value is assumed to be zero. Use a comma between the "n" values to indicate a missing component. For example: \cf(,,200) specifies only blue, at an intensity of 200, while \cf(128) specifies red only. Black would be indicated by \cf(0).
  • \cb() is not a valid RGB color.
  • \cb(n,n,n) Background color in RGB format. The same color codes apply.
  • \cl(n,n,n) Border line color in RGB format. The same color codes apply.
  • \ls(line_style, line_target) The border styles.
  • line_style is one of the following: 1=Solid, 2=Dash, 3=Dot, 4=DashDot, 5=DashDotDot, 6=Double.
  • line_target is one of the following: 1=Box, 2=Top, 3=Bottom, 4=Left, 5=Right.
  • \han The horizontal alignment of the text within its rectangle. "n" indicates one of the following values:0=Left, 1=Center, 2=Right.
  • \van The vertical alignmentof the text within its rectangle. "n" indicates one of the following values: 0=Left, 1=Center, 2=Right.

Strings will be processed regardless of format errors.


clearUsedBits

public void clearUsedBits()
Sets all of the "used" ViewStyle properties to false. Immediately after you call this method, the IsAnythingOverridden method returns false.


setViewStyleCallback

public void setViewStyleCallback(ViewStyleCallback vsc)
Parameters:
vsc - the ViewStyleCallback to notify when properties change
For internal use only. Application developers should not use this
Set the callback to use when properties change. For internal use only.

getViewStyleCallback

public ViewStyleCallback getViewStyleCallback()
Returns:
The ViewStyleCallback to notify when properties change
For internal use only. Application developers should not use this
Get the callback to use when properties change. For internal use only.

setErrorHandler

public void setErrorHandler(ErrorHandler eh)
Specifies the error handler for this ViewStyle. When you set this ViewStyle on a Dataview, the error handler currently set on this ViewStyle will be removed and the ViewStyle will use the error handler set on the Dataview. For operations that you do before you set the ViewStyle on a Dataview, you should call this method to set your own error handler. This handler will then be removed and the error handler of the Dataview will be used instead.

Parameters:
eh - The error handler to use.

getErrorHandler

public ErrorHandler getErrorHandler()
For internal use only. Application developers should not use this
get error handler of viewformat

copy

public oracle.bali.ewt.graphics.Appearance copy()
Overrides:
copy in class oracle.bali.ewt.graphics.Appearance
Returns:
The Appearance object.
For internal use only. Application developers should not use this
Copies this ViewStyle object as an Appearance object.

setBorder

protected void setBorder()
For internal use only. Application developers should not use this
Set the border based on properties

setBorderApplied

public void setBorderApplied(boolean b)
Parameters:
b - true to apply borders on JEWT, false otherwise
For internal use only. Application developers should not use this
Set flag indicating whether the borders set on this ViewStyle should be pushed onto JEWT. This property is true by default.

isBorderApplied

public boolean isBorderApplied()
Returns:
true if borders should be pushed onto JEWT, false otherwise
For internal use only. Application developers should not use this
Determine if borders set on this ViewStyle should be pushed onto JEWT.

scaleStyle

public ViewStyle scaleStyle(java.awt.Font f)
For internal use only. Application developers should not use this

getDefaultBackground

public static java.awt.Color getDefaultBackground()
Returns:
The default background color.
For internal use only. Application developers should not use this
Retrieves the default background color.

getDefaultForeground

public static java.awt.Color getDefaultForeground()
Returns:
The default foreground color.
For internal use only. Application developers should not use this
Retrieves the default foreground color.

getDefaultSelectBackground

public static java.awt.Color getDefaultSelectBackground()
Returns:
The default color for the background after it has been selected.
For internal use only. Application developers should not use this
Retrieves the default color for the background after it has been selected.

getDefaultSelectForeground

public static java.awt.Color getDefaultSelectForeground()
Returns:
The default color for the foreground after it has been selected.
For internal use only. Application developers should not use this
Retrieves the default color for the foreground after it has been selected.

getDefaultFont

public static java.awt.Font getDefaultFont()
Returns:
The default font for the text.
For internal use only. Application developers should not use this
Retrieves the default font for the text.

createDifferencesBitSet

public static java.util.BitSet createDifferencesBitSet(int attributeId)
Parameters:
attributeId - the ID of the single property that changed
Returns:
BitSet of the single property difference
For internal use only. Application developers should not use this
Get a BitSet representing the set of changed propertys in the ViewStyle. A bit is set to true if that property was changed. This method creates a set of bits representing one changed property.

createDifferencesBitSet

public static java.util.BitSet createDifferencesBitSet(ViewStyle vs1,
                                                       ViewStyle vs2)
Parameters:
vs1 - one of the two ViewStyles to compare
vs2 - one of the two ViewStyles to compare
Returns:
BitSet of differences between the two ViewStyles
For internal use only. Application developers should not use this
Get a BitSet representing the set of changed propertys in the ViewStyle. A bit is set to true if that property was changed.

setXML

public boolean setXML(oracle.dss.util.xml.ObjectNode node,
                      java.lang.String version,
                      int reset)
Specifies XML that represents properties and values. This method applies the values of the properties in the XML to this MergeableXML.

Specified by:
setXML in interface MergeableXML
Parameters:
node - ObjectNode that has the properties and their values.
version - The XML version.
reset - A constant that indicates how much to reset when XML is applied. Valid values are listed in the See Also section.
Returns:
true if XML is properly applied, false if the XML cannot be applied.
See Also:
Rule.RESET_NONE, Rule.RESET_XML_PROPERTIES, Rule.RESET_EVERYTHING

convertCellEditStyleIntToString

protected static java.lang.String convertCellEditStyleIntToString(int style)
Parameters:
style - the value of the CellEditStyle property
Returns:
a String representing the style
For internal use only. Application developers should not use this
Convert the int value of the CellEditStyle property to a String representation for writing to XML.

convertCellEditStyleStringToInt

protected static int convertCellEditStyleStringToInt(java.lang.String string)
Parameters:
string - the String representing the value of CellEditStyle
Returns:
the value of CellEditStyle represented by the string
For internal use only. Application developers should not use this
Convert a String representation of the value of the CellEditStyle property read from XML to an int value to which the property can be set.

toHexString

public static java.lang.String toHexString(int value)
For internal use only. Application developers should not use this
Converts to Hexadecimal string having only lower 24 bits

hexStringToInt

public static int hexStringToInt(java.lang.String str)
For internal use only. Application developers should not use this
Converts Hexadecimal string having only lower 24 bits to integer

getXML

public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties,
                                             int hAlignment,
                                             int vAlignment)
For internal use only. Application developers should not use this

getXML

public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties)
For internal use only. Application developers should not use this

getXML

public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties,
                                             boolean emptyElement)
Retrieves XML that represents properties and their values in the form of and ObjectNode.

Specified by:
getXML in interface MergeableXML
Parameters:
allProperties - true to store all property values in XML, false to store only values that are different from default values.
emptyElement - true if an empty element needs to be returned when none of the property values have changed from default. false if null should should be returned when none of the property values have changed from default. This argument is considered only if allProperties is false.
Returns:
XML for the properties and values.

resetToDefault

public void resetToDefault(int reset)
For internal use only. Application developers should not use this
Reset default property values on this ViewStyle.

setStateAsObjectNode

public void setStateAsObjectNode(oracle.dss.util.xml.ObjectNode node,
                                 ViewStyle baseState)
For internal use only. Application developers should not use this
NOTE: node != null

getStateAsObjectNode

public oracle.dss.util.xml.ObjectNode getStateAsObjectNode(java.lang.String nodeName,
                                                           ViewStyle baseState)
For internal use only. Application developers should not use this
Gets the state differences from a specified base state

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

Copyright © 1997, 2011, Oracle. All rights reserved.