Class DatePanel

    • Constructor Detail

      • DatePanel

        public DatePanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • 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
      • createDefaultDateModel

        protected org.jdatepicker.DateModel<?> createDefaultDateModel()
      • getDefaultStrings

        protected Properties getDefaultStrings()
      • addActionListener

        public void addActionListener​(ActionListener actionListener)
        Specified by:
        addActionListener in interface org.jdatepicker.JDateComponent
      • removeActionListener

        public void removeActionListener​(ActionListener actionListener)
        Specified by:
        removeActionListener in interface org.jdatepicker.JDateComponent
      • fireActionPerformed

        protected void fireActionPerformed()
        Called internally when actionListeners should be notified.
      • setI18nStrings

        public void setI18nStrings​(Properties i18nStrings)
      • getI18nStrings

        public Properties getI18nStrings()
      • setShowYearButtons

        public void setShowYearButtons​(boolean showYearButtons)
        Specified by:
        setShowYearButtons in interface org.jdatepicker.JDatePanel
      • isShowYearButtons

        public boolean isShowYearButtons()
        Specified by:
        isShowYearButtons in interface org.jdatepicker.JDatePanel
      • setDoubleClickAction

        public void setDoubleClickAction​(boolean doubleClickAction)
        Specified by:
        setDoubleClickAction in interface org.jdatepicker.JDatePanel
      • isDoubleClickAction

        public boolean isDoubleClickAction()
        Specified by:
        isDoubleClickAction in interface org.jdatepicker.JDatePanel
      • getModel

        public org.jdatepicker.DateModel<?> getModel()
        Specified by:
        getModel in interface org.jdatepicker.JDateComponent
      • setEnabled

        public void setEnabled​(boolean b)
        Sets the enabled state.
        Overrides:
        setEnabled in class JComponent
        Parameters:
        b - if true then the panel is enabled
      • 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