public class HtmlForm extends UIForm
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
bindings
SEPARATOR_CHAR
Constructor and Description |
---|
HtmlForm()
Construct an instance of the HtmlForm.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccept()
Gets Provides a comma-separated list of content types that the
server processing this form can handle.
|
String |
getAcceptcharset()
Gets The list of character encodings accepted by the server for this form.
|
String |
getDir()
Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
String |
getEnctype()
Gets The content type used to submit this form to the server.
|
String |
getFamily() |
String |
getLang()
Gets The base language of this document.
|
String |
getOnclick()
Gets Script to be invoked when the element is clicked.
|
String |
getOndblclick()
Gets Script to be invoked when the element is double-clicked.
|
String |
getOnkeydown()
Gets Script to be invoked when a key is pressed down over this element.
|
String |
getOnkeypress()
Gets Script to be invoked when a key is pressed over this element.
|
String |
getOnkeyup()
Gets Script to be invoked when a key is released over this element.
|
String |
getOnmousedown()
Gets Script to be invoked when the pointing device is pressed over this element.
|
String |
getOnmousemove()
Gets Script to be invoked when the pointing device is moved while it is in this element.
|
String |
getOnmouseout()
Gets Script to be invoked when the pointing device is moves out of this element.
|
String |
getOnmouseover()
Gets Script to be invoked when the pointing device is moved into this element.
|
String |
getOnmouseup()
Gets Script to be invoked when the pointing device is released over this element.
|
String |
getOnreset()
Gets Script to be invoked when this form is reset.
|
String |
getOnsubmit()
Gets Script to be invoked when this form is submitted.
|
String |
getStyle()
Gets CSS styling instructions.
|
String |
getStyleClass()
Gets The CSS class for this element.
|
String |
getTarget()
Gets Names the frame that should display content generated by invoking this action.
|
String |
getTitle()
Gets An advisory title for this element.
|
void |
restoreState(FacesContext facesContext,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
Object |
saveState(FacesContext facesContext)
Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has.
|
void |
setAccept(String accept)
Sets Provides a comma-separated list of content types that the
server processing this form can handle.
|
void |
setAcceptcharset(String acceptcharset)
Sets The list of character encodings accepted by the server for this form.
|
void |
setDir(String dir)
Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
void |
setEnctype(String enctype)
Sets The content type used to submit this form to the server.
|
void |
setLang(String lang)
Sets The base language of this document.
|
void |
setOnclick(String onclick)
Sets Script to be invoked when the element is clicked.
|
void |
setOndblclick(String ondblclick)
Sets Script to be invoked when the element is double-clicked.
|
void |
setOnkeydown(String onkeydown)
Sets Script to be invoked when a key is pressed down over this element.
|
void |
setOnkeypress(String onkeypress)
Sets Script to be invoked when a key is pressed over this element.
|
void |
setOnkeyup(String onkeyup)
Sets Script to be invoked when a key is released over this element.
|
void |
setOnmousedown(String onmousedown)
Sets Script to be invoked when the pointing device is pressed over this element.
|
void |
setOnmousemove(String onmousemove)
Sets Script to be invoked when the pointing device is moved while it is in this element.
|
void |
setOnmouseout(String onmouseout)
Sets Script to be invoked when the pointing device is moves out of this element.
|
void |
setOnmouseover(String onmouseover)
Sets Script to be invoked when the pointing device is moved into this element.
|
void |
setOnmouseup(String onmouseup)
Sets Script to be invoked when the pointing device is released over this element.
|
void |
setOnreset(String onreset)
Sets Script to be invoked when this form is reset.
|
void |
setOnsubmit(String onsubmit)
Sets Script to be invoked when this form is submitted.
|
void |
setStyle(String style)
Sets CSS styling instructions.
|
void |
setStyleClass(String styleClass)
Sets The CSS class for this element.
|
void |
setTarget(String target)
Sets Names the frame that should display content generated by invoking this action.
|
void |
setTitle(String title)
Sets An advisory title for this element.
|
getContainerClientId, isPrependId, isSubmitted, processDecodes, processUpdates, processValidators, setPrependId, setSubmitted
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getValueExpression, setValueExpression
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public String getStyle()
public void setStyle(String style)
style
- the new style valuepublic String getStyleClass()
public void setStyleClass(String styleClass)
styleClass
- the new styleClass valuepublic String getDir()
public void setDir(String dir)
dir
- the new dir valuepublic String getLang()
public void setLang(String lang)
lang
- the new lang valuepublic String getTitle()
public void setTitle(String title)
title
- the new title valuepublic String getOnclick()
public void setOnclick(String onclick)
onclick
- the new onclick valuepublic String getOndblclick()
public void setOndblclick(String ondblclick)
ondblclick
- the new ondblclick valuepublic String getOnmousedown()
public void setOnmousedown(String onmousedown)
onmousedown
- the new onmousedown valuepublic String getOnmouseup()
public void setOnmouseup(String onmouseup)
onmouseup
- the new onmouseup valuepublic String getOnmouseover()
public void setOnmouseover(String onmouseover)
onmouseover
- the new onmouseover valuepublic String getOnmousemove()
public void setOnmousemove(String onmousemove)
onmousemove
- the new onmousemove valuepublic String getOnmouseout()
public void setOnmouseout(String onmouseout)
onmouseout
- the new onmouseout valuepublic String getOnkeypress()
public void setOnkeypress(String onkeypress)
onkeypress
- the new onkeypress valuepublic String getOnkeydown()
public void setOnkeydown(String onkeydown)
onkeydown
- the new onkeydown valuepublic String getOnkeyup()
public void setOnkeyup(String onkeyup)
onkeyup
- the new onkeyup valuepublic String getTarget()
public void setTarget(String target)
target
- the new target valuepublic String getAccept()
public void setAccept(String accept)
accept
- the new accept valuepublic String getAcceptcharset()
public void setAcceptcharset(String acceptcharset)
acceptcharset
- the new acceptcharset valuepublic String getEnctype()
public void setEnctype(String enctype)
enctype
- the new enctype valuepublic String getOnreset()
public void setOnreset(String onreset)
onreset
- the new onreset valuepublic String getOnsubmit()
public void setOnsubmit(String onsubmit)
onsubmit
- the new onsubmit valuepublic Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIForm
public void restoreState(FacesContext facesContext, Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIForm
state
- is an object previously returned by
the saveState method of this class.Copyright © 2013 Apache Software Foundation. All Rights Reserved.