|
Java Date Picker v3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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
Implements only what is strictly necessary for a
JMonthView UI delegate. It does
not contain the month scrolling buttons, the today button and the none button.
If you want to create a custom UI delegate for JMonthView, then
the best solution is to extend this class.
DefaultMonthViewUI| Nested Class Summary |
| Nested classes inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractMonthViewUI |
AbstractMonthViewUI.CalendarLayout |
| Field Summary | |
protected java.awt.event.MouseListener |
noneMouseListener
|
protected java.awt.event.MouseListener |
todayMouseListener
|
| Fields inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractMonthViewUI |
month, monthView, nextMonthButton, noneLabel, previousMonthButton, todayLabel |
| Constructor Summary | |
BasicMonthViewUI()
|
|
| Method Summary | |
protected DateSelectionListener |
createDateSelectionListener()
Creates a listener that controls what months get displayed when the date selection changes. |
protected JMonth |
createMonth()
A JMonthView component is (for now) a one month calendar. |
protected javax.swing.JButton |
createNextMonthButton()
Returns null to indicate the absence of the next month button. |
protected javax.swing.JLabel |
createNoneLabel()
Returns null to indicate the absence of the none label. |
protected java.awt.event.MouseListener |
createNoneMouseListener()
Creates a listener that defines what happens when the user clicks on the none button. |
protected javax.swing.JButton |
createPreviousMonthButton()
Returns null to indicate the absence of the previous month button. |
protected javax.swing.JLabel |
createTodayLabel()
Returns null to indicate the absence of the today label. |
protected java.awt.event.MouseListener |
createTodayMouseListener()
Creates a listener that defines what happens when the user clicks on the today button. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
|
protected void |
installListeners()
Installs all useful listeners on the JMonthView component. |
protected void |
uninstallListeners()
Uninstalls all registered listeners. |
protected void |
updateDateSelectionModel()
Updates the selection model for the components of the monthView |
protected void |
updateDisplayToday()
Specifies whether the monthView displays the today button or not. |
protected void |
updateEmptySelectionAllowed()
Specifies whether the monthView displays the none button or not. |
protected void |
updateEnabled()
Updates the enabled state of the children components based on the enabled state of the JMonthView. |
protected void |
updateFont()
Updates the font for the JMonthView components. |
protected void |
updateForeground()
Updates the foreground color of the monthView |
protected void |
updateGridColor()
|
protected void |
updateHorizontalLinesVisible()
|
protected void |
updateLocale()
Updates the locale for the JMonthView components. |
protected void |
updateMonthBackground()
Updates the background color of the monthView |
protected void |
updateMonthModel()
|
protected void |
updateRenderer()
|
protected void |
updateTitleBackground()
Updates the title background color of the monthView |
protected void |
updateTitleForeground()
Updates the title foreground color of the monthView |
protected void |
updateTrailingForeground()
Updates the trailing foreground color of the monthView |
protected void |
updateVerticalLinesVisible()
|
protected void |
updateWeekNamesVisible()
Specifies whether the monthView displays the week names or not. |
protected void |
updateWeekNumbersVisible()
Specifies whether the monthView displays the week numbers or not. |
| 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 |
| Field Detail |
protected java.awt.event.MouseListener todayMouseListener
protected java.awt.event.MouseListener noneMouseListener
| Constructor Detail |
public BasicMonthViewUI()
| Method Detail |
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected javax.swing.JButton createPreviousMonthButton()
null to indicate the absence of the previous month button.
createPreviousMonthButton in class AbstractMonthViewUInull to indicate the absence of the previous month button.protected javax.swing.JButton createNextMonthButton()
null to indicate the absence of the next month button.
createNextMonthButton in class AbstractMonthViewUInull to indicate the absence of the next month button.protected javax.swing.JLabel createTodayLabel()
null to indicate the absence of the today label.
createTodayLabel in class AbstractMonthViewUInull to indicate the absence of the today label.protected javax.swing.JLabel createNoneLabel()
null to indicate the absence of the none label.
createNoneLabel in class AbstractMonthViewUInull to indicate the absence of the none label.protected JMonth createMonth()
JMonthView component is (for now) a one month calendar.
This method creates the component that represents the month.
createMonth in class AbstractMonthViewUIprotected void installListeners()
JMonthView component.
installListeners in class AbstractMonthViewUIprotected DateSelectionListener createDateSelectionListener()
protected java.awt.event.MouseListener createTodayMouseListener()
protected java.awt.event.MouseListener createNoneMouseListener()
protected void uninstallListeners()
uninstallListeners in class AbstractMonthViewUIpublic java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
protected void updateFont()
AbstractMonthViewUIJMonthView components.
updateFont in class AbstractMonthViewUIprotected void updateLocale()
AbstractMonthViewUIJMonthView components.
updateLocale in class AbstractMonthViewUIprotected void updateEnabled()
AbstractMonthViewUIJMonthView.
updateEnabled in class AbstractMonthViewUIprotected void updateRenderer()
updateRenderer in class AbstractMonthViewUIprotected void updateMonthBackground()
AbstractMonthViewUI
updateMonthBackground in class AbstractMonthViewUIprotected void updateForeground()
AbstractMonthViewUI
updateForeground in class AbstractMonthViewUIprotected void updateTitleBackground()
AbstractMonthViewUI
updateTitleBackground in class AbstractMonthViewUIprotected void updateTitleForeground()
AbstractMonthViewUI
updateTitleForeground in class AbstractMonthViewUIprotected void updateTrailingForeground()
AbstractMonthViewUI
updateTrailingForeground in class AbstractMonthViewUIprotected void updateGridColor()
updateGridColor in class AbstractMonthViewUIprotected void updateWeekNumbersVisible()
AbstractMonthViewUI
updateWeekNumbersVisible in class AbstractMonthViewUIprotected void updateWeekNamesVisible()
AbstractMonthViewUI
updateWeekNamesVisible in class AbstractMonthViewUIprotected void updateHorizontalLinesVisible()
updateHorizontalLinesVisible in class AbstractMonthViewUIprotected void updateVerticalLinesVisible()
updateVerticalLinesVisible in class AbstractMonthViewUIprotected void updateDisplayToday()
AbstractMonthViewUI
updateDisplayToday in class AbstractMonthViewUIprotected void updateEmptySelectionAllowed()
AbstractMonthViewUI
updateEmptySelectionAllowed in class AbstractMonthViewUIprotected void updateDateSelectionModel()
AbstractMonthViewUI
updateDateSelectionModel in class AbstractMonthViewUIprotected void updateMonthModel()
updateMonthModel in class AbstractMonthViewUI
|
Java Date Picker v3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Visit www.javadatepicker.com for further information or send us your suggestions.
Copyright © 2003-2004 Stand By Soft Ltd. All Rights Reserved.