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:
Serializable,org.iplass.adminconsole.view.annotation.Refrectable,LabelablePropertyEditor
public class BinaryPropertyEditor
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画像の高さを取得します。アップロード受け入れ可能な MIME Type 正規表現パターンを取得しますアップロードアクション名を取得します。intgetWidth()画像の幅を取得します。booleanisHide()非表示かを取得します。boolean削除ボタン非表示設定を取得しますbooleanファイル選択ボタン非表示設定を取得しますboolean表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。booleanisLabel()表示タイプがLabel形式かを返します。boolean新しいタブで開くかを取得します。boolean画像表示時に回転ボタンを表示を取得します。boolean表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。boolean画像表示時にイメージViewerを利用を取得します。booleanPDF表示時にPDF.jsを利用を取得します。voidsetDefaultValue(String defaultValue) 初期値を設定します。voidsetDisplayType(BinaryPropertyEditor.BinaryDisplayType displayType) 表示タイプを設定します。voidsetDownloadActionName(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形式の場合の更新制御を設定します。voidsetUploadAcceptMimeTypesPattern(String uploadAcceptMimeTypes) アップロード受け入れ可能な MIME Type を設定しますvoidsetUploadActionName(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
アップロードアクション名を取得します。- Returns:
- アップロードアクション名
-
setUploadActionName
アップロードアクション名を設定します。- Parameters:
uploadActionName- アップロードアクション名
-
getDownloadActionName
ダウンロードアクション名を取得します。- Returns:
- ダウンロードアクション名
-
setDownloadActionName
ダウンロードアクション名を設定します。- 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:
ファイル選択ボタン非表示設定-
-
isHideDeleteButton
public boolean isHideDeleteButton()削除ボタン非表示設定を取得します- Returns:
- ファイル選択ボタン非表示設定
-
setHideDeleteButton
public void setHideDeleteButton(boolean hideDeleteButton) 削除ボタン非表示設定を設定します- Parameters:
ファイル選択ボタン非表示設定-
-
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形式の場合の更新制御
-
getUploadAcceptMimeTypesPattern
アップロード受け入れ可能な MIME Type 正規表現パターンを取得します- Returns:
- アップロード受け入れ可能な MIME Type 正規表現パターン
-
setUploadAcceptMimeTypesPattern
アップロード受け入れ可能な MIME Type を設定します- Parameters:
uploadAcceptMimeTypes- アップロード受け入れ可能な MIME Type
-
getDefaultValue
Description copied from class:PrimitivePropertyEditor初期値を取得します。- Specified by:
getDefaultValuein classPrimitivePropertyEditor- Returns:
- 初期値
-
setDefaultValue
Description copied from class:PrimitivePropertyEditor初期値を設定します。- Specified by:
setDefaultValuein classPrimitivePropertyEditor- Parameters:
defaultValue- 初期値
-