Class CCScheduleDays

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCScheduleDays
All Implemented Interfaces:
Serializable, org.eclnt.jsfserver.elements.IConfiguredByLayout, org.eclnt.jsfserver.pagebean.component.IPageBeanComponent, org.eclnt.jsfserver.pagebean.IPageBean, org.eclnt.jsfserver.util.valuemgmt.IDynamicContentBindingObject

public class CCScheduleDays extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent implements Serializable
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
    static interface 
     

    Nested classes/interfaces inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent

    org.eclnt.jsfserver.pagebean.component.PageBeanComponent.ILiteralResolver, org.eclnt.jsfserver.pagebean.component.PageBeanComponent.LitMap
  • Field Summary

    Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean

    m_pageModifier
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    org.eclnt.jsfserver.elements.util.Trigger
     
     
     
     
    Define which week day is shown as first day of a week.
     
     
    int
    Number of days shown in week mode.
     
    The day that is currently selected by the user.
    The day that is used for positioning the view.
     
    boolean
    Define if a week or a single day is shown.
    void
    onBeforeRenderAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    onDayviewAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    onNextAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    onPreviousAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    onWeekviewAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
     
    void
    setDayOfWeekOnLeft(DayOfWeek dayOfWeekOnLeft)
     
    void
    setNumberOfDays(int numberOfDays)
     
    void
     
    void
     
    void
    setWeekMode(boolean weekMode)
     

    Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent

    getLit, initializePageBean, initializePageBeanConfigItems

    Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase

    addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolver

    Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean

    buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout

    addConfiguredByLayoutListener, removeConfiguredByLayoutListener

    Methods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean

    closePopup, getActualRootExpression, getPageModifier, getPageName, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpression

    Methods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent

    initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
  • Constructor Details

    • CCScheduleDays

      public CCScheduleDays()
  • Method Details

    • getRootExpressionUsedInPage

      public String getRootExpressionUsedInPage()
      Specified by:
      getRootExpressionUsedInPage in interface org.eclnt.jsfserver.pagebean.IPageBean
      Specified by:
      getRootExpressionUsedInPage in class org.eclnt.jsfserver.pagebean.PageBean
    • prepare

      public void prepare(LocalDate startDay, CCScheduleDays.IListener listener)
    • onBeforeRenderAction

      public void onBeforeRenderAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • getDays

      public List<CCScheduleDays.DaysItem> getDays()
    • getTimes

      public List<LocalTime> getTimes()
    • getStartDay

      public LocalDate getStartDay()
      The day that is used for positioning the view. When setting the start day and being in week mode then the start day is automatically moved to the first week day of the corresponding week.
    • setStartDay

      public void setStartDay(LocalDate startDay)
    • getSelectedDay

      public LocalDate getSelectedDay()
      The day that is currently selected by the user. When setting: please note, that the selected may not be visible in the current navigation of the user. To ensure it is visible, also set the start day of the current view (setStartDay(LocalDate)).
    • setSelectedDay

      public void setSelectedDay(LocalDate selectedDay)
    • getWeekMode

      public boolean getWeekMode()
      Define if a week or a single day is shown.
    • setWeekMode

      public void setWeekMode(boolean weekMode)
    • getNumberOfDays

      public int getNumberOfDays()
      Number of days shown in week mode.
    • setNumberOfDays

      public void setNumberOfDays(int numberOfDays)
    • getAnimationType

      public String getAnimationType()
    • getAnimationTrigger

      public org.eclnt.jsfserver.elements.util.Trigger getAnimationTrigger()
    • getDrawCommands

      public String getDrawCommands()
    • getDayEnd

      public LocalDate getDayEnd()
    • getDayBegin

      public LocalDate getDayBegin()
    • getActiveWeekview

      public boolean getActiveWeekview()
    • getActiveDayview

      public boolean getActiveDayview()
    • getDayOfWeekOnLeft

      public DayOfWeek getDayOfWeekOnLeft()
      Define which week day is shown as first day of a week. Default is "Monday".
    • setDayOfWeekOnLeft

      public void setDayOfWeekOnLeft(DayOfWeek dayOfWeekOnLeft)
    • onWeekviewAction

      public void onWeekviewAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • onDayviewAction

      public void onDayviewAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • onPreviousAction

      public void onPreviousAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • onNextAction

      public void onNextAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)