Interface ICalendarItem

All Superinterfaces:
Comparable<ICalendarItem>
All Known Implementing Classes:
AbstractCalendarItem, CalendarItemCentury, CalendarItemDay, CalendarItemMonth, CalendarItemWeek, CalendarItemYear

public interface ICalendarItem extends Comparable<ICalendarItem>

ICalendarItem interface.

  • Method Details

    • getName

      String getName()

      getName.

      Returns:
      a String object.
    • getValue

      int getValue()

      getValue.

      Returns:
      a int.
    • getHits

      int getHits()

      getHits.

      Returns:
      a int.
    • setHits

      void setHits(int hits)

      setHits.

      Parameters:
      hits - a int.
    • isSelected

      boolean isSelected()

      isSelected.

      Returns:
      a boolean.
    • setSelected

      void setSelected(boolean selected)

      setSelected.

      Parameters:
      selected - a boolean.
    • compareTo

      default int compareTo(ICalendarItem other)
      Specified by:
      compareTo in interface Comparable<ICalendarItem>