|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.xpshared.htmlelements.HTMLElement
com.plumtree.xpshared.htmlelements.HTMLArea
public class HTMLArea
Use this class to render an html area element.
Spec
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.plumtree.xpshared.htmlelements.HTMLElement |
|---|
HTMLElement.ValidationLevel |
| Field Summary |
|---|
| Fields inherited from class com.plumtree.xpshared.htmlelements.HTMLElement |
|---|
aNewLine, bAllowEvents, bAllowSetStyleClassWithString, bCheckNestedStringForHTML, bDisplayDidPause, bEnforceMaxTableDepth, bForceFormattingOff, bForceFormattingOn, bPauseAfterDisplay, bPrintComments, bResumingAndChildFinished, bResumingAndChildInMidRender, bShowLang, iMaxTableDepth, sLangLocal, sNewLine, sTab |
| Constructor Summary | |
|---|---|
HTMLArea(java.lang.String alt)
Constructs a new HTMLArea |
|
HTMLArea(java.lang.String shape,
java.lang.String alt,
java.lang.String coords,
java.lang.String href)
Constructs a new HTMLArea |
|
| Method Summary | |
|---|---|
protected void |
AppendBeginningOfOpeningTag(boolean bFormat,
XPStringBuilder sb,
IXPResponse response)
This method generates the beginning of the opening tag. |
protected void |
AppendClosingTag(boolean bFormat,
XPStringBuilder sb,
IXPResponse response)
This method generates the closing tag of this html element. |
java.lang.String |
GetAlt()
Get the value of the alt attribute. |
java.lang.String |
GetCoords()
Get the value of the coords attribute |
java.lang.String |
GetHref()
Get the value of the href attribute |
boolean |
GetNohref()
Get the value of the nohref attribute |
java.lang.String |
GetShape()
Get the value of the Shape attribute |
java.lang.String |
GetTarget()
Get the value of the target attribute |
protected boolean |
ProvidesClosingTag()
Indicates whether or not this HTML element provides a closing tag. |
void |
SetAlt(java.lang.String s)
Set the value of the alt atribute. |
void |
SetCoords(java.lang.String sCoords)
Sets the value of the coords attribute. |
void |
SetHref(java.lang.String sHref)
Sets the value of the href attribute. |
void |
SetNohref(boolean bNohref)
Sets the value of the nohref attribute . |
void |
SetShape(java.lang.String strShape)
Set the value of the shape attribute. |
void |
SetTarget(java.lang.String sTarget)
Sets the value of the target attribute. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLArea(java.lang.String alt)
alt - Pass the alt string of this area.
public HTMLArea(java.lang.String shape,
java.lang.String alt,
java.lang.String coords,
java.lang.String href)
alt - Pass the alt string of this area.shape - Pass the shape string of this area.coords - Pass the coordinates string of this area.href - Pass the target URL string of this area.| Method Detail |
|---|
public java.lang.String GetAlt()
public boolean GetNohref()
public java.lang.String GetCoords()
public java.lang.String GetHref()
public java.lang.String GetShape()
public java.lang.String GetTarget()
public void SetNohref(boolean bNohref)
bNohref - public void SetCoords(java.lang.String sCoords)
sCoords - The coordinates to setpublic void SetHref(java.lang.String sHref)
sHref - The href to setpublic void SetTarget(java.lang.String sTarget)
sTarget - The target to setpublic void SetAlt(java.lang.String s)
s - String value.public void SetShape(java.lang.String strShape)
strShape - Either "rect", "rectangle", "circ", "circle", "poly", or "polygon".
HTMLException
protected void AppendBeginningOfOpeningTag(boolean bFormat,
XPStringBuilder sb,
IXPResponse response)
AppendBeginningOfOpeningTag in class HTMLElementbFormat - boolean indicating whether or not to format.sb - XPStringBuilderresponse - IXPResponse
HTMLException
protected void AppendClosingTag(boolean bFormat,
XPStringBuilder sb,
IXPResponse response)
AppendClosingTag in class HTMLElementbFormat - boolean indicating whether or not to format.sb - XPStringBuilderresponse - IXPResponseprotected boolean ProvidesClosingTag()
ProvidesClosingTag in class HTMLElement
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||