|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.plaf.basic.CalendarHeaderHandler
org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler
public class BasicCalendarHeaderHandler
Custom implementation of a CalendarHeaderHandler in preparation of a vista-style calendar. Does nothing yet.
Nested Class Summary | |
---|---|
protected static class |
BasicCalendarHeaderHandler.ZoomOutAction
Quick fix for Issue #1046-swingx: header text not updated if zoomable. |
Field Summary |
---|
Fields inherited from class org.jdesktop.swingx.plaf.basic.CalendarHeaderHandler |
---|
monthDownImage, monthUpImage, monthView, uiControllerID |
Constructor Summary | |
---|---|
BasicCalendarHeaderHandler()
|
Method Summary | |
---|---|
protected org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler.BasicCalendarHeader |
createCalendarHeader()
Creates and returns the component used as header in a zoomable monthView. |
org.jdesktop.swingx.plaf.basic.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. |
Methods inherited from class org.jdesktop.swingx.plaf.basic.CalendarHeaderHandler |
---|
componentOrientationChanged, createDerivedFont, fontChanged, installListeners, monthStringBackgroundChanged, uninstallListeners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicCalendarHeaderHandler()
Method Detail |
---|
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 org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler.BasicCalendarHeader getHeaderComponent()
CalendarHeaderHandler
getHeaderComponent
in class CalendarHeaderHandler
protected org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler.BasicCalendarHeader createCalendarHeader()
CalendarHeaderHandler
createCalendarHeader
in class CalendarHeaderHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |