|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.xpshared.htmlelements.HTMLElement com.plumtree.xpshared.htmlelements.HTMLTableCell
public class HTMLTableCell
Use this object to generate a <td></td> tag.
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 | |
---|---|
HTMLTableCell()
Creates a new HTMLTableCell object. |
|
HTMLTableCell(HTMLTableRow rParent)
Deprecated. It's no longer necessary to pass the parent row, use constructor with no parameters. |
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 |
GetAlign()
Call this method to get the value of the align attribute. |
boolean |
GetAutoFit()
Call this method to determine whether or not this HTMLCell object will automatically span the number of columns necessary. |
java.lang.String |
GetBGColor()
|
java.lang.String |
GetColSpan()
Call this method to get the value of the colspan attribute. |
int |
GetColSpanAsInt()
Call this method to get the value of the colspan attribute. |
java.lang.String |
GetHeaders()
|
java.lang.String |
GetHeight()
|
boolean |
GetNoWrap()
|
java.lang.String |
GetRowSpan()
Call this method to get the value of the rowspan attribute. |
int |
GetRowSpanAsInt()
Call this method to get the value of the rowspan attribute. |
java.lang.String |
GetVAlign()
Call this method to get the value of the valign attribute. |
java.lang.String |
GetWidth()
|
protected boolean |
ProvidesClosingTag()
Indicates whether or not this HTML element provides a closing tag. |
void |
SetAlign(java.lang.String s)
Call this method to set the value of the align attribute. |
void |
SetAutoFit(boolean b)
Call this method to toggle whether or not this HTMLTableCell is an autofit cell. |
void |
SetBGColor(java.lang.String s)
|
void |
SetColSpan(java.lang.String s)
Call this method to set the value of the colspan attribute. |
void |
SetHeaders(java.lang.String s)
Call this method to set the value of the headers attribute. |
void |
SetHeight(java.lang.String s)
Call this method to set the value of the height attribute. |
void |
SetNoWrap(boolean b)
Call this method to toggle the nowrap attribute. |
void |
SetRowSpan(java.lang.String s)
Call this method to set the value of the rowspan attribute. |
void |
SetVAlign(java.lang.String s)
Call this method to set the value of the valign attribute. |
void |
SetWidth(java.lang.String s)
Call this method to set the value of the width attribute. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLTableCell(HTMLTableRow rParent)
rParent
- Pass the HTMLTableRow to which this HTMLTableCell will be
added. A given instance of an HTMLTableCell may only be added
to the HTMLTableRow specified to this constructor.public HTMLTableCell()
Method Detail |
---|
public java.lang.String GetAlign()
public boolean GetAutoFit()
public java.lang.String GetBGColor()
public java.lang.String GetColSpan()
public java.lang.String GetRowSpan()
public int GetColSpanAsInt()
public int GetRowSpanAsInt()
public java.lang.String GetHeaders()
public java.lang.String GetHeight()
public boolean GetNoWrap()
public java.lang.String GetVAlign()
public java.lang.String GetWidth()
public void SetAlign(java.lang.String s)
s
- String valuepublic void SetAutoFit(boolean b)
b
- public void SetBGColor(java.lang.String s)
s
- public void SetColSpan(java.lang.String s)
s
- String value.
HTMLException
public void SetRowSpan(java.lang.String s)
s
- String value.
HTMLException
public void SetHeaders(java.lang.String s)
s
- String value.public void SetHeight(java.lang.String s)
s
- String value.public void SetNoWrap(boolean b)
b
- valuepublic void SetVAlign(java.lang.String s)
s
- String valuepublic void SetWidth(java.lang.String s)
s
- String value.protected void AppendBeginningOfOpeningTag(boolean bFormat, XPStringBuilder sb, IXPResponse response)
AppendBeginningOfOpeningTag
in class HTMLElement
bFormat
- boolean indicating whether or not to format.sb
- XPStringBuilderresponse
- IXPResponse
HTMLException
protected void AppendClosingTag(boolean bFormat, XPStringBuilder sb, IXPResponse response)
AppendClosingTag
in class HTMLElement
bFormat
- 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 |