Package net.gini.android.models
Class Box
- java.lang.Object
-
- net.gini.android.models.Box
-
- All Implemented Interfaces:
android.os.Parcelable
public class Box extends java.lang.Object implements android.os.Parcelable
-
-
Constructor Summary
Constructors Constructor Description Box(int pageNumber, double left, double top, double width, double height)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()static BoxfromApiResponse(org.json.JSONObject responseData)doublegetHeight()doublegetLeft()intgetPageNumber()doublegetTop()doublegetWidth()voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<Box> CREATOR
-
-
Method Detail
-
getPageNumber
public int getPageNumber()
-
getLeft
public double getLeft()
-
getTop
public double getTop()
-
getWidth
public double getWidth()
-
getHeight
public double getHeight()
-
fromApiResponse
public static Box fromApiResponse(org.json.JSONObject responseData) throws org.json.JSONException
- Throws:
org.json.JSONException
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
-