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 int
describeContents()
static Box
fromApiResponse(org.json.JSONObject responseData)
double
getHeight()
double
getLeft()
int
getPageNumber()
double
getTop()
double
getWidth()
void
writeToParcel(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:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-