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

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

public class HtmlTable
extends HtmlContainerIdentifiableWithEvents

HtmlTable.java Created: Thu Oct 28 15:26:47 1999

Version:
$Revision: #3 $

Inner classes inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
HtmlContainerIdentifiableWithUniqueManager.HtmlUniqueObjectFacade
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithEvents
m_onClick, m_onDoubleClick, m_onKeyDown, m_onKeyPress, m_onKeyUp, m_onMouseOut, m_onMouseOver
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
m_uniqueObjectList, m_uniqueObjects
 
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
HtmlTable()
          Default constructor.
 
Method Summary
 HtmlTable setAlign(java.lang.String align)
          Sets the ALIGN="" attribute.
 HtmlTable setBorder(int border)
          Sets the BORDER="" attribute.
 HtmlTable setBorder(java.lang.String border)
          Sets the BORDER="" attribute.
 HtmlTable setCellPadding(int cellpadding)
          Sets the CELLPADING="" attribute.
 HtmlTable setCellPadding(java.lang.String cellpadding)
          Sets the CELLPADING="" attribute.
 HtmlTable setCellSpacing(int cellspacing)
          Sets the CELLSPACING="" attribute.
 HtmlTable setCellSpacing(java.lang.String cellspacing)
          Sets the CELLSPACING="" attribute.
 HtmlTable setCols(int cols)
          Sets the COLS="" attribute.
 HtmlTable setCols(java.lang.String cols)
          Sets the COLS="" attribute.
 HtmlTable setFrame(java.lang.String frame)
          Sets the FRAME="" attribute.
 HtmlTable setHeight(int height)
          Sets the HEIGHT="" attribute.
 HtmlTable setHeight(java.lang.String height)
          Sets the HEIGHT="" attribute.
 HtmlTable setRules(java.lang.String rules)
          Sets the RULES="" attribute.
 HtmlTable setSummary(java.lang.String summary)
          Set the SUMMARY="" attribue.
 HtmlTable setWidth(int width)
          Sets the WIDTH="" attribute.
 HtmlTable setWidth(java.lang.String width)
          Sets the WIDTH="" attribute.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithEvents
getOnClick, getOnDoubleClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseOut, getOnMouseOver, outputAttributes, outputAttributes, outputAttributes, setOnClick, setOnClick, setOnDblClick, setOnDoubleClick, setOnKeyDown, setOnKeyDown, setOnKeyPress, setOnKeyPress, setOnKeyUp, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOut, setOnMouseOver, setOnMouseOver, setOnMouseUp
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
addUniqueObject, addUniqueObject, destroy, getElementCount, getUniqueObject, getUniqueObjects, output, output, output, removeAllUniqueObjects, removeUniqueObject
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
setID
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
addElement, addElement, getHtmlElements, 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
 

Constructor Detail

HtmlTable

public HtmlTable()
Default constructor.
Method Detail

setSummary

public HtmlTable setSummary(java.lang.String summary)
Set the SUMMARY="" attribue.
Parameters:
summary - sets the SUMMARY="" attribute.

setAlign

public HtmlTable setAlign(java.lang.String align)
Sets the ALIGN="" attribute.
Parameters:
align - sets the ALIGN="" attribute. You can use the AlignType.* variables for convience.

setWidth

public HtmlTable setWidth(java.lang.String width)
Sets the WIDTH="" attribute.
Parameters:
width - sets the WIDTH="" attribute.

setHeight

public HtmlTable setHeight(java.lang.String height)
Sets the HEIGHT="" attribute.
Parameters:
width - sets the HEIGHT="" attribute.

setWidth

public HtmlTable setWidth(int width)
Sets the WIDTH="" attribute.
Parameters:
width - sets the WIDTH="" attribute.

setHeight

public HtmlTable setHeight(int height)
Sets the HEIGHT="" attribute.
Parameters:
width - sets the HEIGHT="" attribute.

setCols

public HtmlTable setCols(int cols)
Sets the COLS="" attribute.
Parameters:
width - sets the COLS="" attribute.

setCols

public HtmlTable setCols(java.lang.String cols)
Sets the COLS="" attribute.
Parameters:
width - sets the COLS="" attribute.

setCellPadding

public HtmlTable setCellPadding(int cellpadding)
Sets the CELLPADING="" attribute.
Parameters:
cellpadding - sets the CELLPADING="" attribute.

setCellSpacing

public HtmlTable setCellSpacing(int cellspacing)
Sets the CELLSPACING="" attribute.
Parameters:
spacing - sets the CELLSPACING="" attribute.

setCellPadding

public HtmlTable setCellPadding(java.lang.String cellpadding)
Sets the CELLPADING="" attribute.
Parameters:
cellpadding - sets the CELLPADING="" attribute.

setCellSpacing

public HtmlTable setCellSpacing(java.lang.String cellspacing)
Sets the CELLSPACING="" attribute.
Parameters:
spacing - sets the CELLSPACING="" attribute.

setBorder

public HtmlTable setBorder(int border)
Sets the BORDER="" attribute.
Parameters:
border - sets the BORDER="" attribute.

setBorder

public HtmlTable setBorder(java.lang.String border)
Sets the BORDER="" attribute.
Parameters:
border - sets the BORDER="" attribute.

setFrame

public HtmlTable setFrame(java.lang.String frame)
Sets the FRAME="" attribute.
Parameters:
frame - sets the FRAME="" attribute.

setRules

public HtmlTable setRules(java.lang.String rules)
Sets the RULES="" attribute.
Parameters:
rules - sets the RULES="" attribute.