com.foxconn.ebook.reader.engine.model
类 BookEmphasisInfo.BookEmphasis

java.lang.Object
  继承者 com.foxconn.ebook.reader.engine.model.BookEmphasisInfo.BookEmphasis
正在封闭类:
BookEmphasisInfo

public static class BookEmphasisInfo.BookEmphasis
extends java.lang.Object

高亮選擇數據類.


字段摘要
 int bookId
          The BOO k_ id.
 int color
          高亮選擇的顏色標識.
 long createTime
          高亮選擇的時間戳.
 java.lang.String endCursor
          高亮選擇的結束位置.
 double endX
          高亮選擇的結束x坐標.
 double endY
          高亮選擇的結束y坐標.
 int fontLevel
          當前高亮選擇的字體大小.
 java.lang.String pageLocation
          高亮選擇對應的頁碼位置.
 java.lang.String startCursor
          高亮選擇起始位置.
 double startX
          高亮選擇的起始x坐標.
 double startY
          高亮選擇的起始y坐標.
 java.lang.String summary
          高亮選擇的文本信息.
 
方法摘要
 int getBookId()
          Gets the book id.
 int getColor()
          Gets the color.
 java.lang.String[] getCourse()
          Gets the course.
 int getFontLevel()
          Gets the font level.
 java.lang.String getLocation()
          Gets the location.
 java.lang.String getSummary()
          Gets the summary.
 long getTime()
          Gets the time.
 double getX1()
          Gets the x1.
 double getX2()
          Gets the x2.
 double getY1()
          Gets the y1.
 double getY2()
          Gets the y2.
 void setBookId(int id)
          Sets the book id.
 void setColor(int c)
          設置顏色標識.
 void setCourse(java.lang.String start, java.lang.String end)
          設置選擇的起始和結束位置.
 void setFontLevel(int lev)
          設置當前高亮選擇時的字體等級.
 void setLocation(java.lang.String location)
          設置當前高亮頁碼位置.
 void setSummary(java.lang.String sum)
          設置高亮選擇的文本信息.
 void setTime(long time)
          設置高亮選擇的時間戳.
 void setXY(double x1, double y1, double x2, double y2)
          Sets the xy.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

bookId

public int bookId
The BOO k_ id.


startX

public double startX
高亮選擇的起始x坐標.


startY

public double startY
高亮選擇的起始y坐標.


endX

public double endX
高亮選擇的結束x坐標.


endY

public double endY
高亮選擇的結束y坐標.


color

public int color
高亮選擇的顏色標識.


fontLevel

public int fontLevel
當前高亮選擇的字體大小.


createTime

public long createTime
高亮選擇的時間戳.


startCursor

public java.lang.String startCursor
高亮選擇起始位置.


endCursor

public java.lang.String endCursor
高亮選擇的結束位置.


pageLocation

public java.lang.String pageLocation
高亮選擇對應的頁碼位置.


summary

public java.lang.String summary
高亮選擇的文本信息.

方法详细信息

getBookId

public int getBookId()
Gets the book id.

返回:
the book id

setBookId

public void setBookId(int id)
Sets the book id.

参数:
id - the new book id

getX1

public double getX1()
Gets the x1.

返回:
the x1

getY1

public double getY1()
Gets the y1.

返回:
the y1

getX2

public double getX2()
Gets the x2.

返回:
the x2

getY2

public double getY2()
Gets the y2.

返回:
the y2

setXY

public void setXY(double x1,
                  double y1,
                  double x2,
                  double y2)
Sets the xy.

参数:
x1 - the x1
y1 - the y1
x2 - the x2
y2 - the y2

getCourse

public java.lang.String[] getCourse()
Gets the course.

返回:
the course

setCourse

public void setCourse(java.lang.String start,
                      java.lang.String end)
設置選擇的起始和結束位置.

参数:
start - 起始位置
end - 結束位置

getColor

public int getColor()
Gets the color.

返回:
the color

setColor

public void setColor(int c)
設置顏色標識.

参数:
c - 顏色標識

getTime

public long getTime()
Gets the time.

返回:
the time

setTime

public void setTime(long time)
設置高亮選擇的時間戳.

参数:
time - 時間戳,long類型

getSummary

public java.lang.String getSummary()
Gets the summary.

返回:
the summary

setSummary

public void setSummary(java.lang.String sum)
設置高亮選擇的文本信息.

参数:
summary - 高亮選擇的文本.

getLocation

public java.lang.String getLocation()
Gets the location.

返回:
the location

setLocation

public void setLocation(java.lang.String location)
設置當前高亮頁碼位置.

参数:
location - 頁碼位置.

getFontLevel

public int getFontLevel()
Gets the font level.

返回:
the font level

setFontLevel

public void setFontLevel(int lev)
設置當前高亮選擇時的字體等級.

参数:
lev - 字體等級.