Class ScheduleList


  • public class ScheduleList
    extends java.lang.Object
    This class describes an ordered set of schedule records. They are ordered only for UI nicety, not any functional reason.
    • Field Detail

      • list

        protected java.util.ArrayList list
    • Constructor Detail

      • ScheduleList

        public ScheduleList()
        Constructor.
    • Method Detail

      • clear

        public void clear()
        Clear it.
      • duplicate

        public ScheduleList duplicate()
        Duplicate this list.
        Returns:
        the duplicate.
      • addRecord

        public void addRecord​(ScheduleRecord sr)
        Add a record.
        Parameters:
        sr - is the record to add to the end.
      • getRecordCount

        public int getRecordCount()
        Get the number of records.
        Returns:
        the record count.
      • getRecord

        public ScheduleRecord getRecord​(int index)
        Get the specified record.
        Parameters:
        index - is the record number.
        Returns:
        the record.
      • deleteRecord

        public void deleteRecord​(int index)
        Delete a record.
        Parameters:
        index - is the record number.