public class BasicCalendarHeaderHandler extends CalendarHeaderHandler
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BasicCalendarHeaderHandler.BasicCalendarHeader
Active header for a JXMonthView in zoomable mode.
|
protected static class |
BasicCalendarHeaderHandler.ZoomOutAction
Quick fix for Issue #1046-swingx: header text not updated if zoomable.
|
monthDownImage, monthUpImage, monthView, uiControllerID
Constructor and Description |
---|
BasicCalendarHeaderHandler() |
Modifier and Type | Method and Description |
---|---|
protected BasicCalendarHeaderHandler.BasicCalendarHeader |
createCalendarHeader()
Creates and returns the component used as header in a zoomable monthView.
|
BasicCalendarHeaderHandler.BasicCalendarHeader |
getHeaderComponent()
Returns a component to be used as header in a zoomable month view,
guaranteed to be not null.
|
void |
install(JXMonthView monthView)
Installs this handler to the given month view.
|
protected void |
installNavigationActions()
Installs and configures navigational actions.
|
void |
uninstall(JXMonthView monthView)
Uninstalls this handler from the given target month view.
|
componentOrientationChanged, createDerivedFont, fontChanged, installListeners, monthStringBackgroundChanged, uninstallListeners
public BasicCalendarHeaderHandler()
public void install(JXMonthView monthView)
CalendarHeaderHandler
install
in class CalendarHeaderHandler
monthView
- the target month view to install to.protected void installNavigationActions()
CalendarHeaderHandler
This implementation creates and installs wrappers around the scrollToPrevious/-NextMonth actions installed by the ui and configures them with the appropriate next/previous icons.
installNavigationActions
in class CalendarHeaderHandler
public void uninstall(JXMonthView monthView)
CalendarHeaderHandler
uninstall
in class CalendarHeaderHandler
monthView
- the target month view to install from.public BasicCalendarHeaderHandler.BasicCalendarHeader getHeaderComponent()
CalendarHeaderHandler
getHeaderComponent
in class CalendarHeaderHandler
protected BasicCalendarHeaderHandler.BasicCalendarHeader createCalendarHeader()
CalendarHeaderHandler
createCalendarHeader
in class CalendarHeaderHandler
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses