|
||||||||||
| 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.rcfaces.core.internal.component.CameliaInputComponent
org.rcfaces.core.component.AbstractInputComponent
org.rcfaces.core.component.AbstractCalendarComponent
public abstract class AbstractCalendarComponent
Technical component, used as a basis for building new RCFaces components.
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.IClientDatesStrategyCapability |
|---|
ALL_DATES_STRATEGY, DEFAULT_DATES_STRATEGY, MONTH_DATES_STRATEGY, YEAR_DATES_STRATEGY |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Constructor Summary | |
|---|---|
AbstractCalendarComponent()
|
|
| Method Summary | |
|---|---|
void |
addSelectionListener(ISelectionListener listener)
Adds a listener to the component for the selection event |
protected Set |
getCameliaFields()
|
int |
getClientDatesStrategy()
Returns an int value indicating the AJAX transfert strategy for the calendar component : the dates' characteristics (styleClass, toolTip ...). |
int |
getClientDatesStrategy(FacesContext facesContext)
See getClientDatesStrategy() for more details |
Locale |
getComponentLocale()
Returns the locale defined for the component |
Locale |
getComponentLocale(FacesContext facesContext)
See getComponentLocale() for more details |
TimeZone |
getComponentTimeZone()
Returns the timeZone defined for the component. |
TimeZone |
getComponentTimeZone(FacesContext facesContext)
See getComponentTimeZone() for more details |
Date |
getCursorDate()
|
Date |
getCursorDate(FacesContext facesContext)
|
Date |
getDate()
|
int |
getDisabledWeekDays()
Returns a list of disabled week days (depending on the locale specified for the component). |
int |
getDisabledWeekDays(FacesContext facesContext)
Returns a list of disabled week days (depending on the locale specified for the component). |
Locale |
getLiteralLocale()
Returns the locale defined for literal attributes. |
Locale |
getLiteralLocale(FacesContext facesContext)
See getLiteralLocale() for more details |
TimeZone |
getLiteralTimeZone()
Returns the timeZone defined for literal attributes. |
TimeZone |
getLiteralTimeZone(FacesContext facesContext)
See getLiteralTimeZone() for more details |
Date |
getMaxDate()
Returns a date value indicating the maximum acceptable date for the component. |
Date |
getMaxDate(FacesContext facesContext)
|
Date |
getMinDate()
Returns a date value indicating the minimum acceptable date for the component. the first accepted value is minDate plus one day. |
Date |
getMinDate(FacesContext facesContext)
|
Date |
getTwoDigitYearStart()
Returns a string value specifying the year considered as base for selecting a date when the associated dateEntry's value's year has only two digits. |
Date |
getTwoDigitYearStart(FacesContext facesContext)
|
boolean |
isClientDatesStrategySetted()
Returns true if the attribute "clientDatesStrategy" is set. |
boolean |
isComponentLocaleSetted()
Returns true if the attribute "componentLocale" is set. |
boolean |
isComponentTimeZoneSetted()
Returns true if the attribute "componentTimeZone" is set. |
boolean |
isCursorDateSetted()
Returns true if the attribute "cursorDate" is set. |
boolean |
isDisabledWeekDaysSetted()
Returns true if the attribute "disabledWeekDays" is set. |
boolean |
isLiteralLocaleSetted()
Returns true if the attribute "literalLocale" is set. |
boolean |
isLiteralTimeZoneSetted()
Returns true if the attribute "literalTimeZone" is set. |
boolean |
isMaxDateSetted()
Returns true if the attribute "maxDate" is set. |
boolean |
isMinDateSetted()
Returns true if the attribute "minDate" is set. |
boolean |
isReadOnly()
Returns a boolean value indicating that this component will prohibit changes by the user. |
boolean |
isReadOnly(FacesContext facesContext)
See isReadOnly() for more details |
boolean |
isReadOnlySetted()
Returns true if the attribute "readOnly" is set. |
boolean |
isTwoDigitYearStartSetted()
Returns true if the attribute "twoDigitYearStart" is set. |
FacesListener[] |
listSelectionListeners()
Returns a list of selection listener for the component |
void |
removeSelectionListener(ISelectionListener listener)
Removes a listener from the component for the selection event |
void |
setClientDatesStrategy(int clientDatesStrategy)
Sets an int value indicating the AJAX transfert strategy for the calendar component : the dates' characteristics (styleClass, toolTip ...). |
void |
setClientDatesStrategy(String strategy)
|
void |
setComponentLocale(Locale componentLocale)
Sets the locale for the component |
void |
setComponentLocale(String locale)
|
void |
setComponentTimeZone(String timeZone)
|
void |
setComponentTimeZone(TimeZone componentTimeZone)
Sets the timeZone for component. |
void |
setCursorDate(Date cursorDate)
|
void |
setCursorDate(String date)
|
void |
setDate(Date date)
|
void |
setDisabledWeekDays(int disabledWeekDays)
Sets a list of disabled week days (depending on the locale specified for the component). |
void |
setDisabledWeekDays(String disabledWeekDays)
|
void |
setLiteralLocale(Locale literalLocale)
Sets the locale for literal attributes. |
void |
setLiteralLocale(String locale)
|
void |
setLiteralTimeZone(String timeZone)
|
void |
setLiteralTimeZone(TimeZone literalTimeZone)
Sets the timeZone for literal attributes. |
void |
setMaxDate(Date maxDate)
Sets a date value indicating the maximum acceptable date for the component. |
void |
setMaxDate(String date)
|
void |
setMinDate(Date minDate)
Sets a date value indicating the minimum acceptable date for the component. the first accepted value is minDate plus one day. |
void |
setMinDate(String date)
|
void |
setReadOnly(boolean readOnly)
Sets a boolean value indicating that this component will prohibit changes by the user. |
void |
setTwoDigitYearStart(Date twoDigitYearStart)
Sets a string value specifying the year considered as base for selecting a date when the associated dateEntry's value's year has only two digits. |
void |
setTwoDigitYearStart(String date)
|
| Methods inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getConvertedValue, getFamily, getLocalValue, getRendererType, getSubmittedExternalValue, getTransientAttribute, getValue, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isSubmittedValueSetted, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setSubmittedExternalValue, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability |
|---|
isImmediate, setImmediate |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, setConverter, setValue |
| Field Detail |
|---|
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public AbstractCalendarComponent()
| Method Detail |
|---|
public Date getDate()
public void setDate(Date date)
public void setTwoDigitYearStart(String date)
public Date getTwoDigitYearStart(FacesContext facesContext)
public void setClientDatesStrategy(String strategy)
public void setMinDate(String date)
public Date getMinDate(FacesContext facesContext)
public void setMaxDate(String date)
public Date getMaxDate(FacesContext facesContext)
public void setLiteralLocale(String locale)
public void setComponentLocale(String locale)
public void setLiteralTimeZone(String timeZone)
public void setComponentTimeZone(String timeZone)
public void setCursorDate(String date)
public Date getCursorDate(FacesContext facesContext)
public void setDisabledWeekDays(String disabledWeekDays)
public final void addSelectionListener(ISelectionListener listener)
ISelectionEventCapability
addSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to addpublic final void removeSelectionListener(ISelectionListener listener)
ISelectionEventCapability
removeSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to removepublic final FacesListener[] listSelectionListeners()
ISelectionEventCapability
listSelectionListeners in interface ISelectionEventCapabilitypublic boolean isReadOnly()
IReadOnlyCapability
isReadOnly in interface IReadOnlyCapabilitypublic boolean isReadOnly(FacesContext facesContext)
isReadOnly() for more details
public final boolean isReadOnlySetted()
true if the attribute "readOnly" is set.
true if the attribute is set.public void setReadOnly(boolean readOnly)
IReadOnlyCapability
setReadOnly in interface IReadOnlyCapabilityreadOnly - readOnly boolean propertypublic Locale getLiteralLocale()
ILiteralLocaleCapability
getLiteralLocale in interface ILiteralLocaleCapabilitypublic Locale getLiteralLocale(FacesContext facesContext)
getLiteralLocale() for more details
public final boolean isLiteralLocaleSetted()
true if the attribute "literalLocale" is set.
true if the attribute is set.public void setLiteralLocale(Locale literalLocale)
ILiteralLocaleCapability
setLiteralLocale in interface ILiteralLocaleCapabilityliteralLocale - locale to definepublic TimeZone getLiteralTimeZone()
ILiteralTimeZoneCapability
getLiteralTimeZone in interface ILiteralTimeZoneCapabilitypublic TimeZone getLiteralTimeZone(FacesContext facesContext)
getLiteralTimeZone() for more details
public final boolean isLiteralTimeZoneSetted()
true if the attribute "literalTimeZone" is set.
true if the attribute is set.public void setLiteralTimeZone(TimeZone literalTimeZone)
ILiteralTimeZoneCapability
setLiteralTimeZone in interface ILiteralTimeZoneCapabilityliteralTimeZone - timeZone to definepublic Locale getComponentLocale()
IComponentLocaleCapability
getComponentLocale in interface IComponentLocaleCapabilitypublic Locale getComponentLocale(FacesContext facesContext)
getComponentLocale() for more details
public final boolean isComponentLocaleSetted()
true if the attribute "componentLocale" is set.
true if the attribute is set.public void setComponentLocale(Locale componentLocale)
IComponentLocaleCapability
setComponentLocale in interface IComponentLocaleCapabilitycomponentLocale - locale to definepublic TimeZone getComponentTimeZone()
IComponentTimeZoneCapability
getComponentTimeZone in interface IComponentTimeZoneCapabilitypublic TimeZone getComponentTimeZone(FacesContext facesContext)
getComponentTimeZone() for more details
public final boolean isComponentTimeZoneSetted()
true if the attribute "componentTimeZone" is set.
true if the attribute is set.public void setComponentTimeZone(TimeZone componentTimeZone)
IComponentTimeZoneCapability
setComponentTimeZone in interface IComponentTimeZoneCapabilitycomponentTimeZone - timeZone to definepublic int getClientDatesStrategy()
IClientDatesStrategyCapability
getClientDatesStrategy in interface IClientDatesStrategyCapabilitypublic int getClientDatesStrategy(FacesContext facesContext)
getClientDatesStrategy() for more details
public final boolean isClientDatesStrategySetted()
true if the attribute "clientDatesStrategy" is set.
true if the attribute is set.public void setClientDatesStrategy(int clientDatesStrategy)
IClientDatesStrategyCapability
setClientDatesStrategy in interface IClientDatesStrategyCapabilityclientDatesStrategy - 1:all|2:year|3:month|1:default default=allpublic Date getTwoDigitYearStart()
public void setTwoDigitYearStart(Date twoDigitYearStart)
twoDigitYearStart - pivot yearpublic boolean isTwoDigitYearStartSetted()
true if the attribute "twoDigitYearStart" is set.
true if the attribute is set.public Date getMinDate()
public void setMinDate(Date minDate)
minDate - min datepublic boolean isMinDateSetted()
true if the attribute "minDate" is set.
true if the attribute is set.public Date getMaxDate()
public void setMaxDate(Date maxDate)
maxDate - max datepublic boolean isMaxDateSetted()
true if the attribute "maxDate" is set.
true if the attribute is set.public Date getCursorDate()
public void setCursorDate(Date cursorDate)
public boolean isCursorDateSetted()
true if the attribute "cursorDate" is set.
true if the attribute is set.public int getDisabledWeekDays()
public int getDisabledWeekDays(FacesContext facesContext)
public void setDisabledWeekDays(int disabledWeekDays)
disabledWeekDays - list of dayspublic boolean isDisabledWeekDaysSetted()
true if the attribute "disabledWeekDays" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractInputComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||