|
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.ButtonElement
A ButtonElement is used as a special kind of input element on an HTML form. A ButtonElement can be of three types: submit and reset (which, like InputElements of the same type, cause a form to be reset or submitted), and button, which creates a push button intended to trigger a client-side script. The default value is submit. A ButtonElement's content can be set to an image, with which the image's ALT tag should be used to provide textual information to non-graphic browsers.
InputElement,
FormElement| Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
| Constructor Summary | |
ButtonElement()
Deprecated. Constructs a ButtonElement. |
|
ButtonElement(java.lang.String name)
Deprecated. Constructs a ButtonElement with the specified name. |
|
ButtonElement(java.lang.String name,
FieldType typeval)
Deprecated. Constructs a ButtonElement of the specified FieldType (submit, reset, or button) and the specified name. |
|
ButtonElement(java.lang.String name,
FieldType typeval,
HtmlElement contents)
Deprecated. Constructs a ButtonElement with the specified name and of the specified FieldType (submit, reset, or button), set to the specified HtmlElement (for instance, an ImageElement). |
|
ButtonElement(java.lang.String name,
FieldType typeval,
java.lang.String contents)
Deprecated. Constructs a ButtonElement with the specified name and of the specified FieldType (submit, reset, or button), set to the specified String contents. |
|
| Method Summary | |
protected java.lang.String |
getHtmlCode()
Deprecated. |
protected boolean |
printCR()
Deprecated. |
ButtonElement |
setContents(HtmlElement contents)
Deprecated. Sets the contents of a ButtonElement. |
ButtonElement |
setDisabled(boolean disable)
Deprecated. Disables the button. |
ButtonElement |
setName(java.lang.String val)
Deprecated. Sets the NAME attribute of a ButtonElement. |
ButtonElement |
setOnBlur(java.lang.String val)
Deprecated. Sets the ONBLUR attribute of a ButtonElement. |
ButtonElement |
setOnFocus(java.lang.String val)
Deprecated. Sets the ONFOCUS attribute of a ButtonElement. |
ButtonElement |
setTabindex(int tabindex)
Deprecated. Sets the tabbing order for a ButtonElement, which defines the order in which page elements get the focus when a user navigates the page with a keyboard. |
ButtonElement |
setTabindex(java.lang.String tabindex)
Deprecated. Sets the TABINDEX attribute for a ButtonElement. |
ButtonElement |
setType(FieldType val)
Deprecated. Sets the type of an ButtonElement. |
ButtonElement |
setValue(java.lang.String val)
Deprecated. Sets the VALUE attribute of a ButtonElement. |
| 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,
printEndingTag,
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 ButtonElement()
public ButtonElement(java.lang.String name)
name - Setting for the NAME attribute
public ButtonElement(java.lang.String name,
FieldType typeval)
name - Setting for the NAME attributetypeval - Setting for the TYPE attribute
public ButtonElement(java.lang.String name,
FieldType typeval,
HtmlElement contents)
name - Setting for the NAME attributetypeval - Setting for the TYPE attributecontents - HtmlElement contents
public ButtonElement(java.lang.String name,
FieldType typeval,
java.lang.String contents)
name - Setting for the NAME attributetypeval - Setting for the TYPE attributecontents - String contents| Method Detail |
protected java.lang.String getHtmlCode()
protected boolean printCR()
public ButtonElement setName(java.lang.String val)
val - Namepublic ButtonElement setTabindex(java.lang.String tabindex)
tabindex - Indexpublic ButtonElement setTabindex(int tabindex)
tabindex - intpublic ButtonElement setType(FieldType val)
val - FieldType objectpublic ButtonElement setContents(HtmlElement contents)
HtmlElement - for button contentpublic ButtonElement setDisabled(boolean disable)
disable - True to disable the buttonpublic ButtonElement setOnBlur(java.lang.String val)
val - Responsepublic ButtonElement setOnFocus(java.lang.String val)
val - Responsepublic ButtonElement setValue(java.lang.String val)
val - Value
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||