Class DateTimePropertyEditor
java.lang.Object
org.iplass.mtp.view.generic.editor.PropertyEditor
org.iplass.mtp.view.generic.editor.PrimitivePropertyEditor
org.iplass.mtp.view.generic.editor.DateTimePropertyEditor
- All Implemented Interfaces:
java.io.Serializable,org.iplass.adminconsole.view.annotation.Refrectable,LabelablePropertyEditor
- Direct Known Subclasses:
DatePropertyEditor,TimePropertyEditor,TimestampPropertyEditor
public abstract class DateTimePropertyEditor extends PrimitivePropertyEditor implements LabelablePropertyEditor
日付・時間型プロパティエディタのスーパークラス
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDateTimePropertyEditor.DateTimeDisplayType表示タイプstatic classDateTimePropertyEditor.MinIntereval分の表示間隔static classDateTimePropertyEditor.TimeDispRange時間の表示範囲 -
Field Summary
-
Constructor Summary
Constructors Constructor Description DateTimePropertyEditor() -
Method Summary
Modifier and Type Method Description DateTimeFormatSettinggetDatetimeFormat()日付/時刻のフォーマット設定を取得します。DateTimePropertyEditor.DateTimeDisplayTypegetDisplayType()表示タイプを取得します。java.util.List<LocalizedDateTimeFormatSetting>getLocalizedDatetimeFormatList()日付/時刻のフォーマットの多言語設定情報を取得します。booleanisHide()非表示かを取得します。booleanisHideSearchConditionFrom()検索条件From非表示設定を取得します。booleanisHideSearchConditionTo()検索条件To非表示設定を取得します。booleanisInsertWithLabelValue()表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。booleanisLabel()表示タイプがLabel形式かを返します。booleanisSingleDayCondition()検索条件の単一日指定を取得します。booleanisUpdateWithLabelValue()表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。voidsetDatetimeFormat(DateTimeFormatSetting datetimeFormat)日付/時刻のフォーマット設定を取得します。voidsetDisplayType(DateTimePropertyEditor.DateTimeDisplayType displayType)表示タイプを設定します。voidsetHideSearchConditionFrom(boolean hideSearchConditionFrom)検索条件From非表示設定を設定します。voidsetHideSearchConditionTo(boolean hideSearchConditionTo)検索条件To非表示設定を設定します。voidsetInsertWithLabelValue(boolean insertWithLabelValue)Label形式の場合の登録制御を設定します。voidsetLocalizedDatetimeFormatList(java.util.List<LocalizedDateTimeFormatSetting> localizedDatetimeFormatList)日付/時刻のフォーマットの多言語設定情報を取得します。voidsetSingleDayCondition(boolean singleDayCondition)検索条件の単一日指定を設定しますvoidsetUpdateWithLabelValue(boolean updateWithLabelValue)Label形式の場合の更新制御を設定します。Methods inherited from class org.iplass.mtp.view.generic.editor.PrimitivePropertyEditor
getDefaultValue, setDefaultValueMethods inherited from class org.iplass.mtp.view.generic.editor.PropertyEditor
getCustomStyle, getInputCustomStyle, getInputCustomStyleScriptKey, getOutputCustomStyleScriptKey, getPropertyName, setCustomStyle, setInputCustomStyle, setInputCustomStyleScriptKey, setOutputCustomStyleScriptKey, setPropertyName
-
Constructor Details
-
DateTimePropertyEditor
public DateTimePropertyEditor()
-
-
Method Details
-
setDisplayType
表示タイプを設定します。- Parameters:
displayType- 表示タイプ
-
getDisplayType
表示タイプを取得します。- Specified by:
getDisplayTypein classPropertyEditor- Returns:
- 表示タイプ
-
getDatetimeFormat
日付/時刻のフォーマット設定を取得します。- Returns:
- datetimeFormat フォーマット設定
-
setDatetimeFormat
日付/時刻のフォーマット設定を取得します。 -
getLocalizedDatetimeFormatList
日付/時刻のフォーマットの多言語設定情報を取得します。- Returns:
- localizedDatetimeFormatList フォーマットの多言語設定情報
-
setLocalizedDatetimeFormatList
public void setLocalizedDatetimeFormatList(java.util.List<LocalizedDateTimeFormatSetting> localizedDatetimeFormatList)日付/時刻のフォーマットの多言語設定情報を取得します。 -
isHide
public boolean isHide()Description copied from class:PropertyEditor非表示かを取得します。- Specified by:
isHidein classPropertyEditor- Returns:
- true:非表示
-
isSingleDayCondition
public boolean isSingleDayCondition()検索条件の単一日指定を取得します。- Returns:
- 検索条件の単一日指定
-
setSingleDayCondition
public void setSingleDayCondition(boolean singleDayCondition)検索条件の単一日指定を設定します- Parameters:
singleDayCondition- 検索条件の単一日指定
-
isHideSearchConditionFrom
public boolean isHideSearchConditionFrom()検索条件From非表示設定を取得します。- Returns:
- 検索条件From非表示設定
-
setHideSearchConditionFrom
public void setHideSearchConditionFrom(boolean hideSearchConditionFrom)検索条件From非表示設定を設定します。- Parameters:
hideSearchConditionFrom- 検索条件From非表示設定
-
isHideSearchConditionTo
public boolean isHideSearchConditionTo()検索条件To非表示設定を取得します。- Returns:
- 検索条件To非表示設定
-
setHideSearchConditionTo
public void setHideSearchConditionTo(boolean hideSearchConditionTo)検索条件To非表示設定を設定します。- Parameters:
hideSearchConditionTo- 検索条件To非表示設定
-
isLabel
public boolean isLabel()Description copied from interface:LabelablePropertyEditor表示タイプがLabel形式かを返します。- Specified by:
isLabelin interfaceLabelablePropertyEditor- Returns:
- true:Label形式
-
isInsertWithLabelValue
public boolean isInsertWithLabelValue()Description copied from interface:LabelablePropertyEditor表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。- Specified by:
isInsertWithLabelValuein interfaceLabelablePropertyEditor- Returns:
- true:登録対象
-
setInsertWithLabelValue
public void setInsertWithLabelValue(boolean insertWithLabelValue)Label形式の場合の登録制御を設定します。- Parameters:
insertWithLabelValue- Label形式の場合の登録制御
-
isUpdateWithLabelValue
public boolean isUpdateWithLabelValue()Description copied from interface:LabelablePropertyEditor表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。- Specified by:
isUpdateWithLabelValuein interfaceLabelablePropertyEditor- Returns:
- true:更新対象
-
setUpdateWithLabelValue
public void setUpdateWithLabelValue(boolean updateWithLabelValue)Label形式の場合の更新制御を設定します。- Parameters:
updateWithLabelValue- Label形式の場合の更新制御
-