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 :
- Next : that goes to the next slide.
- Previous : that goes to the previous slide.
- toc : that goes to the table of contents.
- bigger : that resizes the slide.
Constructor index
-
NavigationHeader()
-
Method index
-
getBiggerUrl()
- Gets the url of the bigger button.
-
getEditor(Frame)
- Gets the HeaderEditor associated to this Header.
-
getNextUrl()
- Gets the url of the next button.
-
getPreviousUrl()
- Gets the url of the previous button.
-
getTocUrl()
- Gets the url of the toc button.
-
save(TemplateLoader)
- Saves this Header using the specified TemplateLoader.
-
setBiggerUrl(String)
- Sets the url of the bigger button to the specified url.
-
setNextUrl(String)
- Sets the url of the next button to the specified url.
-
setPreviousUrl(String)
- Sets the url of the previous button to the specified url.
-
setProperties(TemplateLoader, String)
- Sets the properties of this Header using the specified TemplateLoader.
-
setTocUrl(String)
- Sets the url of the toc button to the specified url.
-
toString()
- Returns a string representation of the object.
-
update(HeaderEditor)
- Updates this header with the specified editor.
Constructors
NavigationHeader
public NavigationHeader()
Methods
getNextUrl
public String getNextUrl()
- Gets the url of the next button.
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
getPreviousUrl
public String getPreviousUrl()
- Gets the url of the previous button.
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
getBiggerUrl
public String getBiggerUrl()
- Gets the url of the bigger button.
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
getTocUrl
public String getTocUrl()
- Gets the url of the toc button.
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
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
getEditor
public HeaderEditor getEditor(Frame parent)
- Gets the HeaderEditor associated to this Header.
- Overrides:
- getEditor in class Header
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
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
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object