Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jdesktop.swingx.plaf.basic
Class BasicCalendarHeaderHandler

    java.lang.Object
      org.jdesktop.swingx.plaf.basic.CalendarHeaderHandler
          org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler

    public class BasicCalendarHeaderHandler

extends CalendarHeaderHandler

Custom implementation of a CalendarHeaderHandler in preparation of a vista-style calendar. Does nothing yet.

Author:
  Jeanette Winzenburg

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

### BasicCalendarHeaderHandler

    public BasicCalendarHeaderHandler()

Method Detail

### install

    public void install(JXMonthView monthView)

  Description copied from class: `CalendarHeaderHandler`
  Installs this handler to the given month view.

  Overrides:
    `install` in class `CalendarHeaderHandler`
  Parameters:
    `monthView` - the target month view to install to.

### installNavigationActions

    protected void installNavigationActions()

  Description copied from class: `CalendarHeaderHandler`
  Installs and configures navigational actions.

  This implementation creates and installs wrappers around the scrollToPrevious/-NextMonth actions installed by the ui and configures them with the appropriate next/previous icons.

  Overrides:
    `installNavigationActions` in class `CalendarHeaderHandler`

### uninstall

    public void uninstall(JXMonthView monthView)

  Description copied from class: `CalendarHeaderHandler`
  Uninstalls this handler from the given target month view.

  Overrides:
    `uninstall` in class `CalendarHeaderHandler`
  Parameters:
    `monthView` - the target month view to install from.

### getHeaderComponent

    public org.jdesktop.swingx.plaf.basic.BasicCalendarHeaderHandler.BasicCalendarHeader getHeaderComponent()

  Description copied from class: `CalendarHeaderHandler`
  Returns a component to be used as header in a zoomable month view, guaranteed to be not null.

  Overrides:
    `getHeaderComponent` in class `CalendarHeaderHandler`
  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: `CalendarHeaderHandler`
  Creates and returns the component used as header in a zoomable monthView.

  Specified by:
    `createCalendarHeader` in class `CalendarHeaderHandler`
  Returns:
    the component used as header in a zoomable monthView, guaranteed to be not null.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010. All Rights Reserved.