com.sapportals.portal.prt.util.html

Class HtmlFrame

java.lang.Object
  extended by com.sapportals.portal.prt.util.html.HtmlAttributeContainer
      extended by com.sapportals.portal.prt.util.html.HtmlBase
          extended by com.sapportals.portal.prt.util.html.HtmlContainer
              extended by 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


Field Summary
protected  int m_frameBorder
          The border of the frame
protected  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  String m_scrolling
          SCROLLING says if there should be a scroll bar on the right and/or bottom of the frame.
protected  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.
 String getName()
          Get the value of m_name.
 boolean getNoResize()
          Get the value of m_noResize.
 String getScrolling()
          Get the value of m_scrolling.
 String getSrc()
          Get the value of m_src.
 void outputAttributes(PrintWriter out)
          Deprecated.  
 void outputAttributes(StringBuffer strbuf)
           
 void outputAttributes(Writer out)
           
 HtmlFrame setFrameBorder(int v)
          Set the value of m_frameBorder.
 HtmlFrame setName(String v)
          Set the value of m_name.
 HtmlFrame setNoResize(boolean v)
          Set the value of m_noResize.
 HtmlFrame setScrolling(String v)
          Set the value of m_scrolling.
 HtmlFrame setSrc(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, addIsThreadHTML5Compliant, addIsThreadXHTMLCompliant, appendToAttribute, getAttributes, isThreadHTML5Compliant, isThreadXHTMLCompliant, removeAttribute, removeIsThreadHTML5Compliant, removeIsThreadXHTMLCompliant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_src

protected String m_src
Source document of the frame.


m_name

protected String m_name
Name of the frame


m_scrolling

protected 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(StringBuffer strbuf)
Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(PrintWriter out)
Deprecated. 

Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(Writer out)
Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

getSrc

public String getSrc()
Get the value of m_src.

Returns:
Value of m_src.

setSrc

public HtmlFrame setSrc(String v)
Set the value of m_src.

Parameters:
v - Value to assign to m_src.

getName

public String getName()
Get the value of m_name.

Returns:
Value of m_name.

setName

public HtmlFrame setName(String v)
Set the value of m_name.

Parameters:
v - Value to assign to m_name.

getScrolling

public String getScrolling()
Get the value of m_scrolling.

Returns:
Value of m_scrolling.

setScrolling

public HtmlFrame setScrolling(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.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice