com.standbysoft.component.date.swing.plaf.basic
Class AbstractMonthViewUI.CalendarLayout
java.lang.Object
com.standbysoft.component.date.swing.plaf.basic.AbstractMonthViewUI.CalendarLayout
- All Implemented Interfaces:
- java.awt.LayoutManager
- Enclosing class:
- AbstractMonthViewUI
- public static class AbstractMonthViewUI.CalendarLayout
- extends java.lang.Object
- implements java.awt.LayoutManager
This layout manager is used to arrange components of a JMonthView.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREVIOUS_YEAR
public static final java.lang.String PREVIOUS_YEAR
- See Also:
- Constant Field Values
NEXT_YEAR
public static final java.lang.String NEXT_YEAR
- See Also:
- Constant Field Values
PREVIOUS
public static final java.lang.String PREVIOUS
- See Also:
- Constant Field Values
NEXT
public static final java.lang.String NEXT
- See Also:
- Constant Field Values
TODAY
public static final java.lang.String TODAY
- See Also:
- Constant Field Values
NONE
public static final java.lang.String NONE
- See Also:
- Constant Field Values
MONTH
public static final java.lang.String MONTH
- See Also:
- Constant Field Values
nextButton
protected java.awt.Component nextButton
previousButton
protected java.awt.Component previousButton
todayLabel
protected java.awt.Component todayLabel
noneLabel
protected java.awt.Component noneLabel
nextYearButton
protected java.awt.Component nextYearButton
previousYearButton
protected java.awt.Component previousYearButton
months
protected java.util.List months
rows
protected int rows
columns
protected int columns
AbstractMonthViewUI.CalendarLayout
public AbstractMonthViewUI.CalendarLayout()
AbstractMonthViewUI.CalendarLayout
public AbstractMonthViewUI.CalendarLayout(int hgap,
int vgap,
int buttonWidth,
int buttonHeight)
- Parameters:
hgap - horizontal space between the monthsvgap - vertical space between the monthsbuttonWidth - width of the month scrolling buttonsbuttonHeight - height of the month scrolling buttons
setRows
public void setRows(int rows)
setColumns
public void setColumns(int columns)
addLayoutComponent
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
- Specified by:
addLayoutComponent in interface java.awt.LayoutManager
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent in interface java.awt.LayoutManager
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
- Computes the preferred size for a specified component (
JMonthView).
- Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
- Parameters:
parent - specified component for which the preferred size is computed
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Arranges the components of a specified
JMonthView component.
- Specified by:
layoutContainer in interface java.awt.LayoutManager
- Parameters:
parent - specified JMonthView component for which the component
are arranged
layoutNavigationButtonsInContainer
protected void layoutNavigationButtonsInContainer(java.awt.Container parent)
layoutMonthsInContainer
protected void layoutMonthsInContainer(java.awt.Container parent)
layoutNoneAndTodayComponentsInContainer
protected void layoutNoneAndTodayComponentsInContainer(java.awt.Container parent)
Visit www.jdatepicker.com for further information or send us your suggestions.
Copyright © 2003-2007 Stand By Soft Ltd. All Rights Reserved.