public class SWTDateTime extends Control
修飾子 | コンストラクタと説明 |
---|---|
protected |
SWTDateTime(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい SWTDateTime を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
Date |
getCurrentDate()
[読み取り専用] 現在の日付。
|
int |
getDay()
[読み取り専用] 日。
|
int |
getHours()
[読み取り専用] 時。
|
int |
getMinutes()
[読み取り専用] 分。
|
int |
getMonth()
[読み取り専用] 月。
|
int |
getSeconds()
[読み取り専用] 秒。
|
int |
getYear()
[読み取り専用] 年。
|
void |
select(Date selectedDate)
日付および時間を選択します。
|
void |
setCurrentDate(Date currentDate)
[書き込み専用] 現在の日付。
|
void |
setDay(int day)
[書き込み専用] 日。
|
void |
setHours(int hours)
[書き込み専用] 時。
|
void |
setMinutes(int minutes)
[書き込み専用] 分。
|
void |
setMonth(int month)
[書き込み専用] 月。
|
void |
setSeconds(int seconds)
[書き込み専用] 秒。
|
void |
setYear(int year)
[書き込み専用] 年。
|
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 SWTDateTime(JtfObjectHandle handle, Desktop desktop)
handle
- SWTDateTime を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void select(Date selectedDate)
selectedDate
- 選択する日付および時間public Date getCurrentDate()
public void setCurrentDate(Date currentDate)
currentDate
- 現在の日付public int getDay()
public void setDay(int day)
day
- 日public int getHours()
public void setHours(int hours)
hours
- 時public int getMinutes()
public void setMinutes(int minutes)
minutes
- 分public int getMonth()
public void setMonth(int month)
month
- 月public int getSeconds()
public void setSeconds(int seconds)
seconds
- 秒public int getYear()
public void setYear(int year)
year
- 年Copyright 2009-2012 Micro Focus. All Rights Reserved.