|
||||||||||
| 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
org.rcfaces.core.internal.component.CameliaBaseComponent
org.rcfaces.core.component.SchedulerComponent
public class SchedulerComponent
The scheduler Component shows a planning
The scheduler Component has the following capabilities :
The default scheduler renderer is linked to the f_scheduler javascript class. f_scheduler extends f_component, fa_items, fa_selectionManager
Table of component style classes:
| Style Name | Description |
|---|---|
| f_scheduler | Defines styles for the wrapper DIV element |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
SchedulerComponent()
|
|
SchedulerComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addSelectionListener(ISelectionListener listener)
Adds a listener to the component for the selection event |
protected Set |
getCameliaFields()
|
Date |
getDateBegin()
|
Date |
getDateBegin(FacesContext facesContext)
|
String |
getHeight()
Returns a string value (as specified by CSS) for the height of the component. |
String |
getHeight(FacesContext facesContext)
See getHeight() for more details |
int |
getHorizontalScrollPosition()
Returns an integer value specifying the position of the horizontal scroolbar (browser dependant). |
int |
getHorizontalScrollPosition(FacesContext facesContext)
See getHorizontalScrollPosition() for more details |
Time |
getHourBegin()
|
Time |
getHourBegin(FacesContext facesContext)
|
Time |
getHourEnd()
|
Time |
getHourEnd(FacesContext facesContext)
|
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 |
getPeriodBegin()
|
Date |
getPeriodBegin(FacesContext facesContext)
|
List |
getPeriodClientData()
|
Date |
getPeriodEnd()
|
Date |
getPeriodEnd(FacesContext facesContext)
|
String |
getPeriodLabel()
|
String |
getPeriodLabel(FacesContext facesContext)
|
Object |
getPeriods()
|
Object |
getPeriods(FacesContext facesContext)
|
String |
getPeriodStyle()
|
String |
getPeriodStyle(FacesContext facesContext)
|
String |
getPeriodToolTip()
|
String |
getPeriodToolTip(FacesContext facesContext)
|
String |
getPeriodType()
|
String |
getPeriodType(FacesContext facesContext)
|
String |
getPeriodValue()
|
String |
getPeriodValue(FacesContext facesContext)
|
int |
getPrimaryTick()
|
int |
getPrimaryTick(FacesContext facesContext)
|
List |
getSchedulerColumn()
|
int |
getSecondaryTick()
|
int |
getSecondaryTick(FacesContext facesContext)
|
String |
getStyleClass()
Returns the style class of the component. |
String |
getStyleClass(FacesContext facesContext)
See getStyleClass() for more details |
Integer |
getTabIndex()
Returns an int value specifying the position of this element in the tabbing order for the current document. |
Integer |
getTabIndex(FacesContext facesContext)
See getTabIndex() for more details |
String |
getVar()
|
String |
getVar(FacesContext facesContext)
|
int |
getVerticalScrollPosition()
Returns an integer value specifying the position of the vertical scroolbar (Browser dependant). |
int |
getVerticalScrollPosition(FacesContext facesContext)
See getVerticalScrollPosition() for more details |
String |
getWidth()
Returns a string value (as specified by CSS) for the width of the component. |
String |
getWidth(FacesContext facesContext)
See getWidth() for more details |
boolean |
isDateBeginSetted()
Returns true if the attribute "dateBegin" is set. |
boolean |
isHeightSetted()
Returns true if the attribute "height" is set. |
boolean |
isHorizontalScrollPositionSetted()
Returns true if the attribute "horizontalScrollPosition" is set. |
boolean |
isHourBeginSetted()
Returns true if the attribute "hourBegin" is set. |
boolean |
isHourEndSetted()
Returns true if the attribute "hourEnd" is set. |
boolean |
isImmediate()
Returns a boolean value indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
boolean |
isImmediate(FacesContext facesContext)
See isImmediate() for more details |
boolean |
isImmediateSetted()
Returns true if the attribute "immediate" is set. |
boolean |
isLiteralLocaleSetted()
Returns true if the attribute "literalLocale" is set. |
boolean |
isLiteralTimeZoneSetted()
Returns true if the attribute "literalTimeZone" is set. |
boolean |
isPeriodBeginSetted()
Returns true if the attribute "periodBegin" is set. |
boolean |
isPeriodEndSetted()
Returns true if the attribute "periodEnd" is set. |
boolean |
isPeriodLabelSetted()
Returns true if the attribute "periodLabel" is set. |
boolean |
isPeriodSelectable()
|
boolean |
isPeriodSelectable(FacesContext facesContext)
|
boolean |
isPeriodSelectableSetted()
Returns true if the attribute "periodSelectable" is set. |
boolean |
isPeriodsSetted()
Returns true if the attribute "periods" is set. |
boolean |
isPeriodStyleSetted()
Returns true if the attribute "periodStyle" is set. |
boolean |
isPeriodToolTipSetted()
Returns true if the attribute "periodToolTip" is set. |
boolean |
isPeriodTypeSetted()
Returns true if the attribute "periodType" is set. |
boolean |
isPeriodValueSetted()
Returns true if the attribute "periodValue" is set. |
boolean |
isPrimaryTickSetted()
Returns true if the attribute "primaryTick" is set. |
boolean |
isSecondaryTickSetted()
Returns true if the attribute "secondaryTick" is set. |
boolean |
isShowPrimaryTickLabel()
|
boolean |
isShowPrimaryTickLabel(FacesContext facesContext)
|
boolean |
isShowPrimaryTickLabelSetted()
Returns true if the attribute "showPrimaryTickLabel" is set. |
boolean |
isShowSecondaryTickLabel()
|
boolean |
isShowSecondaryTickLabel(FacesContext facesContext)
|
boolean |
isShowSecondaryTickLabelSetted()
Returns true if the attribute "showSecondaryTickLabel" is set. |
boolean |
isStyleClassSetted()
Returns true if the attribute "styleClass" is set. |
boolean |
isTabIndexSetted()
Returns true if the attribute "tabIndex" is set. |
boolean |
isVarSetted()
Returns true if the attribute "var" is set. |
boolean |
isVerticalScrollPositionSetted()
Returns true if the attribute "verticalScrollPosition" is set. |
boolean |
isWidthSetted()
Returns true if the attribute "width" 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 |
setDateBegin(Date dateBegin)
|
void |
setDateBegin(String date)
|
void |
setHeight(String height)
Sets a string value (as specified by CSS) for the height of the component. |
void |
setHorizontalScrollPosition(int horizontalScrollPosition)
Sets an integer value specifying the position of the horizontal scroolbar (browser dependant). |
void |
setHourBegin(String time)
|
void |
setHourBegin(Time hourBegin)
|
void |
setHourEnd(String time)
|
void |
setHourEnd(Time hourEnd)
|
void |
setImmediate(boolean immediate)
Sets a boolean value indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
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 |
setPeriodBegin(Date periodBegin)
|
void |
setPeriodBegin(String date)
|
void |
setPeriodEnd(Date periodEnd)
|
void |
setPeriodEnd(String date)
|
void |
setPeriodLabel(String periodLabel)
|
void |
setPeriods(Object periods)
|
void |
setPeriodSelectable(boolean periodSelectable)
|
void |
setPeriodStyle(String periodStyle)
|
void |
setPeriodToolTip(String periodToolTip)
|
void |
setPeriodType(String periodType)
|
void |
setPeriodValue(String periodValue)
|
void |
setPrimaryTick(int primaryTick)
|
void |
setSecondaryTick(int secondaryTick)
|
void |
setShowPrimaryTickLabel(boolean showPrimaryTickLabel)
|
void |
setShowSecondaryTickLabel(boolean showSecondaryTickLabel)
|
void |
setStyleClass(String styleClass)
Specify the style class of the component. |
void |
setTabIndex(Integer tabIndex)
Sets an int value specifying the position of this element in the tabbing order for the current document. |
void |
setVar(String var)
|
void |
setVerticalScrollPosition(int verticalScrollPosition)
Sets an integer value specifying the position of the vertical scroolbar (Browser dependant). |
void |
setWidth(String width)
Sets a string value (as specified by CSS) for the width of the component. |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent |
|---|
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, 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.internal.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public SchedulerComponent()
public SchedulerComponent(String componentId)
| Method Detail |
|---|
public void setDateBegin(String date)
public Date getDateBegin(FacesContext facesContext)
public void setHourBegin(String time)
public void setHourEnd(String time)
public void setPeriodBegin(String date)
public Date getPeriodBegin(FacesContext facesContext)
public void setPeriodEnd(String date)
public Date getPeriodEnd(FacesContext facesContext)
public void setLiteralLocale(String locale)
public void setLiteralTimeZone(String timeZone)
public List getSchedulerColumn()
public List getPeriodClientData()
public String getWidth()
IWidthCapability
getWidth in interface IWidthCapabilitypublic String getWidth(FacesContext facesContext)
getWidth() for more details
public final boolean isWidthSetted()
true if the attribute "width" is set.
true if the attribute is set.public void setWidth(String width)
IWidthCapability
setWidth in interface IWidthCapabilitywidth - widthpublic String getHeight()
IHeightCapability
getHeight in interface IHeightCapabilitypublic String getHeight(FacesContext facesContext)
getHeight() for more details
public final boolean isHeightSetted()
true if the attribute "height" is set.
true if the attribute is set.public void setHeight(String height)
IHeightCapability
setHeight in interface IHeightCapabilityheight - heightpublic int getHorizontalScrollPosition()
IScrollableCapability
getHorizontalScrollPosition in interface IScrollableCapabilitypublic int getHorizontalScrollPosition(FacesContext facesContext)
getHorizontalScrollPosition() for more details
public final boolean isHorizontalScrollPositionSetted()
true if the attribute "horizontalScrollPosition" is set.
true if the attribute is set.public void setHorizontalScrollPosition(int horizontalScrollPosition)
IScrollableCapability
setHorizontalScrollPosition in interface IScrollableCapabilityhorizontalScrollPosition - horizontal scroll positionpublic int getVerticalScrollPosition()
IScrollableCapability
getVerticalScrollPosition in interface IScrollableCapabilitypublic int getVerticalScrollPosition(FacesContext facesContext)
getVerticalScrollPosition() for more details
public final boolean isVerticalScrollPositionSetted()
true if the attribute "verticalScrollPosition" is set.
true if the attribute is set.public void setVerticalScrollPosition(int verticalScrollPosition)
IScrollableCapability
setVerticalScrollPosition in interface IScrollableCapabilityverticalScrollPosition - vertical scroll positionpublic 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 String getStyleClass()
IStyleClassCapability
getStyleClass in interface IStyleClassCapabilitypublic String getStyleClass(FacesContext facesContext)
getStyleClass() for more details
public final boolean isStyleClassSetted()
true if the attribute "styleClass" is set.
true if the attribute is set.public void setStyleClass(String styleClass)
IStyleClassCapability
setStyleClass in interface IStyleClassCapabilitystyleClass - style classpublic Integer getTabIndex()
ITabIndexCapability
getTabIndex in interface ITabIndexCapabilitypublic Integer getTabIndex(FacesContext facesContext)
getTabIndex() for more details
public final boolean isTabIndexSetted()
true if the attribute "tabIndex" is set.
true if the attribute is set.public void setTabIndex(Integer tabIndex)
ITabIndexCapability
setTabIndex in interface ITabIndexCapabilitytabIndex - indexpublic boolean isImmediate()
IImmediateCapability
isImmediate in interface IImmediateCapabilitypublic boolean isImmediate(FacesContext facesContext)
isImmediate() for more details
public final boolean isImmediateSetted()
true if the attribute "immediate" is set.
true if the attribute is set.public void setImmediate(boolean immediate)
IImmediateCapability
setImmediate in interface IImmediateCapabilityimmediate - booleanpublic 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 Date getDateBegin()
public void setDateBegin(Date dateBegin)
public boolean isDateBeginSetted()
true if the attribute "dateBegin" is set.
true if the attribute is set.public Time getHourBegin()
public Time getHourBegin(FacesContext facesContext)
public void setHourBegin(Time hourBegin)
public boolean isHourBeginSetted()
true if the attribute "hourBegin" is set.
true if the attribute is set.public Time getHourEnd()
public Time getHourEnd(FacesContext facesContext)
public void setHourEnd(Time hourEnd)
public boolean isHourEndSetted()
true if the attribute "hourEnd" is set.
true if the attribute is set.public int getPrimaryTick()
public int getPrimaryTick(FacesContext facesContext)
public void setPrimaryTick(int primaryTick)
public boolean isPrimaryTickSetted()
true if the attribute "primaryTick" is set.
true if the attribute is set.public int getSecondaryTick()
public int getSecondaryTick(FacesContext facesContext)
public void setSecondaryTick(int secondaryTick)
public boolean isSecondaryTickSetted()
true if the attribute "secondaryTick" is set.
true if the attribute is set.public boolean isShowPrimaryTickLabel()
public boolean isShowPrimaryTickLabel(FacesContext facesContext)
public void setShowPrimaryTickLabel(boolean showPrimaryTickLabel)
public boolean isShowPrimaryTickLabelSetted()
true if the attribute "showPrimaryTickLabel" is set.
true if the attribute is set.public boolean isShowSecondaryTickLabel()
public boolean isShowSecondaryTickLabel(FacesContext facesContext)
public void setShowSecondaryTickLabel(boolean showSecondaryTickLabel)
public boolean isShowSecondaryTickLabelSetted()
true if the attribute "showSecondaryTickLabel" is set.
true if the attribute is set.public Object getPeriods()
public Object getPeriods(FacesContext facesContext)
public void setPeriods(Object periods)
public boolean isPeriodsSetted()
true if the attribute "periods" is set.
true if the attribute is set.public Date getPeriodBegin()
public void setPeriodBegin(Date periodBegin)
public boolean isPeriodBeginSetted()
true if the attribute "periodBegin" is set.
true if the attribute is set.public Date getPeriodEnd()
public void setPeriodEnd(Date periodEnd)
public boolean isPeriodEndSetted()
true if the attribute "periodEnd" is set.
true if the attribute is set.public String getPeriodLabel()
public String getPeriodLabel(FacesContext facesContext)
public void setPeriodLabel(String periodLabel)
public boolean isPeriodLabelSetted()
true if the attribute "periodLabel" is set.
true if the attribute is set.public String getPeriodStyle()
public String getPeriodStyle(FacesContext facesContext)
public void setPeriodStyle(String periodStyle)
public boolean isPeriodStyleSetted()
true if the attribute "periodStyle" is set.
true if the attribute is set.public boolean isPeriodSelectable()
public boolean isPeriodSelectable(FacesContext facesContext)
public void setPeriodSelectable(boolean periodSelectable)
public boolean isPeriodSelectableSetted()
true if the attribute "periodSelectable" is set.
true if the attribute is set.public String getPeriodToolTip()
public String getPeriodToolTip(FacesContext facesContext)
public void setPeriodToolTip(String periodToolTip)
public boolean isPeriodToolTipSetted()
true if the attribute "periodToolTip" is set.
true if the attribute is set.public String getPeriodValue()
public String getPeriodValue(FacesContext facesContext)
public void setPeriodValue(String periodValue)
public boolean isPeriodValueSetted()
true if the attribute "periodValue" is set.
true if the attribute is set.public String getPeriodType()
public String getPeriodType(FacesContext facesContext)
public void setPeriodType(String periodType)
public boolean isPeriodTypeSetted()
true if the attribute "periodType" is set.
true if the attribute is set.public String getVar()
public String getVar(FacesContext facesContext)
public void setVar(String var)
public boolean isVarSetted()
true if the attribute "var" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class org.rcfaces.core.internal.component.CameliaBaseComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||