|
||||||||||
| 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
org.rcfaces.core.component.CalendarComponent
public class CalendarComponent
The calendar Component shows a calendar. It can be customized in differents ways (days off, holidays, tool tips ...).
The calendar Component has the following capabilities :
The default calendar renderer is linked to the f_calendar javascript class. f_calendar extends f_component, fa_readOnly, fa_disabled, fa_itemsWrapper
Table of the main component style classes:
| Style Name | Description |
|---|---|
| f_calendar_yearCursor | Defines styles for the wrapper Table element used to change years of the calendar. Contains other style |
| f_calendar_monthList | Defines styles for the wrapper Table element the element containing the months of year |
| f_calendar_dayList | Defines styles for the wrapper Table element the element containing the day list of year |
| f_calendar_day | Defines styles for the A element |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, 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.ICalendarLayoutCapability |
|---|
DEFAULT_LAYOUT, FULL_LAYOUT, LONG_LAYOUT, MEDIUM_LAYOUT, SHORT_LAYOUT |
| Fields inherited from interface org.rcfaces.core.component.capability.ICalendarModeCapability |
|---|
DATE_CALENDAR_MODE, DATE_CALENDAR_MODE_NAME, DEFAULT_CALENDAR_MODE, DEFAULT_CALENDAR_MODE_NAME, PERIOD_CALENDAR_MODE, PERIOD_CALENDAR_MODE_NAME |
| 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 | |
|---|---|
CalendarComponent()
|
|
CalendarComponent(String componentId)
|
|
| Method Summary | |
|---|---|
int |
getCalendarLayout()
|
int |
getCalendarLayout(FacesContext facesContext)
See getCalendarLayout() for more details |
protected Set |
getCameliaFields()
|
int |
getMode()
Returns a int value specifying the selection mode. |
int |
getMode(FacesContext facesContext)
See getMode() for more details |
boolean |
isAutoSelection()
|
boolean |
isAutoSelection(FacesContext facesContext)
|
boolean |
isAutoSelectionSetted()
Returns true if the attribute "autoSelection" is set. |
boolean |
isBorder()
Returns a boolean value that indicates if the component should show a border or not. |
boolean |
isBorder(FacesContext facesContext)
See isBorder() for more details |
boolean |
isBorderSetted()
Returns true if the attribute "border" is set. |
boolean |
isCalendarLayoutSetted()
Returns true if the attribute "calendarLayout" is set. |
boolean |
isModeSetted()
Returns true if the attribute "mode" is set. |
boolean |
isMultipleSelect()
Returns a boolean value indicating wether multiple selection is permitted. |
boolean |
isMultipleSelect(FacesContext facesContext)
See isMultipleSelect() for more details |
boolean |
isMultipleSelectSetted()
Returns true if the attribute "multipleSelect" is set. |
void |
setAutoSelection(boolean autoSelection)
|
void |
setBorder(boolean border)
Sets a boolean value that indicates if the component should show a border or not. |
void |
setCalendarLayout(int calendarLayout)
|
void |
setCalendarLayout(String layout)
|
void |
setMode(int mode)
Sets a int value specifying the selection mode. |
void |
setMode(String calendarMode)
|
void |
setMultipleSelect(boolean multipleSelect)
Sets a boolean value indicating wether multiple selection is permitted. |
| 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 |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public CalendarComponent()
public CalendarComponent(String componentId)
| Method Detail |
|---|
public void setMode(String calendarMode)
public void setCalendarLayout(String layout)
public boolean isBorder()
IBorderCapability
isBorder in interface IBorderCapabilitypublic boolean isBorder(FacesContext facesContext)
isBorder() for more details
public final boolean isBorderSetted()
true if the attribute "border" is set.
true if the attribute is set.public void setBorder(boolean border)
IBorderCapability
setBorder in interface IBorderCapabilityborder - booleanpublic int getCalendarLayout()
getCalendarLayout in interface ICalendarLayoutCapabilitypublic int getCalendarLayout(FacesContext facesContext)
getCalendarLayout() for more details
public final boolean isCalendarLayoutSetted()
true if the attribute "calendarLayout" is set.
true if the attribute is set.public void setCalendarLayout(int calendarLayout)
setCalendarLayout in interface ICalendarLayoutCapabilitypublic boolean isMultipleSelect()
IMultipleSelectCapability
isMultipleSelect in interface IMultipleSelectCapabilitypublic boolean isMultipleSelect(FacesContext facesContext)
isMultipleSelect() for more details
public final boolean isMultipleSelectSetted()
true if the attribute "multipleSelect" is set.
true if the attribute is set.public void setMultipleSelect(boolean multipleSelect)
IMultipleSelectCapability
setMultipleSelect in interface IMultipleSelectCapabilitymultipleSelect - booleanpublic int getMode()
ICalendarModeCapability
getMode in interface ICalendarModeCapabilityICalendarModeCapability.DATE_CALENDAR_MODE,
ICalendarModeCapability.PERIOD_CALENDAR_MODEpublic int getMode(FacesContext facesContext)
getMode() for more details
public final boolean isModeSetted()
true if the attribute "mode" is set.
true if the attribute is set.public void setMode(int mode)
ICalendarModeCapability
setMode in interface ICalendarModeCapabilityICalendarModeCapability.DATE_CALENDAR_MODE,
ICalendarModeCapability.PERIOD_CALENDAR_MODEpublic boolean isAutoSelection()
public boolean isAutoSelection(FacesContext facesContext)
public void setAutoSelection(boolean autoSelection)
public boolean isAutoSelectionSetted()
true if the attribute "autoSelection" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractCalendarComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||