|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for writing calendar popup editors.
Method Summary | |
void |
addPopupListener(com.klg.jclass.util.swing.JCPopupListener l)
Add a JCPopupListener to the popup to inform when the value in the popup component has been committed. |
void |
firePopupEvent()
Fire a popup event to all listeners. |
JComponent |
getEditorComponent()
Returns the component in the popup calendar editor. |
boolean |
getHidePopupOnDayTableClick()
Get whether the popup will popdown when the user selects a day on the day table. |
boolean |
getShowApplyButton()
Get whether an apply button be shown in the popup. |
boolean |
getShowTimeComponent()
Gets whether the time component should appear or not. |
void |
removePopupListener(com.klg.jclass.util.swing.JCPopupListener l)
Removes a JCPopupListener. |
void |
setFont(Font f)
Sets the Font of the popup. |
void |
setHidePopupOnDayTableClick(boolean hidePopupOnDayTableClick)
Set whether the popup will popdown when the user selects a day on the day table. |
void |
setLocale(Locale locale)
Sets the locale being used by the popup. |
void |
setMaximumDate(Object maxDate)
Sets the maximum date. |
void |
setMinimumDate(Object minDate)
Sets the minimum date. |
void |
setShowApplyButton(boolean showApplyButton)
Set whether an apply button be shown in the popup. |
void |
setShowTimeComponent(boolean showTimeComponent)
Sets whether the time component should appear or not. |
void |
setValue(Object value)
Sets the value in the popup editor. |
Method Detail |
public JComponent getEditorComponent()
public void addPopupListener(com.klg.jclass.util.swing.JCPopupListener l)
l
- The popup listener to addpublic void removePopupListener(com.klg.jclass.util.swing.JCPopupListener l)
l
- The popup listener to removepublic void firePopupEvent()
public void setValue(Object value)
value
- The value to set on the popup editor. This value can be of
type Calendar or Date.public void setMinimumDate(Object minDate)
minDate
- The new minimum date. This value can be of type Calendar or
Date.public void setMaximumDate(Object maxDate)
maxDate
- The new maximum date. This value can be of type Calendar or
Date.public void setLocale(Locale locale)
locale
- The new locale to be usedpublic void setFont(Font f)
Font
of the popup. This font gets propagated to the
child components.
f
- The new Font
for the popup.public boolean getShowTimeComponent()
public void setShowTimeComponent(boolean showTimeComponent)
showTimeComponent
- If true, the time component will appear.public boolean getShowApplyButton()
public void setShowApplyButton(boolean showApplyButton)
showApplyButton
- If true, an apply button is shown in the popup.public boolean getHidePopupOnDayTableClick()
public void setHidePopupOnDayTableClick(boolean hidePopupOnDayTableClick)
hidePopupOnDayTableClick
- If true, the popup will popdown when the
user selects a day on the day table.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |