jgnash.ui.components
Class JGMonthViewUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by org.jdesktop.swingx.plaf.MonthViewUI
          extended by org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
              extended by jgnash.ui.components.JGMonthViewUI

public class JGMonthViewUI
extends org.jdesktop.swingx.plaf.basic.BasicMonthViewUI

Extention to the JXMonthView component, so that date from the calendar can be selected by double click.

Version:
$Id$
Author:
Peter Vida

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
org.jdesktop.swingx.plaf.basic.BasicMonthViewUI.RenderingHandler
 
Field Summary
private  java.awt.event.MouseListener mouseListener
           
 
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
calendarGrid, DAY_HEADER_ROW, DAYS_IN_WEEK, FIRST_DAY_COLUMN, FIRST_WEEK_ROW, isLeftToRight, LAST_DAY_COLUMN, LAST_WEEK_ROW, MONTH_DOWN, MONTH_UP, monthDownImage, monthsOfTheYear, monthUpImage, monthView, WEEK_HEADER_COLUMN, WEEKS_IN_MONTH
 
Constructor Summary
JGMonthViewUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
protected  void installListeners()
           
protected  void uninstallListeners()
           
 
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
createCalendarHeaderHandler, createDerivedFont, createLayoutManager, createMouseListener, createMouseMotionListener, createPropertyChangeListener, createRenderingHandler, getCalendar, getCalendar, getCalendarHeaderHandler, getDayAtLocation, getDayBounds, getDayBoundsAtLocation, getDayBoundsInMonth, getDayGridPosition, getDayGridPositionAtLocation, getDayInMonth, getDaySize, getDaysOfTheWeek, getFirstDisplayedDay, getFirstDisplayedMonth, getFirstDisplayedYear, getHeaderFromUIManager, getLastDisplayedDay, getMonth, getMonthAtLocation, getMonthBounds, getMonthBounds, getMonthBoundsAtLocation, getMonthDetailsBoundsAtLocation, getMonthGridPosition, getMonthGridPositionAtLocation, getMonthHeaderBounds, getMonthHeaderBoundsAtLocation, getMonthHeaderHeight, getMonthSize, getRenderingHandler, getSelection, getToday, getTraversableGridPositionAtLocation, getWeeks, installComponents, installDefaults, installDelegate, installKeyboardActions, installRenderingHandler, installUI, isToday, isUIInstallable, isUsingKeyboard, isZoomable, paint, paintBackground, paintDayHeader, paintDayOfMonth, paintDays, paintDaysOfWeekSeparator, paintMonth, paintMonthHeader, paintWeekHeader, paintWeekOfYearSeparator, setCalendarHeaderHandler, setFirstDisplayedDay, setRenderingHandler, setUsingKeyboard, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallRenderingHandler, uninstallUI, update, updateComponentInputMap, updateLocale, updateZoomable
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mouseListener

private java.awt.event.MouseListener mouseListener
Constructor Detail

JGMonthViewUI

public JGMonthViewUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)

installListeners

protected void installListeners()
Overrides:
installListeners in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI

uninstallListeners

protected void uninstallListeners()
Overrides:
uninstallListeners in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI