public class EditorLoadSettings extends Settings<EditorLoadSettings.Event>
| Modifier and Type | Class and Description |
|---|---|
static class |
EditorLoadSettings.Event |
Settings.RevertibleFieldStateObservable.StateUnbindedExeption| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<EditorLoadSettings> |
CREATOR |
isRevertible, revertibleFields, STATE_REVERTED, STATE_REVERTED_EVENTSTATE_INVALID, STATE_INVALID_EVENT| Modifier | Constructor and Description |
|---|---|
|
EditorLoadSettings() |
protected |
EditorLoadSettings(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getImageSourceAngle()
Get the real source image Exif rotation
|
int |
getImageSourceHeight()
Get the real source image height
|
java.lang.String |
getImageSourcePath() |
int |
getImageSourceWidth()
Get the real source image width
|
static android.graphics.Bitmap |
getPreviewImage() |
boolean |
hasSize() |
boolean |
isDeleteProtectedSource() |
protected void |
loadImageInfo(EditorShowState editorShowState) |
protected void |
preloadPreviewImage() |
EditorLoadSettings |
setImageSourcePath(java.lang.String imagePath)
Set Image source path
|
EditorLoadSettings |
setImageSourcePath(java.lang.String imagePath,
boolean deleteProtectedSource)
Set Image source path
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getDefaultCompareState, getFrozenSettings, getSettingsModel, hasChanges, hasRevertableState, isRevertible, revertState, saveInitState, saveStateaddCallback, getStateModel, invalidate, isFrozen, isInvalidateble, notifyChange, notifyPropertyChanged, notifyPropertyChanged, onBind, onBind, removeCallbackpublic static final android.os.Parcelable.Creator<EditorLoadSettings> CREATOR
public EditorLoadSettings()
protected EditorLoadSettings(android.os.Parcel in)
@Nullable public static android.graphics.Bitmap getPreviewImage()
public java.lang.String getImageSourcePath()
public EditorLoadSettings setImageSourcePath(java.lang.String imagePath)
imagePath - path of the image.public EditorLoadSettings setImageSourcePath(java.lang.String imagePath, boolean deleteProtectedSource)
imagePath - path of the image.deleteProtectedSource - if true the source image are not destroyed by save policy @see #EditorSaveSettings.setSavePolicyprotected void loadImageInfo(EditorShowState editorShowState)
public int getImageSourceAngle()
public int getImageSourceWidth()
public boolean hasSize()
public int getImageSourceHeight()
protected void preloadPreviewImage()
public boolean isDeleteProtectedSource()
public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class Settings<EditorLoadSettings.Event>public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class Settings<EditorLoadSettings.Event>