Package org.jdesktop.swingx.plaf.basic
Class BasicCalendarHeaderHandler.ZoomOutAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jdesktop.swingx.action.AbstractActionExt
-
- org.jdesktop.swingx.hyperlink.AbstractHyperlinkAction<JXMonthView>
-
- org.jdesktop.swingx.plaf.basic.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 Summary
-
Fields inherited from class org.jdesktop.swingx.hyperlink.AbstractHyperlinkAction
target, VISITED_KEY
-
Fields inherited from class org.jdesktop.swingx.action.AbstractActionExt
GROUP, IS_STATE, LARGE_ICON
-
-
Constructor Summary
Constructors Constructor Description ZoomOutAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)protected voidinstallTarget()installs a propertyChangeListener on the target and updates the visual properties from the target.protected voiduninstallTarget()removes the propertyChangeListener.protected voidupdateFromTarget()-
Methods inherited from class org.jdesktop.swingx.hyperlink.AbstractHyperlinkAction
getTarget, isVisited, itemStateChanged, setStateAction, setTarget, setVisited
-
Methods inherited from class org.jdesktop.swingx.action.AbstractActionExt
dispose, getAccelerator, getActionCommand, getGroup, getLargeIcon, getLongDescription, getMnemonic, getName, getShortDescription, getSmallIcon, isSelected, isStateAction, setAccelerator, setActionCommand, setGroup, setLargeIcon, setLongDescription, setMnemonic, setMnemonic, setName, setSelected, setShortDescription, setSmallIcon, setStateAction, toString
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
installTarget
protected void installTarget()
installs a propertyChangeListener on the target and updates the visual properties from the target.- Overrides:
installTargetin classAbstractHyperlinkAction<JXMonthView>
-
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:
uninstallTargetin classAbstractHyperlinkAction<JXMonthView>
-
updateFromTarget
protected void updateFromTarget()
-
-