Java Date Picker v3.2

com.standbysoft.component.date.swing.plaf.basic
Class DefaultMonthViewUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended bycom.standbysoft.component.date.swing.plaf.DateUI
          extended bycom.standbysoft.component.date.swing.plaf.basic.AbstractMonthViewUI
              extended bycom.standbysoft.component.date.swing.plaf.basic.BasicMonthViewUI
                  extended bycom.standbysoft.component.date.swing.plaf.basic.DefaultMonthViewUI

public class DefaultMonthViewUI
extends BasicMonthViewUI

Default implementation for a JMonthView UI delegate. It adds the month scrolling buttons, the today button and the none button.


Nested Class Summary
 
Nested classes inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractMonthViewUI
AbstractMonthViewUI.CalendarLayout
 
Field Summary
 
Fields inherited from class com.standbysoft.component.date.swing.plaf.basic.BasicMonthViewUI
noneMouseListener, todayMouseListener
 
Fields inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractMonthViewUI
month, monthView, nextMonthButton, noneLabel, previousMonthButton, todayLabel
 
Constructor Summary
DefaultMonthViewUI()
           
 
Method Summary
protected  javax.swing.JButton createNextMonthButton()
          Creates the button that navigates to the next month.
protected  javax.swing.JLabel createNoneLabel()
          Creates the component that represents the none label.
protected  javax.swing.JButton createPreviousMonthButton()
          Creates the button that navigates to the previous month.
protected  javax.swing.JLabel createTodayLabel()
          Creates the component that represents the today label.
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
 
Methods inherited from class com.standbysoft.component.date.swing.plaf.basic.BasicMonthViewUI
createDateSelectionListener, createMonth, createNoneMouseListener, createTodayMouseListener, getPreferredSize, installListeners, uninstallListeners, updateDateSelectionModel, updateDisplayToday, updateEmptySelectionAllowed, updateEnabled, updateFont, updateForeground, updateGridColor, updateHorizontalLinesVisible, updateLocale, updateMonthBackground, updateMonthModel, updateRenderer, updateTitleBackground, updateTitleForeground, updateTrailingForeground, updateVerticalLinesVisible, updateWeekNamesVisible, updateWeekNumbersVisible
 
Methods inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractMonthViewUI
createLayout, installComponents, installDefaults, installKeyboardActions, installUI, uninstallComponents, uninstallKeyboardActions, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMonthViewUI

public DefaultMonthViewUI()
Method Detail

createUI

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

createPreviousMonthButton

protected javax.swing.JButton createPreviousMonthButton()
Creates the button that navigates to the previous month. Override it in order to provide your own button.

Overrides:
createPreviousMonthButton in class BasicMonthViewUI
Returns:
the button that navigates to the previous month.

createNextMonthButton

protected javax.swing.JButton createNextMonthButton()
Creates the button that navigates to the next month. Override it in order to provide your own button.

Overrides:
createNextMonthButton in class BasicMonthViewUI
Returns:
the button that navigates to the next month.

createTodayLabel

protected javax.swing.JLabel createTodayLabel()
Creates the component that represents the today label. Override it in order to provide your own today label.

Overrides:
createTodayLabel in class BasicMonthViewUI
Returns:
the component that represents the today label.

createNoneLabel

protected javax.swing.JLabel createNoneLabel()
Creates the component that represents the none label. Override it in order to provide your own none label.

Overrides:
createNoneLabel in class BasicMonthViewUI
Returns:
the component that represents the none label.

Java Date Picker v3.2

Visit www.javadatepicker.com for further information or send us your suggestions.

Copyright © 2003-2004 Stand By Soft Ltd. All Rights Reserved.