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:
java.io.Serializable,org.iplass.adminconsole.view.annotation.Refrectable,LabelablePropertyEditor
public class SelectPropertyEditor extends PrimitivePropertyEditor implements LabelablePropertyEditor
選択型プロパティエディタ
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelectPropertyEditor.SelectDisplayType表示タイプ -
Field Summary
-
Constructor Summary
Constructors Constructor Description SelectPropertyEditor()デフォルトコンストラクタ -
Method Summary
Modifier and Type Method Description voidaddValue(EditorValue val)セレクトボックスの値を追加します。java.lang.StringgetDefaultValue()初期値を取得します。SelectPropertyEditor.SelectDisplayTypegetDisplayType()表示タイプを取得します。EditorValuegetValue(java.lang.String value)java.util.List<EditorValue>getValues()セレクトボックスの値を取得します。booleanisHide()非表示かを取得します。booleanisInsertWithLabelValue()表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。booleanisLabel()表示タイプがLabel形式かを返します。booleanisSortCsvOutputValue()CSV出力時に選択肢順でソートするかを取得します。booleanisUpdateWithLabelValue()表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。voidsetDefaultValue(java.lang.String defaultValue)初期値を設定します。voidsetDisplayType(SelectPropertyEditor.SelectDisplayType displayType)表示タイプを取得します。voidsetInsertWithLabelValue(boolean insertWithLabelValue)Label形式の場合の登録制御を設定します。voidsetSortCsvOutputValue(boolean sortCsvOutputValue)CSV出力時に選択肢順でソートするかを設定します。voidsetUpdateWithLabelValue(boolean updateWithLabelValue)Label形式の場合の更新制御を設定します。voidsetValues(java.util.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
public java.lang.String getDefaultValue()Description copied from class:PrimitivePropertyEditor初期値を取得します。- Specified by:
getDefaultValuein classPrimitivePropertyEditor- Returns:
- 初期値
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)Description copied from class:PrimitivePropertyEditor初期値を設定します。- Specified by:
setDefaultValuein classPrimitivePropertyEditor- Parameters:
defaultValue- 初期値
-