public abstract class DateSpinnerBase extends javax.faces.component.UIInput implements IDateSpinner, org.icefaces.ace.api.IceClientBehaviorHolder
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DateSpinnerBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
DateSpinnerBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.Object |
getLocale()
Return the value of the
locale property. |
java.lang.String |
getPattern()
Return the value of the
pattern property. |
java.lang.String |
getSize()
Return the value of the
size property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.Object |
getTimeZone()
Return the value of the
timeZone property. |
int |
getYearEnd()
Return the value of the
yearEnd property. |
int |
getYearStart()
Return the value of the
yearStart property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isReadonly()
Return the value of the
readonly property. |
boolean |
isUseNative()
Return the value of the
useNative property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setLocale(java.lang.Object locale)
Set the value of the
locale property. |
void |
setPattern(java.lang.String pattern)
Set the value of the
pattern property. |
void |
setReadonly(boolean readonly)
Set the value of the
readonly property. |
void |
setSize(java.lang.String size)
Set the value of the
size property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setTimeZone(java.lang.Object timeZone)
Set the value of the
timeZone property. |
void |
setUseNative(boolean useNative)
Set the value of the
useNative property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setYearEnd(int yearEnd)
Set the value of the
yearEnd property. |
void |
setYearStart(int yearStart)
Set the value of the
yearStart property. |
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, validateValuegetConverter, getLocalValue, setConverteraddFacesListener, 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, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIInputpublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted.
setDisabled in interface IDateSpinnerpublic boolean isDisabled()
Return the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted. Default = 'false'.
isDisabled in interface IDateSpinnerpublic void setLocale(java.lang.Object locale)
Set the value of the locale property.
Contents: The locale to be used for labels and conversion.
setLocale in interface IDateSpinnerpublic java.lang.Object getLocale()
Return the value of the locale property.
Contents: The locale to be used for labels and conversion.
getLocale in interface IDateSpinnerpublic void setPattern(java.lang.String pattern)
Set the value of the pattern property.
Contents: The DateFormat pattern for the non-native widget only. If useNative is true, then use standard JSF converters and validators. Supported patterns for the non native widget are 'dd-MM-yyyy', 'MM-dd-yyyy', 'yyyy-MM-dd', 'yyyy-dd-MM', and the same but using a '\' separator instead of a '-'
setPattern in interface IDateSpinnerpublic java.lang.String getPattern()
Return the value of the pattern property.
Contents: The DateFormat pattern for the non-native widget only. If useNative is true, then use standard JSF converters and validators. Supported patterns for the non native widget are 'dd-MM-yyyy', 'MM-dd-yyyy', 'yyyy-MM-dd', 'yyyy-dd-MM', and the same but using a '\' separator instead of a '-' Default = 'yyyy-MM-dd'.
getPattern in interface IDateSpinnerpublic void setReadonly(boolean readonly)
Set the value of the readonly property.
Contents: Sets this component to read only, so value cannot be changed.
setReadonly in interface IDateSpinnerpublic boolean isReadonly()
Return the value of the readonly property.
Contents: Sets this component to read only, so value cannot be changed.
isReadonly in interface IDateSpinnerpublic void setSize(java.lang.String size)
Set the value of the size property.
Contents: Width, in characters, of the input text field string containing the value of the selected date.
setSize in interface IDateSpinnerpublic java.lang.String getSize()
Return the value of the size property.
Contents: Width, in characters, of the input text field string containing the value of the selected date. Default = '10'.
getSize in interface IDateSpinnerpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
setStyle in interface IDateSpinnerpublic java.lang.String getStyle()
Return the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
getStyle in interface IDateSpinnerpublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
setStyleClass in interface IDateSpinnerpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
getStyleClass in interface IDateSpinnerpublic void setTimeZone(java.lang.Object timeZone)
Set the value of the timeZone property.
Contents: A String or a java.util.TimeZone instance specify the timezone used for time conversion. Defaults to TimeZone.getDefault().
setTimeZone in interface IDateSpinnerpublic java.lang.Object getTimeZone()
Return the value of the timeZone property.
Contents: A String or a java.util.TimeZone instance specify the timezone used for time conversion. Defaults to TimeZone.getDefault().
getTimeZone in interface IDateSpinnerpublic void setUseNative(boolean useNative)
Set the value of the useNative property.
Contents: Determines if native date picker should be used when available. Currently, native support is available for iOS5, iOS6, and BlackBerry devices.
setUseNative in interface IDateSpinnerpublic boolean isUseNative()
Return the value of the useNative property.
Contents: Determines if native date picker should be used when available. Currently, native support is available for iOS5, iOS6, and BlackBerry devices. Default = 'false'.
isUseNative in interface IDateSpinnerpublic void setYearEnd(int yearEnd)
Set the value of the yearEnd property.
Contents: The last year to appear in the dateScroller. Some validation is provided for input fields, for example when useNative is true and then the property org.icefaces.mobi.component.datespinner.yearRange may be overwritten for a custom validation message.
setYearEnd in interface IDateSpinnerpublic int getYearEnd()
Return the value of the yearEnd property.
Contents: The last year to appear in the dateScroller. Some validation is provided for input fields, for example when useNative is true and then the property org.icefaces.mobi.component.datespinner.yearRange may be overwritten for a custom validation message. Default = '2050'.
getYearEnd in interface IDateSpinnerpublic void setYearStart(int yearStart)
Set the value of the yearStart property.
Contents: The first year to appear in the dateScroller. Some validation is provided for input fields, for example when useNative is true and then the property org.icefaces.mobi.component.datespinner.yearRange may be overwritten for a custom validation message.
setYearStart in interface IDateSpinnerpublic int getYearStart()
Return the value of the yearStart property.
Contents: The first year to appear in the dateScroller. Some validation is provided for input fields, for example when useNative is true and then the property org.icefaces.mobi.component.datespinner.yearRange may be overwritten for a custom validation message. Default = '1980'.
getYearStart in interface IDateSpinnerprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2018 ICEsoft Technologies Canada Corp., All Rights Reserved.