|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserView
Field Summary | |
---|---|
static int |
VM_ADVANCED_SEARCH
View mode corresponds to advanced search. |
static int |
VM_QURAN_TRANS
View mode corresponds to simple non-search mode set in the Quran browser. |
static int |
VM_ROOT_SEARCH
View mode corresponds to root search. |
static int |
VM_SEARCH
View mode corresponds to basic search. |
Method Summary | |
---|---|
void |
changeTo(int page)
|
void |
changeTo(IQuranLocation location)
|
IQuranLocation |
getLocation()
|
int |
getPage()
|
int |
getViewMode()
|
void |
setLocation(IQuranLocation location)
|
void |
setPage(int page)
|
void |
setViewMode(int viewMode)
Set current runtime view mode. |
void |
synchLocation()
Synchronize internal location with the current page number. |
void |
synchPage()
Synchronize internal page number with the current location. |
Field Detail |
---|
static final int VM_SEARCH
static final int VM_ADVANCED_SEARCH
static final int VM_ROOT_SEARCH
static final int VM_QURAN_TRANS
Method Detail |
---|
IQuranLocation getLocation()
void setLocation(IQuranLocation location)
int getPage()
void setPage(int page)
void changeTo(int page)
void changeTo(IQuranLocation location)
void synchPage()
void synchLocation()
void setViewMode(int viewMode)
VM_*
constants available in this
interface.
viewMode
- runtime view mode. Can be one of VM_SEARCH
, VM_ADVANCED_SEARCH
,
VM_ROOT_SEARCH
, or VM_QURAN_TRANS
.int getViewMode()
VM_SEARCH
, VM_ADVANCED_SEARCH
,
VM_ROOT_SEARCH
, or VM_QURAN_TRANS
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |