All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.jslider.SlideHeader

java.lang.Object
   |
   +----org.jfouffa.jslider.Header
           |
           +----org.jfouffa.jslider.TextHeader
                   |
                   +----org.jfouffa.jslider.SlideHeader

public class SlideHeader
extends TextHeader
This class defines the main part of the slide. It is the part that will contain the real text.


Constructor index

 o SlideHeader()

Method index

 o getAuthor1()
Gets the author1's name.
 o getAuthor1Url()
Gets the author1's url.
 o getAuthor2()
Gets the author2's name.
 o getAuthor2Url()
Gets the author2's url.
 o getBackgroundImageUrl()
Gets the background-image property.
 o getBottomLineType()
Gets the type of the bottom separator.
 o getBottomLineUrl()
Gets the url of the bottom separator.
 o getEditor(Frame)
Gets the HeaderEditor associated to this Header.
 o getHeight()
Gets the height of the slide.
 o getSeparator()
Gets the separator of the slide.
 o getTopLineType()
Gets the type of the top separator.
 o getTopLineUrl()
Gets the url of the top separator.
 o getType()
Gets the type of this header.
 o save(TemplateLoader)
Saves this Header using the specified TemplateLoader.
 o setAuthor1(String)
Sets the author1's name to the specified name.
 o setAuthor1Url(String)
Sets the author1's url to the specified url.
 o setAuthor2(String)
Sets the author2's name to the specified name.
 o setAuthor2Url(String)
Sets the author2's url to the specified url.
 o setBackgroundImageUrl(String)
Sets the background-image property to the specified value.
 o setBottomLineType(String)
Sets the type of the bottom separator to the specified value.
 o setBottomLineUrl(String)
Sets the url of the bottom separator to the specified value.
 o setHeight(String)
Sets the height property to the specified value.
 o setProperties(TemplateLoader, String)
Sets the properties of this Header using the specified TemplateLoader.
 o setSeparator(String)
Sets the separator of the slide to the specified separator.
 o setTopLineType(String)
Sets the type of the top separator to the specified value.
 o setTopLineUrl(String)
Sets the url of the top separator to the specified value.
 o toString()
Returns a string representation of the object.
 o update(HeaderEditor)
Updates this header with the specified editor.

Constructors

 o SlideHeader
 public SlideHeader()

Methods

 o getType
 public String getType()
Gets the type of this header.

Overrides:
getType in class Header
 o getTopLineUrl
 public String getTopLineUrl()
Gets the url of the top separator.

 o setTopLineUrl
 public void setTopLineUrl(String url)
Sets the url of the top separator to the specified value.

Parameters:
url - the url
 o getBottomLineUrl
 public String getBottomLineUrl()
Gets the url of the bottom separator.

 o setBottomLineUrl
 public void setBottomLineUrl(String url)
Sets the url of the bottom separator to the specified value.

Parameters:
url - the url
 o getTopLineType
 public String getTopLineType()
Gets the type of the top separator.

 o setTopLineType
 public void setTopLineType(String type)
Sets the type of the top separator to the specified value.

Parameters:
type - the type (none | image | solid)
 o getBottomLineType
 public String getBottomLineType()
Gets the type of the bottom separator.

 o setBottomLineType
 public void setBottomLineType(String type)
Sets the type of the bottom separator to the specified value.

Parameters:
type - the type (none | image | solid)
 o setBackgroundImageUrl
 public void setBackgroundImageUrl(String backgroundImage)
Sets the background-image property to the specified value.

Parameters:
backgroundImage - none | an URL location
 o getBackgroundImageUrl
 public String getBackgroundImageUrl()
Gets the background-image property.

Allowed values : none | an URL location

 o setSeparator
 public void setSeparator(String separator)
Sets the separator of the slide to the specified separator.

Parameters:
separator - the separator of the slide
 o getSeparator
 public String getSeparator()
Gets the separator of the slide.

 o setHeight
 public void setHeight(String height)
Sets the height property to the specified value.

Parameters:
height - the height of the slide
 o getHeight
 public String getHeight()
Gets the height of the slide.

 o setAuthor1
 public void setAuthor1(String author1)
Sets the author1's name to the specified name.

Parameters:
author1 - the name of the author1
 o getAuthor1
 public String getAuthor1()
Gets the author1's name.

 o setAuthor2
 public void setAuthor2(String author2)
Sets the author2's name to the specified name.

Parameters:
author1 - the name of the author2
 o getAuthor2
 public String getAuthor2()
Gets the author2's name.

 o setAuthor1Url
 public void setAuthor1Url(String author1Url)
Sets the author1's url to the specified url.

Parameters:
author1Url - the name of the author1
 o getAuthor1Url
 public String getAuthor1Url()
Gets the author1's url.

 o setAuthor2Url
 public void setAuthor2Url(String author2Url)
Sets the author2's url to the specified url.

Parameters:
author2Url - the url of the author2
 o getAuthor2Url
 public String getAuthor2Url()
Gets the author2's url.

 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 TextHeader
 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 (the string format)
Overrides:
setProperties in class TextHeader
 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 TextHeader
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object