-
- All Implemented Interfaces:
-
android.os.Parcelable
public class Box implements Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<Box>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
Constructors Constructor Description Box(int pageNumber, double left, double top, double width, double height)
-
Method Summary
Modifier and Type Method Description intgetPageNumber()doublegetLeft()doublegetTop()doublegetWidth()doublegetHeight()static BoxfromApiResponse(JSONObject responseData)intdescribeContents()voidwriteToParcel(Parcel dest, int flags)-
-
Method Detail
-
getPageNumber
int getPageNumber()
-
getLeft
double getLeft()
-
getTop
double getTop()
-
getWidth
double getWidth()
-
getHeight
double getHeight()
-
fromApiResponse
static Box fromApiResponse(JSONObject responseData)
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-