All Implemented Interfaces:
DynamicPropertyProvider, LocaleListener, MutableDynamicPropertyProvider, StyleProvider, ComponentLifecycle, DesignerInitializable, QualityMonitor, VisionComponent, ActionListener, MouseListener, MouseMotionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

See Also:
  • Field Details

    • todayDate

      public Date todayDate
  • Constructor Details

    • PMIDayView

      public PMIDayView()
  • Method Details

    • isFocusable

      public boolean isFocusable()
      Overrides:
      isFocusable in class Component
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Listens to the "todayTimer"
      Specified by:
      actionPerformed in interface ActionListener
    • getEvents

      public Dataset getEvents()
    • setEvents

      public void setEvents(Dataset events)
    • isAutoZoom

      public boolean isAutoZoom()
    • setAutoZoom

      public void setAutoZoom(boolean autoZoom)
    • getAutoZoomStartHour

      public int getAutoZoomStartHour()
    • setAutoZoomStartHour

      public void setAutoZoomStartHour(int autoZoomStartHour)
    • getAutoZoomEndHour

      public int getAutoZoomEndHour()
    • setAutoZoomEndHour

      public void setAutoZoomEndHour(int autoZoomEndHour)
    • getWorkingStartHour

      public int getWorkingStartHour()
    • setWorkingStartHour

      public void setWorkingStartHour(int workingStartHour)
    • getWorkingEndHour

      public int getWorkingEndHour()
    • setWorkingEndHour

      public void setWorkingEndHour(int workingEndHour)
    • getGridMarks

      public int getGridMarks()
    • setGridMarks

      public void setGridMarks(int gridMarks)
    • getDay

      public int getDay()
    • setDay

      public void setDay(int day)
    • getMonth

      public int getMonth()
    • setMonth

      public void setMonth(int month)
    • getYear

      public int getYear()
    • setYear

      public void setYear(int year)
    • getHoveredTime

      public String getHoveredTime()
    • setHoveredTime

      public void setHoveredTime(String hoveredTime)
    • setHoveredTimeOnly

      public void setHoveredTimeOnly(String hoveredTime)
    • getSelectedEvent

      public int getSelectedEvent()
    • setSelectedEventOnly

      public void setSelectedEventOnly(int selectedEvent)
    • setSelectedEvent

      public void setSelectedEvent(int selectedEvent)
    • getHoveredEvent

      public int getHoveredEvent()
    • setHoveredEvent

      public void setHoveredEvent(int hoveredEvent)
    • setHoveredEventOnly

      public void setHoveredEventOnly(int hoveredEvent)
    • getCurrentEvent

      public EventBox getCurrentEvent()
    • setCurrentEvent

      public void setCurrentEvent(EventBox currentEvent)
    • setEventFont

      public void setEventFont(Font eventFont)
    • getEventFont

      public Font getEventFont()
    • setHourFont

      public void setHourFont(Font hourFont)
    • getHourFont

      public Font getHourFont()
    • getWeekdayFont

      public Font getWeekdayFont()
    • setWeekdayFont

      public void setWeekdayFont(Font weekdayFont)
    • getWeekDaysForeground

      public Color getWeekDaysForeground()
    • setWeekDaysForeground

      public void setWeekDaysForeground(Color weekDaysForeground)
    • getWeekDaysBackground

      public Color getWeekDaysBackground()
    • setWeekDaysBackground

      public void setWeekDaysBackground(Color weekDaysBackground)
    • getBoxOutline

      public Color getBoxOutline()
    • setBoxOutline

      public void setBoxOutline(Color boxOutline)
    • getCalendarBackground

      public Color getCalendarBackground()
    • setCalendarBackground

      public void setCalendarBackground(Color calendarBackground)
    • getTodayBackground

      public Color getTodayBackground()
    • setTodayBackground

      public void setTodayBackground(Color todayBackground)
    • getHoverBackground

      public Color getHoverBackground()
    • setHoverBackground

      public void setHoverBackground(Color hoverBackground)
    • getHourForeground

      public Color getHourForeground()
    • setHourForeground

      public void setHourForeground(Color hourForeground)
    • getNonWorkingHourBackground

      public Color getNonWorkingHourBackground()
    • setNonWorkingHourBackground

      public void setNonWorkingHourBackground(Color nonWorkingHourBackground)
    • isTwentyFourHour

      public boolean isTwentyFourHour()
    • setTwentyFourHour

      public void setTwentyFourHour(boolean twentyFourHour)
    • getNoon

      protected String getNoon()
    • mouseDragged

      public void mouseDragged(MouseEvent e)
      Specified by:
      mouseDragged in interface MouseMotionListener
    • mouseMoved

      public void mouseMoved(MouseEvent e)
      Specified by:
      mouseMoved in interface MouseMotionListener
    • mouseClicked

      public void mouseClicked(MouseEvent e)
      Specified by:
      mouseClicked in interface MouseListener
    • mouseEntered

      public void mouseEntered(MouseEvent e)
      Specified by:
      mouseEntered in interface MouseListener
    • mouseExited

      public void mouseExited(MouseEvent e)
      Specified by:
      mouseExited in interface MouseListener
    • mousePressed

      public void mousePressed(MouseEvent e)
      Specified by:
      mousePressed in interface MouseListener
    • mouseReleased

      public void mouseReleased(MouseEvent e)
      Specified by:
      mouseReleased in interface MouseListener
    • paintComponent

      protected void paintComponent(Graphics graphics)
      Overrides:
      paintComponent in class AbstractVisionPanel
    • paintWeekDays

      protected void paintWeekDays(Graphics2D g, int x, int y, int w, int h)
    • paintChildren

      protected void paintChildren(Graphics g)
      Overrides:
      paintChildren in class AbstractVisionPanel
    • paintCalendar

      protected void paintCalendar(Graphics2D g, int x, int y, int w, int h)
    • getCal

      public Calendar getCal()
    • initialize

      public void initialize()
      Specified by:
      initialize in interface DesignerInitializable
    • onStartup

      protected void onStartup()
      Description copied from class: AbstractVisionPanel
      Subclasses should override this to provide startup logic.
      Overrides:
      onStartup in class AbstractVisionPanel
    • onShutdown

      protected void onShutdown()
      Description copied from class: AbstractVisionPanel
      Subclasses should override this to provide shutdown logic.
      Overrides:
      onShutdown in class AbstractVisionPanel
    • localeChanged

      public void localeChanged(Locale newLocale)
      Specified by:
      localeChanged in interface LocaleListener
      Overrides:
      localeChanged in class AbstractVisionPanel
    • updateDateInfo

      public void updateDateInfo(Locale locale)