All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.jslider.NavigationHeader

java.lang.Object
   |
   +----org.jfouffa.jslider.Header
           |
           +----org.jfouffa.jslider.NavigationHeader

public class NavigationHeader
extends Header
This class defines the navigation header. The navigation header enables slides browsing. The navigation header is composed of 4 buttons :


Constructor index

 o NavigationHeader()

Method index

 o getBiggerUrl()
Gets the url of the bigger button.
 o getEditor(Frame)
Gets the HeaderEditor associated to this Header.
 o getNextUrl()
Gets the url of the next button.
 o getPreviousUrl()
Gets the url of the previous button.
 o getTocUrl()
Gets the url of the toc button.
 o save(TemplateLoader)
Saves this Header using the specified TemplateLoader.
 o setBiggerUrl(String)
Sets the url of the bigger button to the specified url.
 o setNextUrl(String)
Sets the url of the next button to the specified url.
 o setPreviousUrl(String)
Sets the url of the previous button to the specified url.
 o setProperties(TemplateLoader, String)
Sets the properties of this Header using the specified TemplateLoader.
 o setTocUrl(String)
Sets the url of the toc button to the specified url.
 o toString()
Returns a string representation of the object.
 o update(HeaderEditor)
Updates this header with the specified editor.

Constructors

 o NavigationHeader
 public NavigationHeader()

Methods

 o getNextUrl
 public String getNextUrl()
Gets the url of the next button.

 o setNextUrl
 public void setNextUrl(String nextUrl)
Sets the url of the next button to the specified url.

Parameters:
nextUrl - the new url for the next button
 o getPreviousUrl
 public String getPreviousUrl()
Gets the url of the previous button.

 o setPreviousUrl
 public void setPreviousUrl(String previousUrl)
Sets the url of the previous button to the specified url.

Parameters:
previousUrl - the new url for the previous button
 o getBiggerUrl
 public String getBiggerUrl()
Gets the url of the bigger button.

 o setBiggerUrl
 public void setBiggerUrl(String biggerUrl)
Sets the url of the bigger button to the specified url.

Parameters:
biggerUrl - the new url for the bigger button
 o getTocUrl
 public String getTocUrl()
Gets the url of the toc button.

 o setTocUrl
 public void setTocUrl(String tocUrl)
Sets the url of the toc button to the specified url.

Parameters:
tocUrl - the new url for the toc button
 o update
 public void update(HeaderEditor editor)
Updates this header with the specified editor.

Parameters:
editor - the editor that contains the new attributs for thsi header
Overrides:
update in class Header
 o getEditor
 public HeaderEditor getEditor(Frame parent)
Gets the HeaderEditor associated to this Header.

Overrides:
getEditor in class Header
 o setProperties
 public void setProperties(TemplateLoader loader,
                           String index)
Sets the properties of this Header using the specified TemplateLoader.

Parameters:
loader - the TemplateLoader
index - the index of this header
Overrides:
setProperties in class Header
 o save
 public void save(TemplateLoader loader)
Saves this Header using the specified TemplateLoader.

Parameters:
loader - the template loader to use for saving
Overrides:
save in class Header
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object