public interface Calendar extends WrappedResource, ComData, OcxMouse, OcxDragDrop, CommonWidget, CustomFont, Enabled, WidgetExtension
Modifier and Type | Method and Description |
---|---|
integer |
getCalendarBackColor()
Returns the background color used to display the month portion of the dropdown calendar.
|
integer |
getCalendarForeColor()
Returns the foreground color used to display text in the month portion of the dropdown calendar.
|
integer |
getCalendarTitleBackColor()
Returns the background color used to display the title portion of the dropdown calendar.
|
integer |
getCalendarTitleForeColor()
Returns the foreground color used to display the title portion of the dropdown calendar.
|
integer |
getCalendarTrailingForeColor()
Returns the foreground color used to display the days at the beginning and end of
the dropdown calendar that are from previous and following months.
|
character |
getCalendarValue()
Returns the current date time value as a character value.
|
character |
getCustomFormat()
Returns the custom format string used to format the date and/or time displayed
in the control.
|
integer |
getDay()
Returns the day number [1-31] for the current date.
|
integer |
getDayOfWeek()
Returns the day of the week [0-6] for the current date.
|
integer |
getFormatStyle()
Determines whether dates and times are displayed using standard or custom formatting.
|
integer |
getHour()
Returns the hour number [0-23] for the current time.
|
date |
getMaxDate()
Returns the latest date that can be displayed or accepted by the control.
|
date |
getMinDate()
Returns the earliest date that can be displayed or accepted by the control.
|
integer |
getMinute()
Returns the minute number [0-59] for the current time.
|
integer |
getMonth()
Returns the month number [1-12] for the current date.
|
integer |
getSecond()
Returns the second number [0-59] for the current time.
|
integer |
getYear()
Returns the year for the current date.
|
logical |
isCheckBox()
Returns whether the control displays a checkbox to the left of the date.
|
logical |
isUpDown()
Returns a value that determines whether an updown (spin) button is used to modify dates
instead of a dropdown calendar.
|
void |
setCalendarBackColor(integer calendarBackColor)
Sets the background color used to display the month portion of the dropdown calendar.
|
void |
setCalendarForeColor(integer calendarForeColor)
Sets the foreground color used to display text in the month portion of the dropdown calendar.
|
void |
setCalendarTitleBackColor(integer titleBackColor)
Sets the background color used to display the title portion of the dropdown calendar.
|
void |
setCalendarTitleForeColor(integer titleForeColor)
Sets the foreground color used to display the title portion of the dropdown calendar.
|
void |
setCalendarTrailingForeColor(integer trailingForeColor)
Sets the foreground color used to display the days at the beginning and end of the dropdown
calendar that are from previous and following months.
|
void |
setCalendarValue(character value)
Sets the current date and time value as a character value.
|
void |
setCalendarValue(date value)
Sets the current date value.
|
void |
setCalendarValue(datetime value)
Sets the current date and time value.
|
void |
setCalendarValue(java.lang.String value)
Sets the current date and time value representing by a string.
|
void |
setCheckBox(logical enabledCheckBox)
Sets whether the control displays a checkbox to the left of the date.
|
void |
setCustomFormat(character customFormat)
Sets the custom format string used to format the date and/or time displayed in the control.
|
void |
setCustomFormat(java.lang.String customFormat)
Sets the custom format string used to format the date and/or time displayed in the control.
|
void |
setDay(integer day)
Sets the day number [1-31] for the current date.
|
void |
setDayOfWeek(integer dayOfWeek)
Sets the day of the week [0-6] for the current date.
|
void |
setFormatStyle(integer formatStyle)
Determines whether dates and times are displayed using standard or custom formatting.
|
void |
setHour(integer hour)
Sets the hour number [0-23] for the current time.
|
void |
setMaxDate(date dateMaxDate)
Sets the latest date that can be displayed or accepted by the control.
|
void |
setMinDate(date dateMinDate)
Sets the earliest date that can be displayed or accepted by the control.
|
void |
setMinute(integer minute)
Sets the minute number [0-59] for the current time.
|
void |
setMonth(integer month)
Sets the month number [1-12] for the current date.
|
void |
setSecond(integer second)
Sets the second number [0-59] for the current time.
|
void |
setUpDown(logical upDown)
Sets a value that determines whether an updown (spin) buttons are used to modify dates
instead of a dropdown calendar.
|
void |
setYear(integer year)
Sets the year for the current date.
|
getComData, setComData
getMouseButton, getMouseShift, getMouseX, getMouseY
getAllowedEffects, getDataFormat, getEffect, getOleDragMode, getOleDropMode, getOleX, getOleY, getState, isDefaultCursors, oleDrag, setAllowedEffects, setDataFormat, setDefaultCursors, setEffect, setOleDragMode, setOleDropMode, setOleX, setOleY, setState
apply, apply, apply, apply, asWidgetHandle, colorDisplay, colorPrompt, deselectRows, disable, editUndo, enable, getBgColor, getBgColorRgb, getColumnFont, getContextHelpId, getCursorOffset, getDColor, getFgColor, getFgColorRgb, getFont, getFrame, getFrameColumn, getFrameHandle, getFrameName, getFrameRow, getFrameX, getFrameY, getHWND, getId, getIdEx, getImage, getLabelFont, getLabelStr, getListItems, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNextTabItem, getNumColumns, getNumSelectedRows, getParent, getParentHandle, getPfColor, getPopupMenu, getPreviousTabItem, getQuery, getScreenValue, getSideLabelHandle, getTabPosition, getTitle, getTitleFont, getTooltip, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWindow, hide, hide, inputValue, isAutoCompletion, isAutoResize, isEditCanUndo, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isModified, isMovable, isMultiple, isNotEntered, isResizable, isScrollable, isSelectable, isSelected, isSelected, isSelected, isTabStop, isThreeD, isValidatable, loadMousePointer, loadMousePointer, moveAfterTab, moveAfterTab, moveBeforeTabItem, moveBeforeTabItem, moveToBottom, moveToTop, openPopup, preRealizeCheck, realize, refresh, selectAll, selectFocusedRow, setAtFormatLength, setAutoCompletion, setAutoCompletion, setAutoResize, setAutoResize, setBgColor, setBgColorRgb, setBlank, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setCursorOffset, setCursorOffset, setDColor, setDColor, setDeblank, setDisableAutoZap, setFgColor, setFgColorRgb, setFont, setFont, setFormat, setFrame, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setGroup, setHeader, setHidden, setHidden, setId, setKeepFrameZOrder, setKeepFrameZOrder, setLabelFont, setLabelFont, setListItems, setListItems, setManualHighlight, setManualHighlight, setMaxHeightChars, setMaxWidthChars, setMenuKey, setMenuKey, setMenuMouse, setMenuMouse, setModified, setModified, setMovable, setMovable, setMultiple, setMultiple, setNextTabItem, setNumSelectedRows, setParent, setParentHandle, setParentHandle, setPfColor, setPfColor, setPopupMenu, setPopupMenu, setQuery, setReadOnly, setReadOnly, setResizable, setResizable, setScreenValue, setScreenValue, setScrollable, setScrollable, setSelectable, setSelectable, setSelected, setSelected, setSensitive, setSideLabelHandle, setTabStop, setTabStop, setThreeD, setThreeD, setTitle, setTitle, setTitleFont, setTitleFont, setTooltip, setTooltip, setValidation, setValidation, setVertical, setVirtHeight, setVirtHeightPixels, setVirtWidth, setVirtWidthPixels, setWidgetId, setWidgetId, underline, underline, valid, validateFields, validateFields, validateFields, view
getNextSibling, getPrevSibling, getPrivateData, setPrivateData, setPrivateData
getResourceType, readOnlyError, readOnlyError
id, id, unknown
getColumnLabel, getDataType, getFormat, getHelp, getLabel, setColumnLabel, setColumnLabel, setDataType, setDataType, setFormat, setHelp, setHelp, setLabel, setLabel, setLabel
getDbName, getTable
isDisableRedraw, setDisableRedraw, setDisableRedraw
isVisible, setVisible, setVisible
getHeight, getHeightChars, getHeightPixels, getWidth, getWidthChars, getWidthPixels, setHeight, setHeightChars, setHeightChars, setHeightPixels, setHeightPixels, setWidth, setWidthChars, setWidthChars, setWidthPixels, setWidthPixels
getColumn, getRow, getX, getY, setColumn, setColumn, setRow, setRow, setX, setX, setY, setY
getRetainShape, getStretchToFit, getTransparent, setRetainShape, setRetainShape, setStretchToFit, setStretchToFit, setTransparent, setTransparent
getConvert3D, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, setConvert3D, setConvert3D
getFontInfo, getFontName, getFontSize, isFontBold, isFontItalic, isFontUnderline, setFontBold, setFontItalic, setFontName, setFontSize, setFontUnderline
isEnabled, setEnabled, setEnabled
getMouseIcon, getMousePointerNum, refreshUI, setMouseIcon, setMouseIcon, setMousePointerNum, setMousePointerNum
character getCalendarValue()
void setCalendarValue(date value)
value
- The new current date valuevoid setCalendarValue(datetime value)
value
- The new current date and time valuevoid setCalendarValue(character value)
value
- The new current date and time value as a character valuevoid setCalendarValue(java.lang.String value)
value
- The new current date and time value representing by a stringinteger getFormatStyle()
void setFormatStyle(integer formatStyle)
formatStyle
- The date and time display format style constant.integer getCalendarBackColor()
void setCalendarBackColor(integer calendarBackColor)
calendarBackColor
- The background color for the dropdown calendar given by the BGR encodinginteger getCalendarForeColor()
void setCalendarForeColor(integer calendarForeColor)
calendarForeColor
- The foreground color for the dropdown calendar given by the BGR encodinginteger getCalendarTitleBackColor()
void setCalendarTitleBackColor(integer titleBackColor)
titleBackColor
- The background color for the title portion of the dropdown calendar given by
the BGR encoding.integer getCalendarTitleForeColor()
void setCalendarTitleForeColor(integer titleForeColor)
titleForeColor
- The foreground color for the title portion of the dropdown calendar given by
the BGR encoding.integer getCalendarTrailingForeColor()
void setCalendarTrailingForeColor(integer trailingForeColor)
trailingForeColor
- The foreground color for the previous and following months of
the dropdown calendar given by the BGR encoding.logical isCheckBox()
void setCheckBox(logical enabledCheckBox)
enabledCheckBox
- The logical value indicating a checkbox is displayed or not.character getCustomFormat()
void setCustomFormat(character customFormat)
customFormat
- The custom format stringvoid setCustomFormat(java.lang.String customFormat)
customFormat
- The custom format stringinteger getDay()
void setDay(integer day)
day
- The day number for the current dateinteger getDayOfWeek()
void setDayOfWeek(integer dayOfWeek)
dayOfWeek
- The day of the week for the current dateinteger getHour()
void setHour(integer hour)
hour
- The hour number for the current timedate getMaxDate()
void setMaxDate(date dateMaxDate)
dateMaxDate
- The new latest datedate getMinDate()
void setMinDate(date dateMinDate)
dateMinDate
- The new earliest dateinteger getMinute()
void setMinute(integer minute)
minute
- The minute number for the current timeinteger getMonth()
void setMonth(integer month)
month
- The month number for the current dateinteger getSecond()
void setSecond(integer second)
second
- The second number for the current timelogical isUpDown()
void setUpDown(logical upDown)
upDown
- The logical value indicating if the up and down buttons are used to modify datesinteger getYear()
void setYear(integer year)
year
- The year for the current date