net.sf.zekr.engine.page
Class QuranPage
java.lang.Object
net.sf.zekr.engine.page.QuranPage
- All Implemented Interfaces:
- IQuranPage
public class QuranPage
- extends java.lang.Object
- implements IQuranPage
A single page of the Holy Quran.
- Author:
- Mohsen Saboorian
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QuranPage
public QuranPage()
getPageNum
public int getPageNum()
- Specified by:
getPageNum
in interface IQuranPage
- Returns:
- 1-base page number
setIndex
public void setIndex(int index)
getFrom
public IQuranLocation getFrom()
- Specified by:
getFrom
in interface IQuranPage
- Returns:
- Quran page lower bound (inclusive)
setFrom
public void setFrom(IQuranLocation from)
getTo
public IQuranLocation getTo()
- Specified by:
getTo
in interface IQuranPage
- Returns:
- Quran page upper bound (inclusive)
setTo
public void setTo(IQuranLocation to)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object