public interface CalendarView
CalendarView
is a BBj Interface that defines different calendar views and is used in combination with the BBjCalendarWidget
.Modifier and Type | Method and Description |
---|---|
static BBjString |
CALENDAR_VIEW_DAY_GRID_MONTH() |
static BBjString |
CALENDAR_VIEW_DAY_GRID_WEEK() |
static BBjString |
CALENDAR_VIEW_LIST_DAY() |
static BBjString |
CALENDAR_VIEW_LIST_MONTH() |
static BBjString |
CALENDAR_VIEW_LIST_WEEK() |
static BBjString |
CALENDAR_VIEW_LIST_YEAR() |
static BBjString |
CALENDAR_VIEW_TIME_GRID_DAY() |
static BBjString |
CALENDAR_VIEW_TIME_GRID_WEEK() |
BBjString |
getActiveEnd()
Returns the calendar's last visible day as a date string.
|
BBjString |
getActiveStart()
Returns the calendar's first visible day as a date string.
|
static BBjVector |
getAllViewTypes()
Returns a BBjVector filled with all possible calendar view types.
|
BBjString |
getAsFormattedString()
Returns a formatted, i.e.
|
JsonObject |
getAsJsonObject()
Returns a JsonObject representation of the calendar view object.
|
BBjString |
getAsString()
Returns a stringified JsonObject representation of the calendar view object.
|
BBjString |
getCalendarUuid()
Returns a unique ID that identifes the calendar instance to which the view belongs.
|
BBjString |
getCurrentEnd()
Returns the calendar's date that is the end of the interval the view is trying to represent.
|
BBjString |
getCurrentStart()
Returns the calendar's start date of the interval the view is trying to represent.
|
BBjString |
getTitle()
Returns the view's current title, which is a property for users of the class.
|
BBjString |
getType()
Returns the calendar's view type.
|
void |
setActiveEnd(BBjString activeEndDate!)
Sets the calendar's last visible day to the provided date string.
|
void |
setActiveStart(BBjString activeStartDate!)
Sets the calendar's first visible day to the provided date string.
|
void |
setCurrentEnd(BBjString currentEndDate!)
Sets the calendar's date that is the end of the interval the view is trying to represent.
|
void |
setCurrentStart(BBjString currentStartDate!)
Sets the calendar's start date of the interval the view is trying to represent.
|
void |
setType(BBjString viewType!)
Sets the calendar's view type using one of the view type constants such as
CalendarAPI.CALENDAR_VIEW_DAY_GRID_MONTH() , CalendarAPI.CALENDAR_VIEW_TIME_GRID_WEEK() , etc. |
static BBjString CALENDAR_VIEW_DAY_GRID_WEEK()
static BBjString CALENDAR_VIEW_DAY_GRID_MONTH()
static BBjString CALENDAR_VIEW_TIME_GRID_DAY()
static BBjString CALENDAR_VIEW_TIME_GRID_WEEK()
static BBjString CALENDAR_VIEW_LIST_DAY()
static BBjString CALENDAR_VIEW_LIST_WEEK()
static BBjString CALENDAR_VIEW_LIST_MONTH()
static BBjString CALENDAR_VIEW_LIST_YEAR()
BBjString getCalendarUuid()
BBjString getTitle()
void setActiveStart(BBjString activeStartDate!)
BBjString
- activeStartDate! A date string denoting the calendar's first visible day.BBjString getActiveStart()
void setActiveEnd(BBjString activeEndDate!)
Note: This value is exclusive, as are all ending dates.
BBjString
- activeEndDate! A date string denoting the calendar's last visible day.BBjString getActiveEnd()
Note: This value is exclusive, as are all ending dates.
void setCurrentStart(BBjString currentStartDate!)
BBjString
- currentStartDate! A date string denoting the calendar interval starting date.BBjString getCurrentStart()
void setCurrentEnd(BBjString currentEndDate!)
Note: This value is exclusive, as are all ending dates.
BBjString
- currentEndDate! A date string denoting the calendar interval ending date.BBjString getCurrentEnd()
Note: This value is exclusive, as are all ending dates.
void setType(BBjString viewType!)
CalendarAPI.CALENDAR_VIEW_DAY_GRID_MONTH()
, CalendarAPI.CALENDAR_VIEW_TIME_GRID_WEEK()
, etc.BBjString
- viewType! One of the view type constants such as CalendarAPI.CALENDAR_VIEW_DAY_GRID_MONTH()
, CalendarAPI.CALENDAR_VIEW_TIME_GRID_WEEK()
, etc.BBjString getType()
CalendarAPI.CALENDAR_VIEW_DAY_GRID_MONTH()
, CalendarAPI.CALENDAR_VIEW_TIME_GRID_WEEK()
, etc.static BBjVector getAllViewTypes()
CalendarAPI.CALENDAR_VIEW_DAY_GRID_MONTH()
, CalendarAPI.CALENDAR_VIEW_TIME_GRID_WEEK()
, etc.BBjString getAsString()
BBjString getAsFormattedString()
JsonObject getAsJsonObject()