|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.richfaces.component.UIRangedNumberInput
org.richfaces.component.UIInputNumberSpinner
org.richfaces.component.html.HtmlInputNumberSpinner
public class HtmlInputNumberSpinner
Component-Type org.richfaces.inputNumberSpinner Component-Family org.richfaces.inputNumberSpinner Renderer-Type org.richfaces.InputNumberSpinnerRenderer Spinner component - A single line input field that lets the user select a number using the controls near the text field. User can change value using Up/Down keyboard keys. The keyboard Input in field if it isn't locked by manualInput attribute is possible. After arrow controls pressed - cursor can be moved in any way without loosing draged state.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UIInput |
---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Constructor Summary | |
---|---|
HtmlInputNumberSpinner()
Constructor to init default renderers |
Method Summary | |
---|---|
java.lang.String |
getAccesskey()
This attribute assigns an access key to an element. |
java.lang.String |
getAlt()
For user agents that cannot display images, forms, or applets, this attribute specifies alternate text. |
java.lang.String |
getFamily()
|
java.lang.String |
getInputClass()
Class attribute for text field Getter for inputClass |
int |
getInputSize()
Attribute specifies the initial length of input in characters. |
java.lang.String |
getInputStyle()
Style attribute for text field Getter for inputStyle |
int |
getMaxlength()
${prop.xmlEncodedDescription} Getter for maxlength |
java.lang.String |
getMaxValue()
Maximum value Getter for maxValue |
java.lang.String |
getMinValue()
Minimum value Getter for minValue |
java.lang.String |
getOnblur()
HTML: script expression; the element lost the focus Getter for onblur |
java.lang.String |
getOnchange()
HTML: script expression; the element value was changed Getter for onchange |
java.lang.String |
getOnclick()
HTML: a script expression; a pointer button is clicked Getter for onclick |
java.lang.String |
getOndblclick()
HTML: a script expression; a pointer button is double-clicked Getter for ondblclick |
java.lang.String |
getOndownclick()
HTML: a script expression; a button "Down" is clicked Getter for ondownclick |
java.lang.String |
getOnerror()
HTML: a script expression; event fires whenever an JavaScript error occurs Getter for onerror |
java.lang.String |
getOnfocus()
HTML: script expression; the element got the focus Getter for onfocus |
java.lang.String |
getOnkeydown()
HTML: a script expression; a key is pressed down Getter for onkeydown |
java.lang.String |
getOnkeypress()
HTML: a script expression; a key is pressed and released Getter for onkeypress |
java.lang.String |
getOnkeyup()
HTML: a script expression; a key is released Getter for onkeyup |
java.lang.String |
getOnmousedown()
HTML: script expression; a pointer button is pressed down Getter for onmousedown |
java.lang.String |
getOnmousemove()
HTML: a script expression; a pointer is moved within Getter for onmousemove |
java.lang.String |
getOnmouseout()
HTML: a script expression; a pointer is moved away Getter for onmouseout |
java.lang.String |
getOnmouseover()
HTML: a script expression; a pointer is moved onto Getter for onmouseover |
java.lang.String |
getOnmouseup()
HTML: script expression; a pointer button is released Getter for onmouseup |
java.lang.String |
getOnselect()
HTML: script expression; The onselect event occurs when a user selects some text in a text field. |
java.lang.String |
getOnupclick()
HTML: a script expression; a button "Up" is clicked Getter for onupclick |
int |
getSize()
${prop.xmlEncodedDescription} Getter for size |
java.lang.String |
getStep()
Parameter that determines the step between nearest values while using controls Getter for step |
java.lang.String |
getStyle()
CSS style(s) is/are to be applied when this component is rendered Getter for style |
java.lang.String |
getStyleClass()
Corresponds to the HTML class attribute Getter for styleClass |
java.lang.String |
getTabindex()
This attribute specifies the position of the current element in the tabbing order for the current document. |
boolean |
isCycled()
If "true" after the current value reaches the border value it is reversed to another border value after next increasing/decreasing. |
boolean |
isDisabled()
When set for a form control, this boolean attribute disables the control for user input Getter for disabled |
boolean |
isEnableManualInput()
if "false" user's input to the text field using keyboard will be locked Getter for enableManualInput |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAccesskey(java.lang.String __accesskey)
This attribute assigns an access key to an element. |
void |
setAlt(java.lang.String __alt)
For user agents that cannot display images, forms, or applets, this attribute specifies alternate text. |
void |
setCycled(boolean __cycled)
If "true" after the current value reaches the border value it is reversed to another border value after next increasing/decreasing. |
void |
setDisabled(boolean __disabled)
When set for a form control, this boolean attribute disables the control for user input Setter for disabled |
void |
setEnableManualInput(boolean __enableManualInput)
if "false" user's input to the text field using keyboard will be locked Setter for enableManualInput |
void |
setInputClass(java.lang.String __inputClass)
Class attribute for text field Setter for inputClass |
void |
setInputSize(int __inputSize)
Attribute specifies the initial length of input in characters. |
void |
setInputStyle(java.lang.String __inputStyle)
Style attribute for text field Setter for inputStyle |
void |
setMaxlength(int __maxlength)
${prop.xmlEncodedDescription} Setter for maxlength |
void |
setMaxValue(java.lang.String __maxValue)
Maximum value Setter for maxValue |
void |
setMinValue(java.lang.String __minValue)
Minimum value Setter for minValue |
void |
setOnblur(java.lang.String __onblur)
HTML: script expression; the element lost the focus Setter for onblur |
void |
setOnchange(java.lang.String __onchange)
HTML: script expression; the element value was changed Setter for onchange |
void |
setOnclick(java.lang.String __onclick)
HTML: a script expression; a pointer button is clicked Setter for onclick |
void |
setOndblclick(java.lang.String __ondblclick)
HTML: a script expression; a pointer button is double-clicked Setter for ondblclick |
void |
setOndownclick(java.lang.String __ondownclick)
HTML: a script expression; a button "Down" is clicked Setter for ondownclick |
void |
setOnerror(java.lang.String __onerror)
HTML: a script expression; event fires whenever an JavaScript error occurs Setter for onerror |
void |
setOnfocus(java.lang.String __onfocus)
HTML: script expression; the element got the focus Setter for onfocus |
void |
setOnkeydown(java.lang.String __onkeydown)
HTML: a script expression; a key is pressed down Setter for onkeydown |
void |
setOnkeypress(java.lang.String __onkeypress)
HTML: a script expression; a key is pressed and released Setter for onkeypress |
void |
setOnkeyup(java.lang.String __onkeyup)
HTML: a script expression; a key is released Setter for onkeyup |
void |
setOnmousedown(java.lang.String __onmousedown)
HTML: script expression; a pointer button is pressed down Setter for onmousedown |
void |
setOnmousemove(java.lang.String __onmousemove)
HTML: a script expression; a pointer is moved within Setter for onmousemove |
void |
setOnmouseout(java.lang.String __onmouseout)
HTML: a script expression; a pointer is moved away Setter for onmouseout |
void |
setOnmouseover(java.lang.String __onmouseover)
HTML: a script expression; a pointer is moved onto Setter for onmouseover |
void |
setOnmouseup(java.lang.String __onmouseup)
HTML: script expression; a pointer button is released Setter for onmouseup |
void |
setOnselect(java.lang.String __onselect)
HTML: script expression; The onselect event occurs when a user selects some text in a text field. |
void |
setOnupclick(java.lang.String __onupclick)
HTML: a script expression; a button "Up" is clicked Setter for onupclick |
void |
setSize(int __size)
${prop.xmlEncodedDescription} Setter for size |
void |
setStep(java.lang.String __step)
Parameter that determines the step between nearest values while using controls Setter for step |
void |
setStyle(java.lang.String __style)
CSS style(s) is/are to be applied when this component is rendered Setter for style |
void |
setStyleClass(java.lang.String __styleClass)
Corresponds to the HTML class attribute Setter for styleClass |
void |
setTabindex(java.lang.String __tabindex)
This attribute specifies the position of the current element in the tabbing order for the current document. |
Methods inherited from class org.richfaces.component.UIRangedNumberInput |
---|
decode, validateValue |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, compareValues, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, getValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, getValue, setConverter |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
Constructor Detail |
---|
public HtmlInputNumberSpinner()
Method Detail |
---|
public void setAccesskey(java.lang.String __accesskey)
accesskey
- - new valuepublic java.lang.String getAccesskey()
public void setAlt(java.lang.String __alt)
alt
- - new valuepublic java.lang.String getAlt()
public void setCycled(boolean __cycled)
cycled
- - new valuepublic boolean isCycled()
public void setDisabled(boolean __disabled)
setDisabled
in class org.richfaces.component.UIRangedNumberInput
disabled
- - new valuepublic boolean isDisabled()
isDisabled
in class org.richfaces.component.UIRangedNumberInput
public void setEnableManualInput(boolean __enableManualInput)
enableManualInput
- - new valuepublic boolean isEnableManualInput()
public void setInputClass(java.lang.String __inputClass)
inputClass
- - new valuepublic java.lang.String getInputClass()
public void setInputSize(int __inputSize)
inputSize
- - new valuepublic int getInputSize()
public void setInputStyle(java.lang.String __inputStyle)
setInputStyle
in class UIInputNumberSpinner
inputStyle
- - new valuepublic java.lang.String getInputStyle()
getInputStyle
in class UIInputNumberSpinner
public void setMaxValue(java.lang.String __maxValue)
setMaxValue
in class org.richfaces.component.UIRangedNumberInput
maxValue
- - new valuepublic java.lang.String getMaxValue()
getMaxValue
in class org.richfaces.component.UIRangedNumberInput
public void setMaxlength(int __maxlength)
maxlength
- - new valuepublic int getMaxlength()
public void setMinValue(java.lang.String __minValue)
setMinValue
in class org.richfaces.component.UIRangedNumberInput
minValue
- - new valuepublic java.lang.String getMinValue()
getMinValue
in class org.richfaces.component.UIRangedNumberInput
public void setOnblur(java.lang.String __onblur)
onblur
- - new valuepublic java.lang.String getOnblur()
public void setOnchange(java.lang.String __onchange)
onchange
- - new valuepublic java.lang.String getOnchange()
public void setOnclick(java.lang.String __onclick)
onclick
- - new valuepublic java.lang.String getOnclick()
public void setOndblclick(java.lang.String __ondblclick)
ondblclick
- - new valuepublic java.lang.String getOndblclick()
public void setOndownclick(java.lang.String __ondownclick)
ondownclick
- - new valuepublic java.lang.String getOndownclick()
public void setOnerror(java.lang.String __onerror)
onerror
- - new valuepublic java.lang.String getOnerror()
public void setOnfocus(java.lang.String __onfocus)
onfocus
- - new valuepublic java.lang.String getOnfocus()
public void setOnkeydown(java.lang.String __onkeydown)
onkeydown
- - new valuepublic java.lang.String getOnkeydown()
public void setOnkeypress(java.lang.String __onkeypress)
onkeypress
- - new valuepublic java.lang.String getOnkeypress()
public void setOnkeyup(java.lang.String __onkeyup)
onkeyup
- - new valuepublic java.lang.String getOnkeyup()
public void setOnmousedown(java.lang.String __onmousedown)
onmousedown
- - new valuepublic java.lang.String getOnmousedown()
public void setOnmousemove(java.lang.String __onmousemove)
onmousemove
- - new valuepublic java.lang.String getOnmousemove()
public void setOnmouseout(java.lang.String __onmouseout)
onmouseout
- - new valuepublic java.lang.String getOnmouseout()
public void setOnmouseover(java.lang.String __onmouseover)
onmouseover
- - new valuepublic java.lang.String getOnmouseover()
public void setOnmouseup(java.lang.String __onmouseup)
onmouseup
- - new valuepublic java.lang.String getOnmouseup()
public void setOnselect(java.lang.String __onselect)
onselect
- - new valuepublic java.lang.String getOnselect()
public void setOnupclick(java.lang.String __onupclick)
onupclick
- - new valuepublic java.lang.String getOnupclick()
public void setSize(int __size)
size
- - new valuepublic int getSize()
public void setStep(java.lang.String __step)
step
- - new valuepublic java.lang.String getStep()
public void setStyle(java.lang.String __style)
style
- - new valuepublic java.lang.String getStyle()
public void setStyleClass(java.lang.String __styleClass)
styleClass
- - new valuepublic java.lang.String getStyleClass()
public void setTabindex(java.lang.String __tabindex)
tabindex
- - new valuepublic java.lang.String getTabindex()
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIInput
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |