com.standbysoft.component.date.swing.plaf.basic
Class DefaultMonthViewUI
java.lang.Object
javax.swing.plaf.ComponentUI
com.standbysoft.component.date.swing.plaf.DateUI
com.standbysoft.component.date.swing.plaf.basic.AbstractMonthViewUI
com.standbysoft.component.date.swing.plaf.basic.BasicMonthViewUI
com.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.
|
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 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 |
DefaultMonthViewUI
public DefaultMonthViewUI()
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.
Visit www.javadatepicker.com for further information or send us your suggestions.
Copyright © 2003-2004 Stand By Soft Ltd. All Rights Reserved.