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

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
                                |
                                +--com.sapportals.portal.prt.util.html.HtmlCell
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlIdentifiable, IHtmlOutputable

public class HtmlCell
extends HtmlRow

HtmlCell.java Created: Fri Oct 29 14:51:21 1999

Version:
$Revision: #3 $

Field Summary
protected  java.lang.String m_background
          Picture to use for the background.
protected  java.lang.Integer m_colSpan
          Number of columns to cover.
protected  java.lang.Integer m_rowSpan
          number of rows to cover.
protected  java.lang.String m_width
          The width of the cell
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlRow
m_bgColor, m_borderColor, m_borderColorDark, m_borderColorLight, m_height, m_noWrap
 
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
HtmlCell()
           
 
Method Summary
 java.lang.String getBackground()
          Get the value of m_background.
 java.lang.Integer getColSpan()
          Get the value of m_colSpan.
 java.lang.Integer getRowSpan()
          Get the value of m_rowSpan.
 java.lang.String getWidth()
          Get the value of m_width.
 void outputAttributes(java.io.PrintWriter out)
          Deprecated.  
 void outputAttributes(java.lang.StringBuffer strbuf)
           
 void outputAttributes(java.io.Writer out)
           
 HtmlCell setBackground(java.lang.String v)
          Set the value of m_background.
 HtmlCell setColSpan(int v)
          Set the value of m_colSpan.
 HtmlCell setRowSpan(int v)
          Set the value of m_rowSpan.
 HtmlCell setWidth(java.lang.String v)
          Set the value of m_width.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlRow
getBgColor, getBorderColor, getBorderColorDark, getBorderColorLight, getHeight, getNoWrap, setAlign, setBgColor, setBorderColor, setBorderColorDark, setBorderColorLight, setHeight, setNoWrap, setVAlign
 
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_background

protected java.lang.String m_background
Picture to use for the background.

m_colSpan

protected java.lang.Integer m_colSpan
Number of columns to cover.

m_rowSpan

protected java.lang.Integer m_rowSpan
number of rows to cover.

m_width

protected java.lang.String m_width
The width of the cell
Constructor Detail

HtmlCell

public HtmlCell()
Method Detail

outputAttributes

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

outputAttributes

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

Overrides:
outputAttributes in class HtmlRow
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 HtmlRow

getBackground

public java.lang.String getBackground()
Get the value of m_background.
Returns:
Value of m_background.

setBackground

public HtmlCell setBackground(java.lang.String v)
Set the value of m_background.
Parameters:
v - Value to assign to m_background.

getColSpan

public java.lang.Integer getColSpan()
Get the value of m_colSpan.
Returns:
Value of m_colSpan.

setColSpan

public HtmlCell setColSpan(int v)
Set the value of m_colSpan.
Parameters:
v - Value to assign to m_colSpan.

getRowSpan

public java.lang.Integer getRowSpan()
Get the value of m_rowSpan.
Returns:
Value of m_rowSpan.

setRowSpan

public HtmlCell setRowSpan(int v)
Set the value of m_rowSpan.
Parameters:
v - Value to assign to m_rowSpan.

getWidth

public java.lang.String getWidth()
Get the value of m_width.
Returns:
Value of m_width.

setWidth

public HtmlCell setWidth(java.lang.String v)
Set the value of m_width.
Parameters:
v - Value to assign to m_width.