|
JDatePicker v4.3 | |||||||||
| 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.AbstractMonthUI
com.standbysoft.component.date.swing.plaf.basic.BasicMonthUI
Implements only what is strictly necessary for a JMonth UI
delegate. Although it creates the body component that shows the calendar month,
its title does not display any information about it.
If you want to create a custom UI delegate for JMonth, then
the best solution is to extend this class.
DefaultMonthUI| Field Summary | |
protected javax.swing.JComponent |
titleMonth
Title component that is used to display/select the month. |
protected javax.swing.JComponent |
titleYear
Title component that is used to display/select the year. |
| Fields inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractMonthUI |
body, month, title |
| Constructor Summary | |
BasicMonthUI()
|
|
| Method Summary | |
protected javax.swing.JComponent |
createBody()
Creates the component that displays the actual date of the month. |
protected javax.swing.JComponent |
createTitle()
Creates a panel with two components ( month
and year) to represent the current month. |
protected java.awt.LayoutManager |
createTitleLayout()
Creates a LayoutManager that manages the title,
children of JMonth. |
protected javax.swing.JComponent |
createTitleMonth()
Returns null because the title month section is not mandatory. |
protected javax.swing.JComponent |
createTitleYear()
Returns null because the title year section is not mandatory. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates a new instance of this class. |
protected void |
installListeners()
Attaches listeners to the JMonth component. |
protected void |
uninstallComponents()
Uninstalls all registered components. |
protected void |
uninstallListeners()
Detaches listeners from the JMonth component. |
protected void |
updateDatesOrientation()
Updates the settings when the orientation of the dates changes. |
protected void |
updateEnabled()
Updates the enabled state of the children components based on the enabled state of the JMonth. |
protected void |
updateFont()
Updates the font for the JMonth components. |
protected void |
updateForeground()
Updates the foreground color for the dates. |
protected void |
updateGridColor()
Updates the month grid. |
protected void |
updateHorizontalLinesVisible()
Updates the visibility of the horizontal lines. |
protected void |
updateLocale()
Updates the locale for the month components. |
protected void |
updateMonthBackground()
Updates the background color for the month. |
protected void |
updateMonthModel()
Updates the settings when the month model changes. |
protected void |
updateTimeZone()
Updates the settings when the time zone changes. |
protected void |
updateTitle()
Does nothing because this implementation does not have a title. |
protected void |
updateTitleBackground()
Updates the color for the title background. |
protected void |
updateTitleForeground()
Updates the color for the title foreground. |
protected void |
updateTrailingForeground()
Updates the foreground color for the trailing dates. |
protected void |
updateVerticalLinesVisible()
Updates the visibility of the vertical lines. |
protected void |
updateWeekModel()
Updates the settings when the week model changes. |
protected void |
updateWeekNamesVisible()
Updates the visibility of the week days names. |
protected void |
updateWeekNumbersVisible()
Specifies whether the month displays the week numbers or not. |
| Methods inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractMonthUI |
createDefaults, createLayout, initializeDefaults, installComponents, installDefaults, installKeyboardActions, installUI, uninstallKeyboardActions, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.swing.JComponent titleMonth
createTitleMonth()protected javax.swing.JComponent titleYear
createTitleYear()| Constructor Detail |
public BasicMonthUI()
| Method Detail |
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected javax.swing.JComponent createTitle()
month
and year) to represent the current month. The
components are arranged using a certain layout.
createTitle in class AbstractMonthUIcreateTitleLayout(),
createTitleMonth(),
createTitleYear()protected java.awt.LayoutManager createTitleLayout()
LayoutManager that manages the title,
children of JMonth. These children must be added with a
constraint that identifies their role: "TitleMonth", "TitleYear", "TitleLeft"
and "TitleRight". The default layout manager can handle the absence of any
of these children.
createTitle()protected javax.swing.JComponent createTitleYear()
null because the title year section is not mandatory.
null because the title year section is not mandatory.createTitle()protected javax.swing.JComponent createTitleMonth()
null because the title month section is not mandatory.
null because the title month section is not mandatory.createTitle()protected javax.swing.JComponent createBody()
createBody in class AbstractMonthUIJMonth status information.protected void installListeners()
installListeners in class AbstractMonthUIprotected void uninstallComponents()
uninstallComponents in class AbstractMonthUIAbstractMonthUI.uninstallUI(JComponent)protected void uninstallListeners()
uninstallListeners in class AbstractMonthUIprotected void updateHorizontalLinesVisible()
AbstractMonthUI
updateHorizontalLinesVisible in class AbstractMonthUIprotected void updateVerticalLinesVisible()
AbstractMonthUI
updateVerticalLinesVisible in class AbstractMonthUIprotected void updateGridColor()
AbstractMonthUI
updateGridColor in class AbstractMonthUIprotected void updateWeekNumbersVisible()
updateWeekNumbersVisible in class AbstractMonthUIprotected void updateWeekNamesVisible()
AbstractMonthUI
updateWeekNamesVisible in class AbstractMonthUIprotected void updateTitle()
updateTitle in class AbstractMonthUIprotected void updateTitleForeground()
AbstractMonthUI
updateTitleForeground in class AbstractMonthUIprotected void updateTitleBackground()
AbstractMonthUI
updateTitleBackground in class AbstractMonthUIprotected void updateLocale()
updateLocale in class AbstractMonthUIprotected void updateFont()
AbstractMonthUIJMonth components.
updateFont in class AbstractMonthUIprotected void updateMonthModel()
AbstractMonthUI
updateMonthModel in class AbstractMonthUIprotected void updateWeekModel()
AbstractMonthUI
updateWeekModel in class AbstractMonthUIprotected void updateTimeZone()
AbstractMonthUI
updateTimeZone in class AbstractMonthUIprotected void updateMonthBackground()
AbstractMonthUI
updateMonthBackground in class AbstractMonthUIprotected void updateTrailingForeground()
AbstractMonthUI
updateTrailingForeground in class AbstractMonthUIprotected void updateForeground()
AbstractMonthUI
updateForeground in class AbstractMonthUIprotected void updateEnabled()
AbstractMonthUIJMonth.
updateEnabled in class AbstractMonthUIprotected void updateDatesOrientation()
AbstractMonthUI
updateDatesOrientation in class AbstractMonthUI
|
JDatePicker v4.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Visit www.jdatepicker.com for further information or send us your suggestions.
Copyright © 2003-2007 Stand By Soft Ltd. All Rights Reserved.