net.sourceforge.helpgui.page
Class LinkedPage

java.lang.Object
  extended by net.sourceforge.helpgui.page.LinkedPage

public class LinkedPage
extends java.lang.Object

List of page viewed by the user

Author:
Alexandre THOMAS

Field Summary
(package private)  int index
          Index of the current page
(package private)  java.util.LinkedList pagesList
          List of viewing page
 
Constructor Summary
LinkedPage()
           
 
Method Summary
 void addPage(Page page, boolean insert)
          Insert a new page on the list
 Page getCurrentPage()
          Return the current page
 Page getNextPage()
          Get the next page
 Page getPreviousPage()
          Get the previous page
 java.lang.String toString()
          Return the string correcponding to the LinkedPage class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pagesList

java.util.LinkedList pagesList
List of viewing page


index

int index
Index of the current page

Constructor Detail

LinkedPage

public LinkedPage()
Method Detail

getPreviousPage

public Page getPreviousPage()
Get the previous page


getNextPage

public Page getNextPage()
Get the next page


getCurrentPage

public Page getCurrentPage()
Return the current page


addPage

public void addPage(Page page,
                    boolean insert)
Insert a new page on the list


toString

public java.lang.String toString()
Return the string correcponding to the LinkedPage class

Overrides:
toString in class java.lang.Object