/// <summary> /// Checks for the provided <code>sap.ui.unified.CalendarLegendItem</code> in the aggregation {@link #getAppointmentItems appointmentItems}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oAppointmentItem">The appointmentItem whose index is looked for</param> /// <returns>The index of the provided control in the aggregation if found, or -1 otherwise</returns> public extern virtual int indexOfAppointmentItem(sap.ui.unified.CalendarLegendItem oAppointmentItem);
/// <summary> /// Adds some appointmentItem to the aggregation {@link #getAppointmentItems appointmentItems}. /// </summary> /// <param name="oAppointmentItem">The appointmentItem to add; if empty, nothing is inserted</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.m.PlanningCalendarLegend addAppointmentItem(sap.ui.unified.CalendarLegendItem oAppointmentItem);
/// <summary> /// Inserts a appointmentItem into the aggregation {@link #getAppointmentItems appointmentItems}. /// </summary> /// <param name="oAppointmentItem">The appointmentItem to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the appointmentItem should be inserted at; for a negative value of <code>iIndex</code>, the appointmentItem is inserted at position 0; for a value greater than the current size of the aggregation, the appointmentItem is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.m.PlanningCalendarLegend insertAppointmentItem(sap.ui.unified.CalendarLegendItem oAppointmentItem, int iIndex);
/// <summary> /// Checks for the provided <code>sap.ui.unified.CalendarLegendItem</code> in the aggregation {@link #getItems items}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oItem">The item whose index is looked for</param> /// <returns>The index of the provided control in the aggregation if found, or -1 otherwise</returns> public extern virtual int indexOfItem(sap.ui.unified.CalendarLegendItem oItem);
/// <summary> /// Adds some item to the aggregation {@link #getItems items}. /// </summary> /// <param name="oItem">The item to add; if empty, nothing is inserted</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.unified.CalendarLegend addItem(sap.ui.unified.CalendarLegendItem oItem);
/// <summary> /// Inserts a item into the aggregation {@link #getItems items}. /// </summary> /// <param name="oItem">The item to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the item should be inserted at; for a negative value of <code>iIndex</code>, the item is inserted at position 0; for a value greater than the current size of the aggregation, the item is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.unified.CalendarLegend insertItem(sap.ui.unified.CalendarLegendItem oItem, int iIndex);