|
|||||||||
| 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.HTMLOption
public class HTMLOption
| 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 | |
|---|---|
HTMLOption(java.lang.String sTagValue)
|
|
HTMLOption(java.lang.String sTagValue,
java.lang.String sDisplayText)
|
|
| 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. |
boolean |
GetSelected()
Call this method to determine whether or not this option is selected. |
java.lang.String |
GetValue()
Call this method to obtain the value of the value attribute. |
protected boolean |
ProvidesClosingTag()
Indicates whether or not this HTML element provides a closing tag. |
void |
SetName(java.lang.String s)
Method rewritten to prevent usage. |
void |
SetSelected(boolean b)
Call this method to set this option selected. |
void |
SetValue(java.lang.String s)
Call this method to set the value attribute. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLOption(java.lang.String sTagValue)
sTagValue - Pass the value string of this option.
public HTMLOption(java.lang.String sTagValue,
java.lang.String sDisplayText)
sTagValue - value attributesDisplayText - text node to be inserted inside | Method Detail |
|---|
public boolean GetSelected()
public java.lang.String GetValue()
public void SetName(java.lang.String s)
SetName in class HTMLElements - String
HTMLException - This method throws an exception.public void SetSelected(boolean b)
b - boolean value.public void SetValue(java.lang.String s)
s - String value
protected void AppendBeginningOfOpeningTag(boolean bFormat,
XPStringBuilder sb,
IXPResponse response)
AppendBeginningOfOpeningTag in class HTMLElementbFormat - boolean indicating whether or not to format.sb - XPStringBuilderresponse - IXPResponse
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 | ||||||||