com.sapportals.portal.prt.util.html
Class HtmlRow

java.lang.Object
  |
  +--com.sapportals.portal.prt.util.html.HtmlAttributeContainer
        |
        +--com.sapportals.portal.prt.util.html.HtmlBase
              |
              +--com.sapportals.portal.prt.util.html.HtmlContainer
                    |
                    +--com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
                          |
                          +--com.sapportals.portal.prt.util.html.HtmlRow
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlIdentifiable, IHtmlOutputable
Direct Known Subclasses:
HtmlCell

public class HtmlRow
extends HtmlContainerIdentifiable

HtmlRow.java Created: Fri Oct 29 14:26:43 1999

Version:
$Revision: #3 $

Field Summary
protected  java.lang.String m_bgColor
          The color of the background
protected  java.lang.String m_borderColor
          The color of the border.
protected  java.lang.String m_borderColorDark
          Color of dark part of border around each cell.
protected  java.lang.String m_borderColorLight
          color of light part of border around cell.
protected  java.lang.String m_height
          Height of the row
protected  boolean m_noWrap
          don't wrap word.
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
m_htmlElements
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase
m_hasTag
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
EQUALS_BEGIN, EQUALS_END, m_attributes, SPACE
 
Constructor Summary
HtmlRow()
           
 
Method Summary
 java.lang.String getBgColor()
          Get the value of m_bgColor.
 java.lang.String getBorderColor()
          Get the value of m_borderColor.
 java.lang.String getBorderColorDark()
          Get the value of m_borderColorDark.
 java.lang.String getBorderColorLight()
          Get the value of m_borderColorLight.
 java.lang.String getHeight()
          Get the value of m_height.
 boolean getNoWrap()
          Get the value of m_noWrap.
 void outputAttributes(java.io.PrintWriter out)
          Deprecated.  
 void outputAttributes(java.lang.StringBuffer strbuf)
           
 void outputAttributes(java.io.Writer out)
           
 HtmlRow setAlign(java.lang.String align)
          Sets the ALIGN="" attribute convience variables are provided in the AlignType interface
 HtmlRow setBgColor(java.lang.String v)
          Set the value of m_bgColor.
 HtmlRow setBorderColor(java.lang.String v)
          Set the value of m_borderColor.
 HtmlRow setBorderColorDark(java.lang.String v)
          Set the value of m_borderColorDark.
 HtmlRow setBorderColorLight(java.lang.String v)
          Set the value of m_borderColorLight.
 HtmlRow setHeight(java.lang.String v)
          Set the value of m_height.
 HtmlRow setNoWrap(boolean v)
          Set the value of m_noWrap.
 HtmlRow setVAlign(java.lang.String valign)
          Sets the ALIGN="" attribute convience variables are provided in the AlignType interface
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
destroy, setID
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
addElement, addElement, getElementCount, getHtmlElements, output, output, output, outputChildren, outputChildren, outputEndTag, outputEndTag, outputStartTag, outputStartTag, removeAllElements, removeElement, setHtmlElements, toString
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlBase
getTag, hasTag, requireClosingTag, requireClosingTag, setClass, setStyle, setTag
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
addAttribute, appendToAttribute, getAttributes, removeAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlIdentifiable
setClass
 

Field Detail

m_height

protected java.lang.String m_height
Height of the row

m_noWrap

protected boolean m_noWrap
don't wrap word.

m_bgColor

protected java.lang.String m_bgColor
The color of the background

m_borderColorLight

protected java.lang.String m_borderColorLight
color of light part of border around cell.

m_borderColorDark

protected java.lang.String m_borderColorDark
Color of dark part of border around each cell.

m_borderColor

protected java.lang.String m_borderColor
The color of the border.
Constructor Detail

HtmlRow

public HtmlRow()
Method Detail

outputAttributes

public void outputAttributes(java.lang.StringBuffer strbuf)
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(java.io.PrintWriter out)
Deprecated.  

Overrides:
outputAttributes in class HtmlAttributeContainer
Following copied from interface: com.sapportals.portal.prt.util.html.IHtmlAttributeContainer
Parameters:
writer -  

outputAttributes

public void outputAttributes(java.io.Writer out)
Overrides:
outputAttributes in class HtmlAttributeContainer

getHeight

public java.lang.String getHeight()
Get the value of m_height.
Returns:
Value of m_height.

setHeight

public HtmlRow setHeight(java.lang.String v)
Set the value of m_height.
Parameters:
v - Value to assign to m_height.

getNoWrap

public boolean getNoWrap()
Get the value of m_noWrap.
Returns:
Value of m_noWrap.

setNoWrap

public HtmlRow setNoWrap(boolean v)
Set the value of m_noWrap.
Parameters:
v - Value to assign to m_noWrap.

getBgColor

public java.lang.String getBgColor()
Get the value of m_bgColor.
Returns:
Value of m_bgColor.

setBgColor

public HtmlRow setBgColor(java.lang.String v)
Set the value of m_bgColor.
Parameters:
v - Value to assign to m_bgColor.

setAlign

public HtmlRow setAlign(java.lang.String align)
Sets the ALIGN="" attribute convience variables are provided in the AlignType interface
Parameters:
align - Sets the ALIGN="" attribute

setVAlign

public HtmlRow setVAlign(java.lang.String valign)
Sets the ALIGN="" attribute convience variables are provided in the AlignType interface
Parameters:
align - Sets the ALIGN="" attribute

getBorderColorLight

public java.lang.String getBorderColorLight()
Get the value of m_borderColorLight.
Returns:
Value of m_borderColorLight.

setBorderColorLight

public HtmlRow setBorderColorLight(java.lang.String v)
Set the value of m_borderColorLight.
Parameters:
v - Value to assign to m_borderColorLight.

getBorderColorDark

public java.lang.String getBorderColorDark()
Get the value of m_borderColorDark.
Returns:
Value of m_borderColorDark.

setBorderColorDark

public HtmlRow setBorderColorDark(java.lang.String v)
Set the value of m_borderColorDark.
Parameters:
v - Value to assign to m_borderColorDark.

getBorderColor

public java.lang.String getBorderColor()
Get the value of m_borderColor.
Returns:
Value of m_borderColor.

setBorderColor

public HtmlRow setBorderColor(java.lang.String v)
Set the value of m_borderColor.
Parameters:
v - Value to assign to m_borderColor.