cz.ponec.ppSee.api
Interface IndexPage


public interface IndexPage

The representative of Album Index Page.


Method Summary
 Detail getDetail(int i)
          Returns the file (image) by index from the current index page.
 int getDetailCount()
          Returns the count of details (images) in the current index page.
 Detail[] getDetails()
          Returns all files (images) of current page in a proper ordering.
 java.lang.String getFileName()
          Returns the file name of the current HTML page.
 IndexPage getNextPage(int step)
          Returns the next index page or null in case no page was found.
 int getPointerOfIndex()
          Returns a pointer of the current index page or -1 if the poiner was not found.
 

Method Detail

getDetails

public Detail[] getDetails()
Returns all files (images) of current page in a proper ordering.


getDetail

public Detail getDetail(int i)
Returns the file (image) by index from the current index page.


getDetailCount

public int getDetailCount()
Returns the count of details (images) in the current index page.


getPointerOfIndex

public int getPointerOfIndex()
Returns a pointer of the current index page or -1 if the poiner was not found.


getNextPage

public IndexPage getNextPage(int step)
Returns the next index page or null in case no page was found.

Parameters:
step - Step to new page. Value +1 means the first next page, value -1 means the first previsou page.
Returns:
Neighbouring index page object or null.

getFileName

public java.lang.String getFileName()
Returns the file name of the current HTML page.



Copyright © 2007 PPonec. All Rights Reserved.