Class BinaryPropertyEditor
java.lang.Object
org.iplass.mtp.view.generic.editor.PropertyEditor
org.iplass.mtp.view.generic.editor.PrimitivePropertyEditor
org.iplass.mtp.view.generic.editor.BinaryPropertyEditor
- All Implemented Interfaces:
java.io.Serializable,org.iplass.adminconsole.view.annotation.Refrectable,LabelablePropertyEditor
public class BinaryPropertyEditor extends PrimitivePropertyEditor implements LabelablePropertyEditor
バイナリ型プロパティエディタ
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBinaryPropertyEditor.BinaryDisplayType表示タイプ -
Field Summary
-
Constructor Summary
Constructors Constructor Description BinaryPropertyEditor()コンストラクタ -
Method Summary
Modifier and Type Method Description java.lang.StringgetDefaultValue()初期値を取得します。BinaryPropertyEditor.BinaryDisplayTypegetDisplayType()表示タイプを取得します。java.lang.StringgetDownloadActionName()ダウンロードアクション名を取得します。intgetHeight()画像の高さを取得します。java.lang.StringgetUploadActionName()アップロードアクション名を取得します。intgetWidth()画像の幅を取得します。booleanisHide()非表示かを取得します。booleanisHideDeleteButton()削除ボタン非表示設定を取得しますbooleanisHideSelectButton()ファイル選択ボタン非表示設定を取得しますbooleanisInsertWithLabelValue()表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。booleanisLabel()表示タイプがLabel形式かを返します。booleanisOpenNewTab()新しいタブで開くかを取得します。booleanisShowImageRotateButton()画像表示時に回転ボタンを表示を取得します。booleanisUpdateWithLabelValue()表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。booleanisUseImageViewer()画像表示時にイメージViewerを利用を取得します。booleanisUsePdfjs()PDF表示時にPDF.jsを利用を取得します。voidsetDefaultValue(java.lang.String defaultValue)初期値を設定します。voidsetDisplayType(BinaryPropertyEditor.BinaryDisplayType displayType)表示タイプを設定します。voidsetDownloadActionName(java.lang.String downloadActionName)ダウンロードアクション名を設定します。voidsetHeight(int height)画像の高さを設定します。voidsetHideDeleteButton(boolean hideDeleteButton)削除ボタン非表示設定を設定しますvoidsetHideSelectButton(boolean hideSelectButton)ファイル選択ボタン非表示設定を設定しますvoidsetInsertWithLabelValue(boolean insertWithLabelValue)Label形式の場合の登録制御を設定します。voidsetOpenNewTab(boolean openNewTab)新しいタブで開くかを設定します。voidsetShowImageRotateButton(boolean showImageRotateButton)画像表示時に回転ボタンを表示を設定します。voidsetUpdateWithLabelValue(boolean updateWithLabelValue)Label形式の場合の更新制御を設定します。voidsetUploadActionName(java.lang.String uploadActionName)アップロードアクション名を設定します。voidsetUseImageViewer(boolean useImageViewer)画像表示時にイメージViewerを利用を設定します。voidsetUsePdfjs(boolean usePdfjs)PDF表示時にPDF.jsを利用を設定します。voidsetWidth(int width)画像の幅を設定します。Methods inherited from class org.iplass.mtp.view.generic.editor.PropertyEditor
getCustomStyle, getInputCustomStyle, getInputCustomStyleScriptKey, getOutputCustomStyleScriptKey, getPropertyName, setCustomStyle, setInputCustomStyle, setInputCustomStyleScriptKey, setOutputCustomStyleScriptKey, setPropertyName
-
Constructor Details
-
BinaryPropertyEditor
public BinaryPropertyEditor()コンストラクタ
-
-
Method Details
-
getHeight
public int getHeight()画像の高さを取得します。- Returns:
- 画像の高さ
-
setHeight
public void setHeight(int height)画像の高さを設定します。- Parameters:
height- 画像の高さ
-
getWidth
public int getWidth()画像の幅を取得します。- Returns:
- 画像の幅
-
setWidth
public void setWidth(int width)画像の幅を設定します。- Parameters:
width- 画像の幅
-
getUploadActionName
public java.lang.String getUploadActionName()アップロードアクション名を取得します。- Returns:
- アップロードアクション名
-
setUploadActionName
public void setUploadActionName(java.lang.String uploadActionName)アップロードアクション名を設定します。- Parameters:
uploadActionName- アップロードアクション名
-
getDownloadActionName
public java.lang.String getDownloadActionName()ダウンロードアクション名を取得します。- Returns:
- ダウンロードアクション名
-
setDownloadActionName
public void setDownloadActionName(java.lang.String downloadActionName)ダウンロードアクション名を設定します。- Parameters:
downloadActionName- ダウンロードアクション名
-
isOpenNewTab
public boolean isOpenNewTab()新しいタブで開くかを取得します。- Returns:
- 新しいタブで開くか
-
setOpenNewTab
public void setOpenNewTab(boolean openNewTab)新しいタブで開くかを設定します。- Parameters:
openNewTab- 新しいタブで開くか
-
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:非表示
-
isShowImageRotateButton
public boolean isShowImageRotateButton()画像表示時に回転ボタンを表示を取得します。- Returns:
- 画像表示時に回転ボタンを表示
-
setShowImageRotateButton
public void setShowImageRotateButton(boolean showImageRotateButton)画像表示時に回転ボタンを表示を設定します。- Parameters:
showImageRotateButton- 画像表示時に回転ボタンを表示
-
isUseImageViewer
public boolean isUseImageViewer()画像表示時にイメージViewerを利用を取得します。- Returns:
- 画像表示時にイメージViewerを利用
-
setUseImageViewer
public void setUseImageViewer(boolean useImageViewer)画像表示時にイメージViewerを利用を設定します。- Parameters:
useImageViewer- 画像表示時にイメージViewerを利用
-
isUsePdfjs
public boolean isUsePdfjs()PDF表示時にPDF.jsを利用を取得します。- Returns:
- PDF表示時にPDF.jsを利用
-
setUsePdfjs
public void setUsePdfjs(boolean usePdfjs)PDF表示時にPDF.jsを利用を設定します。- Parameters:
usePdfjs- PDF表示時にPDF.jsを利用
-
isHideSelectButton
public boolean isHideSelectButton()ファイル選択ボタン非表示設定を取得します- Returns:
- ファイル選択ボタン非表示設定
-
setHideSelectButton
public void setHideSelectButton(boolean hideSelectButton)ファイル選択ボタン非表示設定を設定します- Parameters:
\u30d5\u30a1\u30a4\u30eb\u9078\u629e\u30dc\u30bf\u30f3\u975e\u8868\u793a\u8a2d\u5b9a-
-
isHideDeleteButton
public boolean isHideDeleteButton()削除ボタン非表示設定を取得します- Returns:
- ファイル選択ボタン非表示設定
-
setHideDeleteButton
public void setHideDeleteButton(boolean hideDeleteButton)削除ボタン非表示設定を設定します- Parameters:
\u30d5\u30a1\u30a4\u30eb\u9078\u629e\u30dc\u30bf\u30f3\u975e\u8868\u793a\u8a2d\u5b9a-
-
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- 初期値
-