public class WPFToolkitCalendar extends WPFControl
| Modifier | Constructor and Description |
|---|---|
protected |
WPFToolkitCalendar(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFToolkitCalendar with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
List<Date> |
getBlackoutDates()
Gets a list of dates that are marked as not selectable.
|
Date |
getDisplayDate()
Gets the date to display.
|
Date |
getDisplayDateEnd()
Gets the last date in the date range that is available in the calendar.
|
Date |
getDisplayDateStart()
Gets the first date that is available in the calendar.
|
CalendarMode |
getDisplayMode()
Gets a value that indicates whether the calendar displays a month, year, or decade.
|
CalendarDayOfWeek |
getFirstDayOfWeek()
Gets the day that is considered the beginning of the week.
|
Date |
getSelectedDate()
Gets the currently selected date.
|
List<Date> |
getSelectedDates()
Gets a list of selected dates.
|
CalendarSelectionMode |
getSelectionMode()
Gets a value that indicates what kind of selections are allowed.
|
boolean |
isTodayHighlighted()
Gets a value that indicates whether the current date is highlighted.
|
void |
selectDate(Date dateToSelect)
Selects the given date and clears the current selection.
|
void |
selectDates(List<Date> dates)
Selects the given dates and clears the current selection.
|
void |
selectRange(Date startDate,
Date endDate)
Selects a range of dates.
|
void |
selectRange(Date startDate,
Date endDate,
boolean extend)
Selects a range of dates.
|
void |
setDisplayDate(Date dateToDisplay)
Sets the date to display.
|
getFontFamily, getFontSize, getTabIndex, isTabStopgetActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPositionbringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForPropertyequals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toStringprotected WPFToolkitCalendar(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the WPFToolkitCalendardesktop - the desktop on which this object livespublic void selectDate(Date dateToSelect)
dateToSelect - the date to selectpublic void selectDates(List<Date> dates)
dates - the dates to selectpublic void selectRange(Date startDate, Date endDate)
startDate - the start date of the selectionendDate - the end date of the selectionpublic void selectRange(Date startDate, Date endDate, boolean extend)
startDate - the start date of the selectionendDate - the end date of the selectionextend - whether to extend the currently present selectionpublic void setDisplayDate(Date dateToDisplay)
dateToDisplay - the date to setpublic List<Date> getBlackoutDates()
public Date getDisplayDate()
public Date getDisplayDateEnd()
public Date getDisplayDateStart()
public CalendarMode getDisplayMode()
public CalendarDayOfWeek getFirstDayOfWeek()
public boolean isTodayHighlighted()
public Date getSelectedDate()
public CalendarSelectionMode getSelectionMode()
Copyright 2009-2012 Micro Focus. All Rights Reserved.