|
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 | +--com.klg.jclass.util.swing.AbstractSpinBox | +--com.klg.jclass.util.swing.JCSpinNumberBox | +--com.klg.jclass.util.calendar.YearSpin
Container to manage CalendarComponent children. That is, any calls to the calendar component interface methods are automatically passed to any calendar component children
Nested Class Summary |
Nested classes inherited from class com.klg.jclass.util.swing.JCSpinNumberBox |
JCSpinNumberBox.Range |
Nested classes inherited from class com.klg.jclass.util.swing.AbstractSpinBox |
AbstractSpinBox.ArrowButton, AbstractSpinBox.MetalArrowButton, AbstractSpinBox.MetalBorder |
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 | |
protected com.klg.jclass.util.JCListenerList |
actionListeners
|
protected com.klg.jclass.util.value.JCValueModel |
calendarModel
|
protected boolean |
ignoreChange
|
protected com.klg.jclass.util.value.JCValueListener |
l
|
protected Locale |
locale
|
protected com.klg.jclass.util.calendar.JCCalendar |
specialDates
|
Fields inherited from class com.klg.jclass.util.swing.JCSpinNumberBox |
FLOATING_POINT, format, INTEGER, max, min, operation, step |
Fields inherited from class com.klg.jclass.util.swing.AbstractSpinBox |
arrowKeySpinningAllowed, buttonTimer, continuousScroll, currentButton, DECREMENT, downArrow, editable, editor, editorIsValidateRoot, INCREMENT, metalBorder, minimumHeight, NONE, renderer, renderPanel, rl, upArrow, userFont, valueListeners, valueModel |
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 | |
YearSpin(com.klg.jclass.util.value.JCValueModel model,
Locale locale)
Constructs a YearSpin with the given value model and locale. |
Method Summary | |
void |
addActionListener(ActionListener l)
Add listener to receive action event when data is changed by the user |
com.klg.jclass.util.value.JCValueModel |
getCalendarModel()
Get the value model. |
Locale |
getLocale()
Get the locale that is being used. |
void |
removeActionListener(ActionListener l)
Remove listener to receive action event when data is changed by the user |
void |
setCalendarModel(com.klg.jclass.util.value.JCValueModel model)
Set the current date being used by the calendar component |
void |
setLocale(Locale l)
Set the locale being used by the calendar component |
void |
setSpecialDates(com.klg.jclass.util.calendar.JCCalendar special_dates)
Set the special dates being used by the calendar component |
Methods inherited from class com.klg.jclass.util.swing.JCSpinNumberBox |
checkArrowButtons, compare, format, getAbout, getMaximumValue, getMinimumValue, getNumberFormat, getOperation, getSpinStep, getValue, parse, preferredWidthOfView, processValueChanged, setAbout, setNumberFormat, setOperation, setSpinStep, setValue, setValue, setValueRange, setValueRange, spinDown, spinUp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected com.klg.jclass.util.value.JCValueModel calendarModel
protected com.klg.jclass.util.calendar.JCCalendar specialDates
protected Locale locale
protected boolean ignoreChange
protected com.klg.jclass.util.value.JCValueListener l
protected com.klg.jclass.util.JCListenerList actionListeners
Constructor Detail |
public YearSpin(com.klg.jclass.util.value.JCValueModel model, Locale locale)
model
- The new calendar value modellocale
- The locale to useMethod Detail |
public void setCalendarModel(com.klg.jclass.util.value.JCValueModel model)
setCalendarModel
in interface CalendarComponent
model
- The new calendar value modelpublic com.klg.jclass.util.value.JCValueModel getCalendarModel()
public void setSpecialDates(com.klg.jclass.util.calendar.JCCalendar special_dates)
setSpecialDates
in interface CalendarComponent
special_dates
- The new list of special dates stored within a
JCCalendar objectpublic void setLocale(Locale l)
setLocale
in interface CalendarComponent
setLocale
in class AbstractSpinBox
l
- The new locale to be usedpublic Locale getLocale()
getLocale
in class Component
public void addActionListener(ActionListener l)
addActionListener
in interface CalendarComponent
l
- The action listener to be addedpublic void removeActionListener(ActionListener l)
removeActionListener
in interface CalendarComponent
l
- The action listener to be removed
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |