|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.html.HtmlElement | +--weblogic.html.ElementWithAttributes | +--weblogic.html.SinglePartElement | +--weblogic.html.FrameElement
Add one FrameElement for each frame to a FrameSetElement object to lay out multiple frames. Use the methods in this class to set the attributes, such as source, margins, and scrolling for the frame. This class also supports JavaScript attributes for onLoad and onUnload.
FrameSetElement
,
NoFramesElement
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
FrameElement()
Deprecated. Constructs a FrameElement. |
|
FrameElement(java.lang.String src)
Deprecated. Constructs a FrameElement and sets its SRC attribute. |
Method Summary | |
protected java.lang.String |
getHtmlCode()
Deprecated. |
protected boolean |
printBody()
Deprecated. |
protected boolean |
printCR()
Deprecated. |
protected boolean |
printEndingTag()
Deprecated. |
FrameElement |
setBorderColor(java.awt.Color color)
Deprecated. Sets the BORDERCOLOR attribute for a FrameElement. |
FrameElement |
setBorderColor(java.lang.String color)
Deprecated. Sets the BORDERCOLOR attribute for a FrameElement. |
FrameElement |
setFrameBorder(boolean border)
Deprecated. Sets the FRAMEBORDER attribute for a FrameElement. |
FrameElement |
setMarginHeight(int val)
Deprecated. Sets the MARGINHEIGHT attribute for a FrameElement. |
FrameElement |
setMarginHeight(java.lang.String val)
Deprecated. Sets the MARGINHEIGHT attribute for a FrameElement. |
FrameElement |
setMarginWidth(int val)
Deprecated. Sets the MARGINWIDTH attribute for a FrameElement. |
FrameElement |
setMarginWidth(java.lang.String val)
Deprecated. Sets the MARGINWIDTH attribute for a FrameElement. |
FrameElement |
setName(java.lang.String val)
Deprecated. Sets the NAME attribute for a FrameElement. |
FrameElement |
setName(WindowName val)
Deprecated. Sets the NAME attribute for a FrameElement with the specified WindowName object. |
FrameElement |
setNoResize()
Deprecated. Sets the NORESIZE attribute. |
FrameElement |
setOnLoad(java.lang.String attrib)
Deprecated. Sets the ONLOAD attribute. |
FrameElement |
setOnUnload(java.lang.String attrib)
Deprecated. Sets the ONUNLOAD attribute. |
FrameElement |
setScrolling(ScrollType val)
Deprecated. Sets the SCROLLING attribute with the specified ScrollType object. |
FrameElement |
setSource(java.lang.String val)
Deprecated. Sets the SRC attribute for a FrameElement. |
Methods inherited from class weblogic.html.SinglePartElement |
getElement,
printBody,
printBody,
printBody,
setElement,
setElement,
widthAsLiteral |
Methods inherited from class weblogic.html.ElementWithAttributes |
addAttribute,
addAttribute,
escapeQuotes,
getBooleanAttribute,
getElementAttribute,
getLocalVar,
getQuotedAttribute,
output,
output,
output,
setBooleanAttribute,
setBooleanAttribute,
setClass,
setDirection,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setId,
setLang,
setLocalVar,
setQuotedAttribute,
setStyle |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public FrameElement()
public FrameElement(java.lang.String src)
src
- Source of the frameMethod Detail |
protected java.lang.String getHtmlCode()
protected boolean printEndingTag()
protected boolean printBody()
protected boolean printCR()
public FrameElement setBorderColor(java.lang.String color)
color
- HtmlColor constant or hex RGB valueHtmlColor
public FrameElement setBorderColor(java.awt.Color color)
color
- java.awt.Color objectHtmlColor
public FrameElement setFrameBorder(boolean border)
border
- True if the attribute should be setpublic FrameElement setMarginHeight(java.lang.String val)
val
- Margin heightpublic FrameElement setMarginHeight(int val)
val
- Margin heightpublic FrameElement setMarginWidth(java.lang.String val)
val
- Margin widthpublic FrameElement setMarginWidth(int val)
val
- Margin widthpublic FrameElement setName(java.lang.String val)
val
- Name of the framepublic FrameElement setName(WindowName val)
val
- WindowName objectpublic FrameElement setNoResize()
public FrameElement setOnLoad(java.lang.String attrib)
attrib
- Event handler for scriptpublic FrameElement setOnUnload(java.lang.String attrib)
attrib
- Event handler for scriptpublic FrameElement setScrolling(ScrollType val)
val
- ScrollType objectpublic FrameElement setSource(java.lang.String val)
val
- Source of the frame
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |