Class NumberPropertyEditor
java.lang.Object
org.iplass.mtp.view.generic.editor.PropertyEditor
org.iplass.mtp.view.generic.editor.PrimitivePropertyEditor
org.iplass.mtp.view.generic.editor.NumberPropertyEditor
- All Implemented Interfaces:
Serializable,org.iplass.adminconsole.view.annotation.Refrectable,LabelablePropertyEditor
- Direct Known Subclasses:
DecimalPropertyEditor,FloatPropertyEditor,IntegerPropertyEditor
public abstract class NumberPropertyEditor
extends PrimitivePropertyEditor
implements LabelablePropertyEditor
数値型プロパティエディタのスーパークラス
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.iplass.mtp.view.generic.editor.PropertyEditor
propertyName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription初期値を取得します。表示タイプを取得します。int最大文字数を取得します。数値のフォーマットを取得します。booleanisHide()非表示かを取得します。boolean検索条件From非表示設定を取得します。boolean検索条件範囲記号非表示設定を取得します。boolean検索条件To非表示設定を取得します。boolean表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。booleanisLabel()表示タイプがLabel形式かを返します。boolean範囲で検索するかを取得します。boolean表示内容をカンマ表示するかを取得します。boolean表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。voidsetDefaultValue(String defaultValue) 初期値を設定します。voidsetDisplayType(NumberPropertyEditor.NumberDisplayType displayType) 表示タイプを設定します。voidsetHideSearchConditionFrom(boolean hideSearchConditionFrom) 検索条件From非表示設定を設定します。voidsetHideSearchConditionRangeSymbol(boolean hideSearchConditionRangeSymbol) 検索条件範囲記号非表示設定を設定します。voidsetHideSearchConditionTo(boolean hideSearchConditionTo) 検索条件To非表示設定を設定します。voidsetInsertWithLabelValue(boolean insertWithLabelValue) Label形式の場合の登録制御を設定します。voidsetMaxlength(int maxlength) 最大文字数を設定します。voidsetNumberFormat(String numberFormat) 数値のフォーマットを設定します。voidsetSearchInRange(boolean searchInRange) 範囲で検索するかを設定します。voidsetShowComma(boolean showComma) 表示内容をカンマ表示するかを設定します。voidsetUpdateWithLabelValue(boolean updateWithLabelValue) Label形式の場合の更新制御を設定します。Methods inherited from class org.iplass.mtp.view.generic.editor.PropertyEditor
getCustomStyle, getInputCustomStyle, getInputCustomStyleScriptKey, getOutputCustomStyleScriptKey, getPropertyName, setCustomStyle, setInputCustomStyle, setInputCustomStyleScriptKey, setOutputCustomStyleScriptKey, setPropertyName
-
Constructor Details
-
NumberPropertyEditor
public NumberPropertyEditor()
-
-
Method Details
-
getDisplayType
Description copied from class:PropertyEditor表示タイプを取得します。- Specified by:
getDisplayTypein classPropertyEditor- Returns:
- 表示タイプ
-
setDisplayType
表示タイプを設定します。- Parameters:
displayType- 表示タイプ
-
isHide
public boolean isHide()Description copied from class:PropertyEditor非表示かを取得します。- Specified by:
isHidein classPropertyEditor- Returns:
- true:非表示
-
getNumberFormat
数値のフォーマットを取得します。- Returns:
- 数値のフォーマット
-
setNumberFormat
数値のフォーマットを設定します。- Parameters:
numberFormat- 数値のフォーマット
-
isShowComma
public boolean isShowComma()表示内容をカンマ表示するかを取得します。- Returns:
- 表示内容をカンマ表示するか
-
setShowComma
public void setShowComma(boolean showComma) 表示内容をカンマ表示するかを設定します。- Parameters:
showComma- 表示内容をカンマ表示するか
-
isSearchInRange
public boolean isSearchInRange()範囲で検索するかを取得します。- Returns:
- 範囲で検索するか
-
setSearchInRange
public void setSearchInRange(boolean searchInRange) 範囲で検索するかを設定します。- Parameters:
searchInRange- 範囲で検索するか
-
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非表示設定
-
isHideSearchConditionRangeSymbol
public boolean isHideSearchConditionRangeSymbol()検索条件範囲記号非表示設定を取得します。- Returns:
- 検索条件範囲記号非表示設定
-
setHideSearchConditionRangeSymbol
public void setHideSearchConditionRangeSymbol(boolean hideSearchConditionRangeSymbol) 検索条件範囲記号非表示設定を設定します。- Parameters:
hideSearchConditionRangeSymbol- 検索条件範囲記号非表示設定
-
getMaxlength
public int getMaxlength()最大文字数を取得します。- Returns:
- 最大文字数
-
setMaxlength
public void setMaxlength(int maxlength) 最大文字数を設定します。- Parameters:
maxlength- 最大文字数
-
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形式の場合の更新制御
-
getDefaultValue
Description copied from class:PrimitivePropertyEditor初期値を取得します。- Specified by:
getDefaultValuein classPrimitivePropertyEditor- Returns:
- 初期値
-
setDefaultValue
Description copied from class:PrimitivePropertyEditor初期値を設定します。- Specified by:
setDefaultValuein classPrimitivePropertyEditor- Parameters:
defaultValue- 初期値
-