Class StringPropertyEditor
java.lang.Object
org.iplass.mtp.view.generic.editor.PropertyEditor
org.iplass.mtp.view.generic.editor.PrimitivePropertyEditor
org.iplass.mtp.view.generic.editor.StringPropertyEditor
- All Implemented Interfaces:
java.io.Serializable,org.iplass.adminconsole.view.annotation.Refrectable,LabelablePropertyEditor
- Direct Known Subclasses:
LongTextPropertyEditor
public class StringPropertyEditor extends PrimitivePropertyEditor implements LabelablePropertyEditor
文字列型プロパティエディタ
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringPropertyEditor.StringDisplayType表示タイプ -
Field Summary
-
Constructor Summary
Constructors Constructor Description StringPropertyEditor()コンストラクタ -
Method Summary
Modifier and Type Method Description voidaddValue(EditorValue val)選択値を追加します。java.lang.StringgetDefaultValue()初期値を取得します。StringPropertyEditor.StringDisplayTypegetDisplayType()表示タイプを取得します。intgetMaxlength()最大文字数を取得します。java.lang.StringgetRichtextEditorOption()リッチテキストエディタオプションを取得します。java.util.List<EditorValue>getValues()選択値を取得します。booleanisAllowedContent()RichText表示タグ許可を設定します。booleanisHide()非表示かを取得します。booleanisHideRichtextEditorToolBar()RickTextで表示モードの場合、ツールバーなどを表示しないかを取得します。booleanisInsertWithLabelValue()表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。booleanisLabel()表示タイプがLabel形式かを返します。booleanisSearchExactMatchCondition()検索条件完全一致を設定します。booleanisUpdateWithLabelValue()表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。voidsetAllowedContent(boolean allowedContent)RichText表示タグ許可設定を取得します。voidsetDefaultValue(java.lang.String defaultValue)初期値を設定します。voidsetDisplayType(StringPropertyEditor.StringDisplayType displayType)表示タイプを取得しますvoidsetHideRichtextEditorToolBar(boolean hideRichtextEditorToolBar)RickTextで表示モードの場合、ツールバーなどを表示しないかを設定します。voidsetInsertWithLabelValue(boolean insertWithLabelValue)Label形式の場合の登録制御を設定します。voidsetMaxlength(int maxlength)最大文字数を設定します。voidsetRichtextEditorOption(java.lang.String richtextEditorOption)リッチテキストエディタオプションを設定します。voidsetSearchExactMatchCondition(boolean searchExactMatchCondition)検索条件完全一致設定を取得します。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
-
StringPropertyEditor
public StringPropertyEditor()コンストラクタ
-
-
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:非表示
-
getMaxlength
public int getMaxlength()最大文字数を取得します。- Returns:
- 最大文字数
-
setMaxlength
public void setMaxlength(int maxlength)最大文字数を設定します。- Parameters:
maxlength- 最大文字数
-
getValues
選択値を取得します。- Returns:
- 選択値
-
setValues
選択値を設定します。- Parameters:
values- 選択値
-
addValue
選択値を追加します。- Parameters:
val- 選択値
-
isSearchExactMatchCondition
public boolean isSearchExactMatchCondition()検索条件完全一致を設定します。- Returns:
- searchExactMatchCondition 検索条件完全一致設定
-
setSearchExactMatchCondition
public void setSearchExactMatchCondition(boolean searchExactMatchCondition)検索条件完全一致設定を取得します。- Parameters:
\u691c\u7d22\u6761\u4ef6\u5b8c\u5168\u4e00\u81f4\u8a2d\u5b9a-
-
isAllowedContent
public boolean isAllowedContent()RichText表示タグ許可を設定します。- Returns:
- allowedContent RichText表示タグ許可設定
-
setAllowedContent
public void setAllowedContent(boolean allowedContent)RichText表示タグ許可設定を取得します。- Parameters:
RichText\u8868\u793a\u30bf\u30b0\u8a31\u53ef\u8a2d\u5b9a-
-
isHideRichtextEditorToolBar
public boolean isHideRichtextEditorToolBar()RickTextで表示モードの場合、ツールバーなどを表示しないかを取得します。- Returns:
- RickTextで表示モードの場合、ツールバーなどを表示しないか
-
setHideRichtextEditorToolBar
public void setHideRichtextEditorToolBar(boolean hideRichtextEditorToolBar)RickTextで表示モードの場合、ツールバーなどを表示しないかを設定します。- Parameters:
hideRichtextEditorToolBar- RickTextで表示モードの場合、ツールバーなどを表示しないか
-
getRichtextEditorOption
public java.lang.String getRichtextEditorOption()リッチテキストエディタオプションを取得します。- Returns:
- リッチテキストエディタオプション
-
setRichtextEditorOption
public void setRichtextEditorOption(java.lang.String richtextEditorOption)リッチテキストエディタオプションを設定します。- Parameters:
richtextEditorOption- リッチテキストエディタオプション
-
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- 初期値
-