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

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

public class HtmlFrame
extends HtmlContainer

HtmlFrame.java Created: Thu Oct 28 11:11:14 1999

Version:
$Revision: #3 $

Field Summary
protected  int m_frameBorder
          The border of the frame
protected  java.lang.String m_name
          Name of the frame
protected  boolean m_noResize
          NORESIZE says that the user cannot make the frame bigger or smaller by sliding the borders.
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.
 
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
HtmlFrame()
           
 
Method Summary
 int getFrameBorder()
          Get the value of m_frameBorder.
 java.lang.String getName()
          Get the value of m_name.
 boolean getNoResize()
          Get the value of m_noResize.
 java.lang.String getScrolling()
          Get the value of m_scrolling.
 java.lang.String getSrc()
          Get the value of m_src.
 void outputAttributes(java.io.PrintWriter out)
          Deprecated.  
 void outputAttributes(java.lang.StringBuffer strbuf)
           
 void outputAttributes(java.io.Writer out)
           
 HtmlFrame setFrameBorder(int v)
          Set the value of m_frameBorder.
 HtmlFrame setName(java.lang.String v)
          Set the value of m_name.
 HtmlFrame setNoResize(boolean v)
          Set the value of m_noResize.
 HtmlFrame setScrolling(java.lang.String v)
          Set the value of m_scrolling.
 HtmlFrame setSrc(java.lang.String v)
          Set the value of m_src.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
addElement, addElement, destroy, 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
 

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_noResize

protected boolean m_noResize
NORESIZE says that the user cannot make the frame bigger or smaller by sliding the borders. Normally the user can put the mouse over the border and move the border left/right or up/down. NORESIZE disables that ability. All border which run along the frame are effected.

m_frameBorder

protected int m_frameBorder
The border of the frame
Constructor Detail

HtmlFrame

public HtmlFrame()
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 HtmlFrame 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 HtmlFrame 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 HtmlFrame setScrolling(java.lang.String v)
Set the value of m_scrolling.
Parameters:
v - Value to assign to m_scrolling.

getNoResize

public boolean getNoResize()
Get the value of m_noResize.
Returns:
Value of m_noResize.

setNoResize

public HtmlFrame setNoResize(boolean v)
Set the value of m_noResize.
Parameters:
v - Value to assign to m_noResize.

getFrameBorder

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

setFrameBorder

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