public interface CalendarToolbarSection
The 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. pretty-printed or beautified, stringified JsonObject representation of the CalendarToolbarSection object. |
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:
|
CalendarToolbarSection | setObjects(BBjString objects!)Sets the objects to be included in this toolbar section via a comma-separated list of string values like Note: If you choose to set the toolbar section objects via a BBjVector see the other setObjects() method. |
CalendarToolbarSection | setObjects(BBjVector objects!)Sets the objects to be included in this toolbar section via a list of string values like Note: If you choose to set the toolbar section objects via a BBjString see the other setObjects() method. |
public BBjString getAlignment()Returns the section's horizontal alignement as one of the three possible alignments constants.
public BBjString getAsFormattedString()Returns a formatted, i.e. pretty-printed or beautified, stringified JsonObject representation of the CalendarToolbarSection object.
public JsonObject getAsJsonObject()Returns the component's JSON representation.
JsonObject for information about an object in JSON format.public BBjString getAsString()Returns a stringified JsonObject representation of CalendarToolbarSection object.
public 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).BBjString alignment! A BBjString that is one of the three possible alignment constants.public 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_*.
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_*.public 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.
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_*