Package org.primefaces.component.spinner
Class SpinnerBase
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIOutput
-
- javax.faces.component.UIInput
-
- javax.faces.component.html.HtmlInputText
-
- org.primefaces.component.api.AbstractPrimeHtmlInputText
-
- org.primefaces.component.spinner.SpinnerBase
-
- All Implemented Interfaces:
EventListener
,javax.faces.component.behavior.ClientBehaviorHolder
,javax.faces.component.EditableValueHolder
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.component.ValueHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,InputHolder
,Widget
- Direct Known Subclasses:
Spinner
public abstract class SpinnerBase extends AbstractPrimeHtmlInputText implements Widget, InputHolder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpinnerBase.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
static String
DEFAULT_RENDERER
-
Fields inherited from class org.primefaces.component.api.AbstractPrimeHtmlInputText
EVENT_NAMES
-
Fields inherited from class javax.faces.component.UIInput
ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
-
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
-
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
-
Constructor Summary
Constructors Constructor Description SpinnerBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDecimalPlaces()
String
getDecimalSeparator()
String
getFamily()
double
getMax()
double
getMin()
String
getPlaceholder()
String
getPrefix()
double
getStepFactor()
String
getSuffix()
String
getThousandSeparator()
String
getWidgetVar()
boolean
isRotate()
boolean
isRound()
void
setDecimalPlaces(String decimalPlaces)
void
setDecimalSeparator(String decimalSeparator)
void
setMax(double max)
void
setMin(double min)
void
setPlaceholder(String placeholder)
void
setPrefix(String prefix)
void
setRotate(boolean rotate)
void
setRound(boolean round)
void
setStepFactor(double stepFactor)
void
setSuffix(String suffix)
void
setThousandSeparator(String thousandSeparator)
void
setWidgetVar(String widgetVar)
-
Methods inherited from class org.primefaces.component.api.AbstractPrimeHtmlInputText
getEventNames, getInputmode, getOncontextmenu, getOncopy, getOncut, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOninput, getOninvalid, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnwheel, setInputmode, setOncontextmenu, setOncopy, setOncut, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOninput, setOninvalid, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnwheel
-
Methods inherited from class javax.faces.component.html.HtmlInputText
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setSize, setStyle, setStyleClass, setTabindex, setTitle
-
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
-
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
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.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
-
Methods inherited from interface org.primefaces.component.api.InputHolder
getInputClientId, getLabelledBy, getValidatableInputClientId, setLabelledBy
-
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamily
in classjavax.faces.component.UIInput
-
getPlaceholder
public String getPlaceholder()
-
setPlaceholder
public void setPlaceholder(String placeholder)
-
getWidgetVar
public String getWidgetVar()
-
setWidgetVar
public void setWidgetVar(String widgetVar)
-
getStepFactor
public double getStepFactor()
-
setStepFactor
public void setStepFactor(double stepFactor)
-
getMin
public double getMin()
-
setMin
public void setMin(double min)
-
getMax
public double getMax()
-
setMax
public void setMax(double max)
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getSuffix
public String getSuffix()
-
setSuffix
public void setSuffix(String suffix)
-
getDecimalPlaces
public String getDecimalPlaces()
-
setDecimalPlaces
public void setDecimalPlaces(String decimalPlaces)
-
getDecimalSeparator
public String getDecimalSeparator()
-
setDecimalSeparator
public void setDecimalSeparator(String decimalSeparator)
-
getThousandSeparator
public String getThousandSeparator()
-
setThousandSeparator
public void setThousandSeparator(String thousandSeparator)
-
isRotate
public boolean isRotate()
-
setRotate
public void setRotate(boolean rotate)
-
isRound
public boolean isRound()
-
setRound
public void setRound(boolean round)
-
-