public class OrientationSettings extends Settings<OrientationSettings.Event>
| Modifier and Type | Class and Description |
|---|---|
static class |
OrientationSettings.Event |
Settings.RevertibleFieldStateObservable.StateUnbindedExeption| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<OrientationSettings> |
CREATOR |
isRevertible, revertibleFields, STATE_REVERTED, STATE_REVERTED_EVENTSTATE_INVALID, STATE_INVALID_EVENT| Modifier | Constructor and Description |
|---|---|
|
OrientationSettings() |
protected |
OrientationSettings(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getRotation() |
boolean |
isHorizontalFlipped() |
boolean |
isVerticalFlipped() |
OrientationSettings |
rotateCCW() |
OrientationSettings |
rotateCW() |
OrientationSettings |
setHorizontalFlipped(boolean imageFlipHorizontal) |
OrientationSettings |
setRotation(int imageRotation) |
OrientationSettings |
setVerticalFlipped(boolean imageFlipVertical) |
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<OrientationSettings> CREATOR
public OrientationSettings()
protected OrientationSettings(android.os.Parcel in)
public boolean isHorizontalFlipped()
public OrientationSettings setHorizontalFlipped(boolean imageFlipHorizontal)
public boolean isVerticalFlipped()
public OrientationSettings setVerticalFlipped(boolean imageFlipVertical)
public OrientationSettings rotateCW()
public int getRotation()
public OrientationSettings setRotation(int imageRotation)
public OrientationSettings rotateCCW()
public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class Settings<OrientationSettings.Event>public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class Settings<OrientationSettings.Event>