Class SelectPropertyEditor
java.lang.Object
org.iplass.mtp.view.generic.editor.PropertyEditor
org.iplass.mtp.view.generic.editor.PrimitivePropertyEditor
org.iplass.mtp.view.generic.editor.SelectPropertyEditor
- All Implemented Interfaces:
Serializable,org.iplass.adminconsole.view.annotation.Refrectable,LabelablePropertyEditor
public class SelectPropertyEditor
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 TypeMethodDescriptionvoidaddValue(EditorValue val) セレクトボックスの値を追加します。初期値を取得します。表示タイプを取得します。セレクトボックスの値を取得します。booleanisHide()非表示かを取得します。boolean表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。booleanisLabel()表示タイプがLabel形式かを返します。booleanCSV出力時に選択肢順でソートするかを取得します。boolean表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。voidsetDefaultValue(String defaultValue) 初期値を設定します。voidsetDisplayType(SelectPropertyEditor.SelectDisplayType displayType) 表示タイプを取得します。voidsetInsertWithLabelValue(boolean insertWithLabelValue) Label形式の場合の登録制御を設定します。voidsetSortCsvOutputValue(boolean sortCsvOutputValue) CSV出力時に選択肢順でソートするかを設定します。voidsetUpdateWithLabelValue(boolean updateWithLabelValue) Label形式の場合の更新制御を設定します。voidsetValues(List<EditorValue> values) セレクトボックスの値を設定します。Methods inherited from class org.iplass.mtp.view.generic.editor.PropertyEditor
getCustomStyle, getInputCustomStyle, getInputCustomStyleScriptKey, getOutputCustomStyleScriptKey, getPropertyName, setCustomStyle, setInputCustomStyle, setInputCustomStyleScriptKey, setOutputCustomStyleScriptKey, setPropertyName
-
Constructor Details
-
SelectPropertyEditor
public SelectPropertyEditor()デフォルトコンストラクタ
-
-
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:非表示
-
getValues
セレクトボックスの値を取得します。- Returns:
- セレクトボックスの値
-
setValues
セレクトボックスの値を設定します。- Parameters:
values- セレクトボックスの値
-
addValue
セレクトボックスの値を追加します。- Parameters:
val- セレクトボックスの値
-
getValue
-
isSortCsvOutputValue
public boolean isSortCsvOutputValue()CSV出力時に選択肢順でソートするかを取得します。- Returns:
- true:CSV出力時に選択肢順でソート
-
setSortCsvOutputValue
public void setSortCsvOutputValue(boolean sortCsvOutputValue) CSV出力時に選択肢順でソートするかを設定します。- Parameters:
sortCsvOutputValue- true:CSV出力時に選択肢順でソート
-
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- 初期値
-