weblogic.html
Class BigElement
java.lang.Object
|
+--weblogic.html.HtmlElement
|
+--weblogic.html.ElementWithAttributes
|
+--weblogic.html.SinglePartElement
|
+--weblogic.html.BigElement
- public class BigElement
- extends SinglePartElement
A BigElement is used to place text in a large font.
Use a BigElement
as the argument for any of the addElement() methods. You can
also set an element to BIG by using the
asBigElement() method in the parent class HtmlElement.
Examples of adding BigElements to an htmlKona page called "hp":
hp.addElement(new BigElement(caption));
or,
hp.addElement(new StringElement("Important!").asBigElement());
- Version:
- 2.1
- Author:
- Copyright (c) 1996, WebLogic, Inc.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
- See Also:
HtmlElement.asBigElement()
Constructor Summary
|
BigElement()
Constructs a BigElement. |
BigElement(HtmlElement val)
Constructs a BigElement with the specified HtmlElement. |
BigElement(java.lang.String val)
Constructs a BigElement with the specified string. |
Method Summary
|
protected java.lang.String |
getHtmlCode()
|
Methods inherited from class weblogic.html.ElementWithAttributes |
addAttribute,
addAttribute,
escapeQuotes,
getBooleanAttribute,
getElementAttribute,
getLocalVar,
getQuotedAttribute,
output,
output,
output,
printBody,
printCR,
printEndingTag,
setBooleanAttribute,
setBooleanAttribute,
setClass,
setDirection,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setId,
setLang,
setLocalVar,
setQuotedAttribute,
setStyle |
Methods inherited from class weblogic.html.HtmlElement |
asAnchorElement,
asBigElement,
asBlockquoteElement,
asBoldElement,
asCenteredElement,
asCiteElement,
asCodeElement,
asCommentElement,
asDefineTermElement,
asEmphasisElement,
asFontElement,
asFontElement,
asFontElement,
asHtmlContainer,
asItalicElement,
asKeyboardElement,
asLiteralElement,
asParagraphElement,
asSampleElement,
asSmallElement,
asStrikeElement,
asStrongElement,
asSubscriptElement,
asSuperscriptElement,
asTeletypeElement,
asUnderlineElement,
asVariableElement,
getVersion,
setAnchorMode,
setCodeset,
toString,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
BigElement
public BigElement()
- Constructs a BigElement.
BigElement
public BigElement(java.lang.String val)
- Constructs a BigElement with the specified string.
- Parameters:
val
- String to be large font
BigElement
public BigElement(HtmlElement val)
- Constructs a BigElement with the specified HtmlElement.
- Parameters:
val
- HtmlElement to be large font
getHtmlCode
protected java.lang.String getHtmlCode()
- Overrides:
- getHtmlCode in class ElementWithAttributes