public class SLCalendar extends SLBase
修飾子 | コンストラクタと説明 |
---|---|
protected |
SLCalendar(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい SLCalendar を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canSelectMultiple()
[読み取り専用] 複数の日付を選択可能かどうか。
|
SLCalendarMode |
getDisplayMode()
[読み取り専用] カレンダーで月、年、10 年のいずれを表示するかを指定する値。
|
Date |
getSelectedDate()
[読み取り専用] 現在表示されているビューで選択されている日付。
|
List<Date> |
getSelectedDates()
[読み取り専用] 現在表示されているビューで選択されている日付のリスト。
|
List<SLCalendarMode> |
getSupportedDisplayModes()
[読み取り専用] サポートされる表示モードのリスト。
|
boolean |
isSelectionRequired()
[読み取り専用] 少なくとも 1 つの日付を選択しなければならないかどうか。
|
void |
selectDate(Date dateToSelect)
指定した日付を選択します。
|
void |
selectDates(List<Date> dates)
指定した日付を選択します。
|
void |
selectRange(Date startDate,
Date endDate)
日付の範囲を選択します。
|
void |
switchToDecadeView()
カレンダー表示モードを '10 年' に切り替えます (サポートされている場合)。
|
void |
switchToMonthView()
カレンダー表示モードを '月' に切り替えます (サポートされている場合)。
|
void |
switchToYearView()
カレンダー表示モードを '年' に切り替えます (サポートされている場合)。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAutomationId, getClassName, getName, getRawChildren, getRawChildren, isEnabled, isFocused, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, 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, 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 SLCalendar(JtfObjectHandle handle, Desktop desktop)
handle
- SLCalendar を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void selectDate(Date dateToSelect)
dateToSelect
- 選択する日付public void selectDates(List<Date> dates)
このメソッドは、カレンダーが MultipleRange 選択モードをサポートする場合にのみ機能します。
dates
- 選択する日付public void selectRange(Date startDate, Date endDate)
startDate
- 選択範囲の開始日時endDate
- 選択範囲の終了日時public void switchToDecadeView()
public void switchToMonthView()
public void switchToYearView()
public boolean canSelectMultiple()
public SLCalendarMode getDisplayMode()
public boolean isSelectionRequired()
public Date getSelectedDate()
public List<SLCalendarMode> getSupportedDisplayModes()
Copyright 2009-2012 Micro Focus. All Rights Reserved.