|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--com.klg.jclass.util.calendar.CalendarContainer | +--com.klg.jclass.util.calendar.JCDateChooser | +--com.klg.jclass.util.calendar.DateTimeEditor.DateChooser
The date chooser component.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class com.klg.jclass.util.calendar.JCDateChooser |
boundsValidator, chooserType, componentSpacing, day, days, DUAL_SPIN, month, months, QUICK_SELECT, READ_ONLY, shortMonths, SPIN_POPDOWN, year |
Fields inherited from class com.klg.jclass.util.calendar.CalendarContainer |
actionListeners, initialized, locale, model, specialDates, userFont |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
DateTimeEditor.DateChooser(com.klg.jclass.util.value.JCValueModel current_date,
Locale locale,
int type)
Constructs a localized date chooser of a particular type, set to the given date. |
|
DateTimeEditor.DateChooser(com.klg.jclass.util.value.JCValueModel current_date,
Locale locale,
int type,
String[] months,
String[] shortMonths,
String[] days)
Constructs a localized date chooser of a particular type, set to the given date. |
Method Summary | |
void |
actionPerformed(ActionEvent event)
Method called when the action happens. |
void |
setChooserType(int type)
Sets the date chooser type. |
Methods inherited from class com.klg.jclass.util.calendar.JCDateChooser |
checkMonths, createComponents, forceRelayout, getAbout, getChooserType, getDayComponent, getDays, getMaximumDate, getMinimumDate, getMonthComponent, getMonths, getShortMonths, getValue, getVersion, getYearComponent, setAbout, setCalendarModel, setDays, setEnabled, setMaximumDate, setMinimumDate, setMonths, setShortMonths, setUI, setValue, setVersion |
Methods inherited from class com.klg.jclass.util.calendar.CalendarContainer |
addActionListener, componentAdded, componentRemoved, getCalendarModel, getLocale, getUserFont, removeActionListener, setFont, setLocale, setSpecialDates |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DateTimeEditor.DateChooser(com.klg.jclass.util.value.JCValueModel current_date, Locale locale, int type)
current_date
- The calendar value model which stores the datelocale
- The locale to usetype
- The type of chooser; must be one of
JCDateChooser.QUICK_SELECT
,
JCDateChooser.DUAL_SPIN
, or
JCDateChooser.READ_ONLY
. The chooser cannot be of
type JCDateChooser.SPIN_POPDOWN
because we cannot have
a popdown within a popdown.public DateTimeEditor.DateChooser(com.klg.jclass.util.value.JCValueModel current_date, Locale locale, int type, String[] months, String[] shortMonths, String[] days)
current_date
- The calendar value model which stores the datelocale
- The locale to usetype
- The type of chooser; must be one of
JCDateChooser.QUICK_SELECT
,
JCDateChooser.DUAL_SPIN
, or
JCDateChooser.READ_ONLY
. The chooser cannot be of
type JCDateChooser.SPIN_POPDOWN
because we cannot have
a popdown within a popdown.months
- A list of month names to use (null means use locale
specific names)shortMonths
- A list of short month names to use (null means use
locale specific names)days
- A list of day names to use (null means use locale specific
names)Method Detail |
public void setChooserType(int type)
setChooserType
in class JCDateChooser
type
- The type of chooser; must be one of
JCDateChooser.QUICK_SELECT
,
JCDateChooser.DUAL_SPIN,
, or
JCDateChooser.READ_ONLY
. The chooser cannot be of
type JCDateChooser.SPIN_POPDOWN
because we cannot have
a popdown within a popdown.public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
actionPerformed
in class CalendarContainer
event
- The event generated by the action
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |