Class BasicCalendarHeaderHandler.ZoomOutAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.ItemListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
    Enclosing class:
    BasicCalendarHeaderHandler

    protected static class BasicCalendarHeaderHandler.ZoomOutAction
    extends AbstractHyperlinkAction<JXMonthView>
    Quick fix for Issue #1046-swingx: header text not updated if zoomable.
    See Also:
    Serialized Form
    • Field Detail

      • linkListener

        private java.beans.PropertyChangeListener linkListener
      • monthNames

        private java.lang.String[] monthNames
        Localized month strings used in title.
    • Constructor Detail

      • ZoomOutAction

        public ZoomOutAction()
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
      • updateLocale

        private void updateLocale()
      • uninstallTarget

        protected void uninstallTarget()
        removes the propertyChangeListener.

        Implementation NOTE: this does not clean-up internal state! There is no need to because updateFromTarget handles both null and not-null targets. Hmm...

        Overrides:
        uninstallTarget in class AbstractHyperlinkAction<JXMonthView>
      • updateFromTarget

        protected void updateFromTarget()
      • getTargetListener

        private java.beans.PropertyChangeListener getTargetListener()