Class DateTimePanel

    • Field Detail

      • m_PanelDate

        protected DatePanel m_PanelDate
        the date panel.
      • m_PanelTime

        protected TimePanel m_PanelTime
        the time panel.
    • Constructor Detail

      • DateTimePanel

        public DateTimePanel()
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • finishInit

        protected void finishInit()
        Sets the current time.
        Overrides:
        finishInit in class BasePanel
      • setDate

        public void setDate​(Date value)
        Sets the current date.
        Specified by:
        setDate in interface DateProvider
        Parameters:
        value - the date to use
      • getDate

        public Date getDate()
        Returns the current date.
        Specified by:
        getDate in interface DateProvider
        Returns:
        the date in use
      • setEnabled

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