public interface CalendarToolbarSection
CalendarToolbarSection
is a BBj Custom Class that defines a section (start, center, end)
of the CalendarToolbar
. There are three possible alignments, or positions, for the section that include:
CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_START()
- The left-most section of the toolbar (in LeftToRight mode).CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_CENTER()
- The center section of the toolbar.CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_END()
- The right-most section of the toolbar (in LeftToRight mode).Modifier and Type | Method and Description |
---|---|
BBjString |
getAlignment()
Returns the section's horizontal alignement as one of the three possible alignments constants.
|
BBjString |
getAsFormattedString()
Returns a formatted, i.e.
|
JsonObject |
getAsJsonObject()
Returns the component's JSON representation.
|
BBjString |
getAsString()
Returns a stringified JsonObject representation of CalendarToolbarSection object.
|
void |
setAlignment(BBjString alignment!)
Sets the section's horizontal alignement to one of the three possible alignments, or positions, for the section that include:
CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_START() - The left-most section of the toolbar (in LeftToRight mode).
CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_CENTER() - The center section of the toolbar.
CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_END() - The right-most section of the toolbar (in LeftToRight mode).
|
CalendarToolbarSection |
setObjects(BBjString objects!)
Sets the objects to be included in this toolbar section via a comma-separated list of string values like
CalendarAPI.CALENDAR_TOOLBAR_OBJECT_* . |
CalendarToolbarSection |
setObjects(BBjVector objects!)
Sets the objects to be included in this toolbar section via a list of string values like
CalendarAPI.CALENDAR_TOOLBAR_OBJECT_* contained in a BBjVector. |
void setAlignment(BBjString alignment!)
CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_START()
- The left-most section of the toolbar (in LeftToRight mode).CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_CENTER()
- The center section of the toolbar.CalendarAPI.CALENDAR_TOOLBAR_ALIGNMENT_END()
- The right-most section of the toolbar (in LeftToRight mode).BBjString
- alignment! A BBjString that is one of the three possible alignment constants.BBjString getAlignment()
CalendarToolbarSection setObjects(BBjString objects!)
CalendarAPI.CALENDAR_TOOLBAR_OBJECT_*
.
Note: If you choose to set the toolbar section objects via a BBjVector see the other setObjects() method.
BBjString
- objects! A comma-separated list of objects to include in the section, like CalendarAPI.CALENDAR_TOOLBAR_OBJECT_*
.CalendarToolbarSection setObjects(BBjVector objects!)
CalendarAPI.CALENDAR_TOOLBAR_OBJECT_*
contained in a BBjVector.
Note: If you choose to set the toolbar section objects via a BBjString see the other setObjects() method.
BBjVector
- objects! A BBjVector filled with a list of objects to include in the section, like CalendarAPI.CALENDAR_TOOLBAR_OBJECT_*
JsonObject getAsJsonObject()
BBjString getAsString()
BBjString getAsFormattedString()