public class MonthCalendar extends Control
Modifier | Constructor and Description |
---|---|
protected |
MonthCalendar(JtfObjectHandle handle,
Desktop desktop)
Creates a new MonthCalendar with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
extendSelect(Date selectedDate)
Selects a range of dates and times.
|
void |
openMonthMenu()
Opens a calendar menu to a specific month.
|
void |
select(Date selectedDate)
Selects a date and time.
|
void |
selectNextMonth(int selectedYear,
int selectedMonth)
Selects the next month.
|
void |
selectPreviousMonth(int selectedYear,
int selectedMonth)
Selects the previous month.
|
void |
selectToday()
Selects the date for today.
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenu
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, 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, waitForProperty
equals, 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, toString
protected MonthCalendar(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the MonthCalendardesktop
- the desktop on which this object livespublic void extendSelect(Date selectedDate)
selectedDate
- the DateTime that you want to selectpublic void openMonthMenu()
public void select(Date selectedDate)
selectedDate
- the date and time to selectpublic void selectNextMonth(int selectedYear, int selectedMonth)
selectedYear
- the year to selectselectedMonth
- the month to selectpublic void selectPreviousMonth(int selectedYear, int selectedMonth)
selectedYear
- the year to selectselectedMonth
- the month to selectpublic void selectToday()
Copyright 2009-2012 Micro Focus. All Rights Reserved.