Package org.jdesktop.swingx.plaf.basic
Class BasicCalendarHeaderHandler
java.lang.Object
org.jdesktop.swingx.plaf.basic.CalendarHeaderHandler
org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler
Custom implementation of a CalendarHeaderHandler in preparation of a vista-style
calendar. Does nothing yet.
- Author:
- Jeanette Winzenburg
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classQuick fix for Issue #1046-swingx: header text not updated if zoomable. -
Field Summary
Fields inherited from class org.jdesktop.swingx.plaf.basic.CalendarHeaderHandler
monthDown, monthUp, monthView, uiControllerID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates and returns the component used as header in a zoomable monthView.Returns a component to be used as header in a zoomable month view, guaranteed to be not null.voidinstall(JXMonthView monthView) Installs this handler to the given month view.protected voidInstalls and configures navigational actions.voiduninstall(JXMonthView monthView) Uninstalls this handler from the given target month view.Methods inherited from class org.jdesktop.swingx.plaf.basic.CalendarHeaderHandler
componentOrientationChanged, createDerivedFont, fontChanged, installListeners, monthStringBackgroundChanged, uninstallListeners
-
Constructor Details
-
BasicCalendarHeaderHandler
public BasicCalendarHeaderHandler()
-
-
Method Details
-
install
Description copied from class:CalendarHeaderHandlerInstalls this handler to the given month view.- Overrides:
installin classCalendarHeaderHandler- Parameters:
monthView- the target month view to install to.
-
uninstall
Description copied from class:CalendarHeaderHandlerUninstalls this handler from the given target month view.- Overrides:
uninstallin classCalendarHeaderHandler- Parameters:
monthView- the target month view to install from.
-
getHeaderComponent
public org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler.BasicCalendarHeader getHeaderComponent()Description copied from class:CalendarHeaderHandlerReturns a component to be used as header in a zoomable month view, guaranteed to be not null.- Overrides:
getHeaderComponentin classCalendarHeaderHandler- Returns:
- a component to be used as header in a zoomable JXMonthView
-
createCalendarHeader
protected org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler.BasicCalendarHeader createCalendarHeader()Description copied from class:CalendarHeaderHandlerCreates and returns the component used as header in a zoomable monthView.- Specified by:
createCalendarHeaderin classCalendarHeaderHandler- Returns:
- the component used as header in a zoomable monthView, guaranteed to be not null.
-