java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
javax.faces.component.html.HtmlCommandButton
All Implemented Interfaces:
ClientBehaviorHolder, ActionSource2, PartialStateHolder, ComponentSystemEventListener, SystemEventListenerHolder
Represents an HTML input
element
for a button of type submit
or reset
.
The label text is specified by the component value.
By default, the rendererType
property must be set to "javax.faces.Button
".
This value can be changed by calling the setRendererType()
method.
Nested Class Summary: | ||
---|---|---|
protected enum class | HtmlCommandButton.PropertyKeys |
Field Summary | ||
---|---|---|
public static final String | COMPONENT_TYPE | The standard component type for this component. |
Fields inherited from javax.faces.component.UICommand: |
---|
COMPONENT_TYPE, COMPONENT_FAMILY |
Constructor: |
---|
|
Method from javax.faces.component.html.HtmlCommandButton Summary: |
---|
getAccesskey, getAlt, getDefaultEventName, getDir, getEventNames, getImage, getLabel, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getStyle, getStyleClass, getTabindex, getTitle, getType, isDisabled, isReadonly, setAccesskey, setAlt, setDir, setDisabled, setImage, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setTabindex, setTitle, setType |
Methods from javax.faces.component.UICommand: |
---|
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.faces.component.html.HtmlCommandButton Detail: |
---|
Return the value of the Contents: Access key that, when pressed, transfers focus to this element. |
Return the value of the Contents: Alternate textual description of the element rendered by this component. |
|
Return the value of the Contents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). |
|
Return the value of the Contents: Absolute or relative URL of the image to be displayed for this button. If specified, this "input" element will be of type "image". Otherwise, it will be of the type specified by the "type" property with a label specified by the "value" property. Note that if the value of this attribute starts with "/", the rendered value for this attribute will be prefixed with the context-root for this application. |
Return the value of the Contents: A localized user presentable name for this component. |
Return the value of the Contents: Code describing the language used in the generated markup for this component. |
Return the value of the Contents: Javascript code executed when this element loses focus. |
Return the value of the Contents: Javascript code executed when this element loses focus and its value has been modified since gaining focus. |
Return the value of the Contents: Javascript code executed when a pointer button is clicked over this element. |
Return the value of the Contents: Javascript code executed when a pointer button is double clicked over this element. |
Return the value of the Contents: Javascript code executed when this element receives focus. |
Return the value of the Contents: Javascript code executed when a key is pressed down over this element. |
Return the value of the Contents: Javascript code executed when a key is pressed and released over this element. |
Return the value of the Contents: Javascript code executed when a key is released over this element. |
Return the value of the Contents: Javascript code executed when a pointer button is pressed down over this element. |
Return the value of the Contents: Javascript code executed when a pointer button is moved within this element. |
Return the value of the Contents: Javascript code executed when a pointer button is moved away from this element. |
Return the value of the Contents: Javascript code executed when a pointer button is moved onto this element. |
Return the value of the Contents: Javascript code executed when a pointer button is released over this element. |
Return the value of the Contents: Javascript code executed when text within this element is selected by the user. |
Return the value of the Contents: CSS style(s) to be applied when this component is rendered. |
Return the value of the Contents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. |
Return the value of the Contents: Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767. |
Return the value of the Contents: Advisory title information about markup elements generated for this component. |
Return the value of the Contents: Type of button to create. Valid values are "submit", "button", and "reset". If not specified, or not a valid value, the default value is "submit". |
Return the value of the Contents: Flag indicating that this element must never receive focus or be included in a subsequent submit. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled". |
Return the value of the Contents: Flag indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as readonly="readonly". |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |