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

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.HtmlIFrame
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlIdentifiable, IHtmlOutputable

public class HtmlIFrame
extends HtmlContainerIdentifiable

HtmlIFrame.java Created: Wed Nov 24 17:44:18 1999

Version:
$Revision: #3 $

Inner Class Summary
static class HtmlIFrame.IFrameAlign
           
 
Field Summary
protected  HtmlIFrame.IFrameAlign m_align
          Alignments of frame content
protected  int m_frameBorder
          The border of the frame
protected  java.lang.String m_height
          How tall is the image
protected  java.lang.String m_hSpace
          horizontal distance between the text and the image
protected  java.lang.String m_name
          Name of the frame
protected  java.lang.String m_scrolling
          SCROLLING says if there should be a scroll bar on the right and/or bottom of the frame.
protected  java.lang.String m_src
          Source document of the frame.
protected  java.lang.String m_vSpace
          vertical distance between the text and the image
protected  java.lang.String m_width
          how wide is the image
 
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
HtmlIFrame()
           
 
Method Summary
 HtmlIFrame.IFrameAlign getAlign()
          Get the value of m_align.
 int getFrameBorder()
          Get the value of m_frameBorder.
 java.lang.String getHeight()
          Get the value of m_height.
 java.lang.String getHSpace()
          Get the value of m_hSpace.
 java.lang.String getName()
          Get the value of m_name.
 java.lang.String getScrolling()
          Get the value of m_scrolling.
 java.lang.String getSrc()
          Get the value of m_src.
 java.lang.String getVSpace()
          Get the value of m_vSpace.
 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)
           
 HtmlIFrame setAlign(HtmlIFrame.IFrameAlign v)
          Set the value of m_align.
 HtmlIFrame setFrameBorder(int v)
          Set the value of m_frameBorder.
 HtmlIFrame setHeight(java.lang.String v)
          Set the value of m_height.
 HtmlIFrame setHSpace(java.lang.String v)
          Set the value of m_hSpace.
 HtmlIFrame setName(java.lang.String v)
          Set the value of m_name.
 HtmlIFrame setScrolling(java.lang.String v)
          Set the value of m_scrolling.
 HtmlIFrame setSrc(java.lang.String v)
          Set the value of m_src.
 HtmlIFrame setVSpace(java.lang.String v)
          Set the value of m_vSpace.
 HtmlIFrame setWidth(java.lang.String v)
          Set the value of m_width.
 
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_src

protected java.lang.String m_src
Source document of the frame.

m_name

protected java.lang.String m_name
Name of the frame

m_scrolling

protected java.lang.String m_scrolling
SCROLLING says if there should be a scroll bar on the right and/or bottom of the frame. SCROLLING=YES says there absolutely will be scroll bars, even if they are not needed. SCROLLING=NO says there will not be scroll bars, even if they might be needed. SCROLLING=AUTO is the default: there will be scroll bars on the side and/or bottom as needed.

m_frameBorder

protected int m_frameBorder
The border of the frame

m_width

protected java.lang.String m_width
how wide is the image

m_height

protected java.lang.String m_height
How tall is the image

m_hSpace

protected java.lang.String m_hSpace
horizontal distance between the text and the image

m_vSpace

protected java.lang.String m_vSpace
vertical distance between the text and the image

m_align

protected HtmlIFrame.IFrameAlign m_align
Alignments of frame content
Constructor Detail

HtmlIFrame

public HtmlIFrame()
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

getSrc

public java.lang.String getSrc()
Get the value of m_src.
Returns:
Value of m_src.

setSrc

public HtmlIFrame setSrc(java.lang.String v)
Set the value of m_src.
Parameters:
v - Value to assign to m_src.

getName

public java.lang.String getName()
Get the value of m_name.
Returns:
Value of m_name.

setName

public HtmlIFrame setName(java.lang.String v)
Set the value of m_name.
Parameters:
v - Value to assign to m_name.

getScrolling

public java.lang.String getScrolling()
Get the value of m_scrolling.
Returns:
Value of m_scrolling.

setScrolling

public HtmlIFrame setScrolling(java.lang.String v)
Set the value of m_scrolling.
Parameters:
v - Value to assign to m_scrolling.

getFrameBorder

public int getFrameBorder()
Get the value of m_frameBorder.
Returns:
Value of m_frameBorder.

setFrameBorder

public HtmlIFrame setFrameBorder(int v)
Set the value of m_frameBorder.
Parameters:
v - Value to assign to m_frameBorder.

getWidth

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

setWidth

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

getHeight

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

setHeight

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

getHSpace

public java.lang.String getHSpace()
Get the value of m_hSpace.
Returns:
Value of m_hSpace.

setHSpace

public HtmlIFrame setHSpace(java.lang.String v)
Set the value of m_hSpace.
Parameters:
v - Value to assign to m_hSpace.

getVSpace

public java.lang.String getVSpace()
Get the value of m_vSpace.
Returns:
Value of m_vSpace.

setVSpace

public HtmlIFrame setVSpace(java.lang.String v)
Set the value of m_vSpace.
Parameters:
v - Value to assign to m_vSpace.

getAlign

public HtmlIFrame.IFrameAlign getAlign()
Get the value of m_align.
Returns:
Value of m_align.

setAlign

public HtmlIFrame setAlign(HtmlIFrame.IFrameAlign v)
Set the value of m_align.
Parameters:
v - Value to assign to m_align.