public class FlexDateField extends FlexComboBase
ユーザーがこのコントロールの境界ボックス内をクリックすると、DateChooser コントロールがポップアップし、現在の日付の月に含まれる日が一覧表示されます。 日が選択されない場合、このテキスト フィールドは空になり、DateChooser コントロールには現在の日付の月が表示されます。
修飾子 | コンストラクタと説明 |
---|---|
protected |
FlexDateField(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexDateField を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
change(Date newDate)
日付が選択または変更され、DateChooser コントロールが閉じられたときにディスパッチされます。
|
List<String> |
getDisabledDays()
[読み取り専用] 無効にする曜日。
|
List<String> |
getDisabledRanges()
[読み取り専用] 無効にされた 1 日または複数の日。
|
int |
getDisplayedMonth()
[読み取り専用] DateChooser コントロールに表示される月。
|
int |
getDisplayedYear()
[読み取り専用] DateChooser コントロールに表示される年。
|
int |
getFirstDayOfWeek()
[読み取り専用] DateChooser コントロールの最初の列に表示する曜日(0-6、ここで 0 は dayNames 配列の最初の要素)。
|
List<Color> |
getHeaderColors()
[読み取り専用] DateChooser コントロールの上部にある帯状の領域の色。
|
int |
getMaxYear()
[読み取り専用] コントロール内で選択可能な最後の年。
|
int |
getMinYear()
[読み取り専用] コントロール内で選択可能な最初の年。
|
Color |
getRollOverColor()
[読み取り専用] DateChooser コントロール内の日付にマウス ポインターを合わせたときの日付のハイライト領域の色。
|
Date |
getSelectedDate()
[読み取り専用] DateChooser コントロールで選択された日付。
|
Color |
getTodayColor()
[読み取り専用] DateChooser コントロールで今日の日付のハイライトの色。
|
boolean |
isShowToday()
[読み取り専用] DateChooser コントロールにハイライトされる日。
|
boolean |
isYearNavigationEnabled()
[読み取り専用] 年のナビゲーション用上下ボタンが利用可能かどうか。
|
void |
scrollDate(FlexDateScrollDetail detail)
DateChooserEvent.SCROLL 定数は、scrollevent イベントのイベント オブジェクトの type プロパティの値を定義します。
|
close, close, getBackgroundAlpha, getBackgroundColor, getBackgroundImage, getBackgroundSize, getColor, getDisabledColor, getFillAlphas, getFillColors, getFontFamily, getFontSize, getFontStyle, getFontWeight, getHighlightColor, getRestrict, getSelectedIndex, getText, getTextAlign, getTextDecoration, getTextIndent, input, isDropShadowEnabled, isEditable, open, open, scroll, selectText, type, type
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, 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 FlexDateField(JtfObjectHandle handle, Desktop desktop)
handle
- FlexDateField を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void change(Date newDate)
newDate
- コントロールで選択された日付public void scrollDate(FlexDateScrollDetail detail)
detail
- スクロールの方向public int getDisplayedMonth()
public int getDisplayedYear()
public int getFirstDayOfWeek()
public List<Color> getHeaderColors()
非推奨 3.0。 dateChooserStyleName を推奨
public int getMaxYear()
public int getMinYear()
public Color getRollOverColor()
public Date getSelectedDate()
public boolean isShowToday()
true の場合、DataChooser コントロールで今日がハイライトされていることを示します。 このプロパティを設定すると、DateChooser コントロールの表示が直ちに変わります。 デフォルト値は true です。
public Color getTodayColor()
public boolean isYearNavigationEnabled()
true である場合、表示された年の右側に上下のボタンが表示されます。 これらのボタンを使用して、現在の年を変更できます。 これらのボタンは、年を月の前に置く日付形式を使用するロケールでは、年の左側に表示されます。 デフォルト値は false です。
Copyright 2009-2012 Micro Focus. All Rights Reserved.