net.sf.zekr.engine.page
Class QuranPage

java.lang.Object
  extended by 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

Constructor Summary
QuranPage()
           
 
Method Summary
 IQuranLocation getFrom()
           
 int getPageNum()
           
 IQuranLocation getTo()
           
 void setFrom(IQuranLocation from)
           
 void setIndex(int index)
           
 void setTo(IQuranLocation to)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuranPage

public QuranPage()
Method Detail

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