|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--weblogic.html.HtmlElement
|
+--weblogic.html.ElementWithAttributes
|
+--weblogic.html.SinglePartElement
|
+--weblogic.html.OptionElement
Use OptionElement objects to build a SelectElement. A SelectElement displays a list from which the user makes choices from a dropdown-type combo box. An OptionElement object has a string that is display and an associated value that is not displayed.
SelectElement| Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
| Constructor Summary | |
OptionElement()
Deprecated. Constructs an empty OptionElement. |
|
OptionElement(java.lang.String str)
Deprecated. Constructs an OptionElement with the specified string. |
|
OptionElement(java.lang.String str,
boolean isselected)
Deprecated. Constructs an OptionElement with the specified string and sets the SELECTED property as specified. |
|
OptionElement(java.lang.String contstr,
java.lang.String val)
Deprecated. Constructs an OptionElement with the specified string and the specified value. |
|
OptionElement(java.lang.String str,
java.lang.String val,
boolean isselected)
Deprecated. Constructs an OptionElement with the specified string and value and sets the SELECTED property as specified. |
|
| Method Summary | |
protected java.lang.String |
getHtmlCode()
Deprecated. |
java.lang.String |
getText()
Deprecated. Gets a string representation of an OptionElement. |
java.lang.String |
getValue()
Deprecated. Gets the value property of an OptionElement. |
boolean |
isSelected()
Deprecated. Determines whether an OptionElement is selected. |
protected boolean |
printCR()
Deprecated. |
protected boolean |
printEndingTag()
Deprecated. |
OptionElement |
setSelected(boolean val)
Deprecated. Sets the SELECTED attribute of an OptionElement. |
OptionElement |
setText(java.lang.String str)
Deprecated. Sets the TEXT attribute of an OptionElement. |
OptionElement |
setValue(java.lang.String str)
Deprecated. Sets the VALUE attribute of an OptionElement. |
| Methods inherited from class weblogic.html.SinglePartElement |
getElement,
printBody,
printBody,
printBody,
setElement,
setElement,
widthAsLiteral |
| Methods inherited from class weblogic.html.ElementWithAttributes |
addAttribute,
addAttribute,
escapeQuotes,
getBooleanAttribute,
getElementAttribute,
getLocalVar,
getQuotedAttribute,
output,
output,
output,
printBody,
setBooleanAttribute,
setBooleanAttribute,
setClass,
setDirection,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setId,
setLang,
setLocalVar,
setQuotedAttribute,
setStyle |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public OptionElement()
public OptionElement(java.lang.String str)
str - String text
public OptionElement(java.lang.String contstr,
java.lang.String val)
str - String textval - Value for option element
public OptionElement(java.lang.String str,
boolean isselected)
str - String textisselected - True if element should be selected
public OptionElement(java.lang.String str,
java.lang.String val,
boolean isselected)
str - String textval - Value for option elementisselected - True if element should be selected| Method Detail |
protected boolean printCR()
protected boolean printEndingTag()
protected java.lang.String getHtmlCode()
public java.lang.String getValue()
public java.lang.String getText()
public boolean isSelected()
public OptionElement setValue(java.lang.String str)
str - Value to setpublic OptionElement setText(java.lang.String str)
str - String to setpublic OptionElement setSelected(boolean val)
str - True if this option should be selected by default
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||