Class DatePanel.InternalView

    • Constructor Detail

      • InternalView

        public InternalView()
    • Method Detail

      • updateShowYearButtons

        protected void updateShowYearButtons()
        Update the scroll buttons UI.
      • updateMonthLabel

        protected void updateMonthLabel()
        Update the UI of the monthLabel
      • initialise

        protected void initialise()
        Initialise the control.
      • getNorthPanel

        protected JPanel getNorthPanel()
        This method initializes northPanel
        Returns:
        javax.swing.JPanel
      • getNorthCenterPanel

        protected JPanel getNorthCenterPanel()
        This method initializes northCenterPanel
        Returns:
        javax.swing.JPanel
      • getMonthLabel

        protected JLabel getMonthLabel()
        This method initializes monthLabel
        Returns:
        javax.swing.JLabel
      • getYearSpinner

        protected JSpinner getYearSpinner()
        This method initializes yearSpinner
        Returns:
        javax.swing.JSpinner
      • getSouthPanel

        protected JPanel getSouthPanel()
        This method initializes southPanel
        Returns:
        javax.swing.JPanel
      • getTodayLabel

        protected JLabel getTodayLabel()
        This method initializes todayLabel
        Returns:
        javax.swing.JLabel
      • getCenterPanel

        protected JPanel getCenterPanel()
        This method initializes centerPanel
        Returns:
        javax.swing.JPanel
      • getDayTable

        protected JTable getDayTable()
        This method initializes dayTable
        Returns:
        javax.swing.JTable
      • getDayTableHeader

        protected JTableHeader getDayTableHeader()
      • getPreviousButtonPanel

        protected JPanel getPreviousButtonPanel()
        This method initializes previousButtonPanel
        Returns:
        javax.swing.JPanel
      • getNextButtonPanel

        protected JPanel getNextButtonPanel()
        This method initializes nextButtonPanel
        Returns:
        javax.swing.JPanel
      • getNextMonthButton

        protected BaseButton getNextMonthButton()
        This method initializes nextMonthButton
        Returns:
        adams.gui.core.BaseButton
      • getNextYearButton

        protected BaseButton getNextYearButton()
        This method initializes nextYearButton
        Returns:
        adams.gui.core.BaseButton
      • getPreviousMonthButton

        protected BaseButton getPreviousMonthButton()
        This method initializes previousMonthButton
        Returns:
        adams.gui.core.BaseButton
      • getPreviousYearButton

        protected BaseButton getPreviousYearButton()
        This method initializes previousMonthButton
        Returns:
        adams.gui.core.BaseButton
      • getMonthPopupMenu

        protected JPopupMenu getMonthPopupMenu()
        This method initializes monthPopupMenu
        Returns:
        javax.swing.JPopupMenu
      • getMonthPopupMenuItems

        protected JMenuItem[] getMonthPopupMenuItems()
      • setEnabled

        public void setEnabled​(boolean b)
        Sets the enabled state of the panel.
        Overrides:
        setEnabled in class JComponent
        Parameters:
        b - if true then the panel gets enabled