|
||||||||||
| 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
com.infragistics.faces.input.component.BaseInput
com.infragistics.faces.input.component.DateChooser
com.infragistics.faces.input.component.html.HtmlDateChooser
This component displays a popup calendar to allow for easy selection of a date. It is fully localised and supports a very rich set of functionality as described below:
Internationalisation
DateChooser is fully localised. For instance, the label for days and months are displayed according to the default locale or the locale specified for the dateChooser. As an example dateChooser displays 'M', 'Mon' or 'Monday' for the US locale (short, medium and long dayHeaderFormat). an another example it automatically display 'L', 'Lun' or 'Lundi' for a French Locale.
The editMask property is automatically determined based upon the default locale.
Customizable Look and Feel
Background, color, border, font attributes and much more can be customized and applied to this component
The showDayHeader, showHeader and dayHeaderFormat properties also allow to customize the dateChooser's look and feel.
| Field Summary | |
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Fields inherited from class com.infragistics.faces.input.component.DateChooser |
DAY_HEADER_FORMAT_LONG, DAY_HEADER_FORMAT_MEDIUM, DAY_HEADER_FORMAT_SHORT |
| Fields inherited from class javax.faces.component.UIInput |
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
| Constructor Summary | |
HtmlDateChooser()
|
|
| Method Summary | |
java.lang.String |
getDayHoverStyleClass()
Returns the name of the css class applied to a date when the mouse cursor is over it |
java.lang.String |
getDaySelectedStyleClass()
Returns the name of the css class applied to a selected date |
java.lang.String |
getDayStyleClass()
Returns the name of the css class applied to dates |
java.lang.String |
getFamily()
|
java.lang.String |
getPopupStyleClass()
Returns the name of the css class applied to the popup calendar |
java.lang.String |
getStyle()
Returns the default Style applied to the component |
java.lang.String |
getStyleClass()
Returns the name of the css clas applied to the component |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setDayHoverStyleClass(java.lang.String cssClass)
Sets the name of the css class applied to a date when the mouse cursor is over it |
void |
setDaySelectedStyleClass(java.lang.String cssClass)
Sets the name of the css class applied to selected dates |
void |
setDayStyleClass(java.lang.String cssClass)
Sets the default Style applied to dates |
void |
setPopupStyleClass(java.lang.String cssClass)
Sets the name of the css class applied to the popup calendar |
void |
setStyle(java.lang.String style)
Sets the default Style applied to the component |
void |
setStyleClass(java.lang.String cssClass)
Sets the name of the css class applied to the component |
| Methods inherited from class com.infragistics.faces.input.component.DateChooser |
getConverter, getDayHeaderFormat, getEditMasks, getFirstDayOfWeek, getLocale, getMaximumDate, getMinimumDate, getShowDayHeader, getShowHeader, getTimeZone, setConverter, setDayHeaderFormat, setEditMasks, setFirstDayOfWeek, setLocale, setMaximumDate, setMinimumDate, setShowDayHeader, setShowHeader, setTimeZone |
| Methods inherited from class com.infragistics.faces.input.component.BaseInput |
getShortcut, getTooltip, isDisabled, isReadOnly, setDisabled, setReadOnly, setShortcut, setTooltip, validate |
| Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, broadcast, decode, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel |
| Methods inherited from class javax.faces.component.UIOutput |
getLocalValue, getValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.ValueHolder |
getLocalValue, getValue |
| Field Detail |
public static java.lang.String COMPONENT_FAMILY
public static java.lang.String COMPONENT_TYPE
public static java.lang.String RENDERER_TYPE
| Constructor Detail |
public HtmlDateChooser()
| Method Detail |
public java.lang.String getFamily()
getFamily in class DateChooserpublic java.lang.String getDayHoverStyleClass()
public java.lang.String getDaySelectedStyleClass()
public java.lang.String getDayStyleClass()
public java.lang.String getPopupStyleClass()
public java.lang.String getStyle()
public java.lang.String getStyleClass()
public void setDayHoverStyleClass(java.lang.String cssClass)
cssClass - public void setDaySelectedStyleClass(java.lang.String cssClass)
cssClass - public void setDayStyleClass(java.lang.String cssClass)
cssClass - public void setPopupStyleClass(java.lang.String cssClass)
public void setStyle(java.lang.String style)
style - public void setStyleClass(java.lang.String cssClass)
cssClass -
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class DateChooserpublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class DateChooser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||