|
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
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 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 | |
protected com.klg.jclass.util.JCListenerList |
actionListeners
|
protected boolean |
initialized
|
protected Locale |
locale
|
protected com.klg.jclass.util.value.JCValueModel |
model
|
protected com.klg.jclass.util.calendar.JCCalendar |
specialDates
|
protected Font |
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 | |
CalendarContainer()
|
Method Summary | |
void |
actionPerformed(ActionEvent event)
Method called when the action happens. |
void |
addActionListener(ActionListener l)
Add listener to receive action event when data is changed by the user. |
void |
componentAdded(ContainerEvent e)
Invoked when a component has been added to the container. |
void |
componentRemoved(ContainerEvent e)
Invoked when a component has been removed from the container. |
com.klg.jclass.util.value.JCValueModel |
getCalendarModel()
Return the current value model which contains the date for this calendar container. |
Locale |
getLocale()
Return the locale used |
Font |
getUserFont()
If a font has been set by the user, return it. |
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 |
setFont(Font f)
Sets the Font of the container. |
void |
setLocale(Locale locale)
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 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 |
Field Detail |
protected boolean initialized
protected com.klg.jclass.util.value.JCValueModel model
protected com.klg.jclass.util.calendar.JCCalendar specialDates
protected Locale locale
protected com.klg.jclass.util.JCListenerList actionListeners
protected Font userFont
Constructor Detail |
public CalendarContainer()
Method 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 locale)
setLocale
in interface CalendarComponent
setLocale
in class Component
locale
- The new locale to be usedpublic Locale getLocale()
getLocale
in class Component
public void setFont(Font f)
Font
of the container. This font gets propagated to
the child components of type CalendarComponent
setFont
in class JComponent
f
- the new Font
for the popuppublic Font getUserFont()
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 removedpublic void componentAdded(ContainerEvent e)
componentAdded
in interface ContainerListener
e
- The event generated when the component was addedpublic void componentRemoved(ContainerEvent e)
componentRemoved
in interface ContainerListener
e
- The event generated when the component was removedpublic void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
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 |