coreservlets.tags
Class HeadingTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--coreservlets.tags.HeadingTag
- public class HeadingTag
- extends TagSupport
Generates an HTML heading with the specified background
color, foreground color, alignment, font, and font size.
You can also turn on a border around it, which normally
just barely encloses the heading, but which can also
stretch wider. All attributes except the background
color are optional.
Taken from Core Servlets and JavaServer Pages
from Prentice Hall and Sun Microsystems Press,
http://www.coreservlets.com/.
© 2000 Marty Hall; may be freely used or adapted.
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass,
getId,
getParent,
getValue,
getValues,
release,
removeValue,
setId,
setPageContext,
setParent,
setValue |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
HeadingTag
public HeadingTag()
setBgColor
public void setBgColor(String bgColor)
setColor
public void setColor(String color)
setAlign
public void setAlign(String align)
setFontSize
public void setFontSize(String fontSize)
setFontList
public void setFontList(String fontList)
setBorder
public void setBorder(String border)
setWidth
public void setWidth(String width)
doStartTag
public int doStartTag()
- Overrides:
- doStartTag in class TagSupport
doEndTag
public int doEndTag()
- Overrides:
- doEndTag in class TagSupport
 |
|---|
| CSAJSP @ amazon.com |
|---|