All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.jslider.SlideStyle

java.lang.Object
   |
   +----org.jfouffa.jslider.HeaderStyle
           |
           +----org.jfouffa.jslider.SlideStyle

public class SlideStyle
extends HeaderStyle
This class is used to store global slides'style properties. Properties are those defined for headers plus basic ones like header separation style, the url for a background image...


Variable index

 o HR
the line type to have a single line saparation
 o IMAGE
the line type to have an image as line separation
 o NONE
the line type to have no line saparation

Constructor index

 o SlideStyle()

Method index

 o getBackgroundImage()
Gets the background image'url.
 o getBottomLineType()
Gets the bottom line's type.
 o getBottomLineUrl()
Gets the bottom line's url (only used with the IMAGE type) .
 o getTocTitle()
Gets the table of contents'title.
 o getTopLineType()
Gets the top line's type.
 o getTopLineUrl()
Gets the top line's url (only used with the IMAGE type) .
 o setBackgroundImage(String)
Sets the background image's url to the specified url.
 o setBottomLineType(int)
Sets the bottom line's type to the specified type.
 o setBottomLineUrl(String)
Sets the bototm line's url to the specified url (only used with the IMAGE type).
 o setTocTitle(String)
Sets the table of contents title to the specified title.
 o setTopLineType(int)
Sets the top line's type to the specified type.
 o setTopLineUrl(String)
Sets the top line's url to the specified url (only used with the IMAGE type).

Variables

 o NONE
 public static final int NONE
the line type to have no line saparation

 o HR
 public static final int HR
the line type to have a single line saparation

 o IMAGE
 public static final int IMAGE
the line type to have an image as line separation

Constructors

 o SlideStyle
 public SlideStyle()

Methods

 o getTocTitle
 public String getTocTitle()
Gets the table of contents'title.

 o setTocTitle
 public void setTocTitle(String tocTitle)
Sets the table of contents title to the specified title.

Parameters:
tocTitle - the new table of contents'title
 o getBackgroundImage
 public String getBackgroundImage()
Gets the background image'url.

 o setBackgroundImage
 public void setBackgroundImage(String backgroundImage)
Sets the background image's url to the specified url.

Parameters:
backgroundImage - the new url for the background image
 o getTopLineType
 public int getTopLineType()
Gets the top line's type.

 o setTopLineType
 public void setTopLineType(int topLineType)
Sets the top line's type to the specified type.

Parameters:
topLineType - the new top line's type
 o getTopLineUrl
 public String getTopLineUrl()
Gets the top line's url (only used with the IMAGE type) .

 o setTopLineUrl
 public void setTopLineUrl(String topLineUrl)
Sets the top line's url to the specified url (only used with the IMAGE type).

Parameters:
topLineType - the new top line's type
 o getBottomLineType
 public int getBottomLineType()
Gets the bottom line's type.

 o setBottomLineType
 public void setBottomLineType(int bottomLineType)
Sets the bottom line's type to the specified type.

Parameters:
bottomLineType - the new bottom line's type
 o getBottomLineUrl
 public String getBottomLineUrl()
Gets the bottom line's url (only used with the IMAGE type) .

 o setBottomLineUrl
 public void setBottomLineUrl(String bottomLineUrl)
Sets the bototm line's url to the specified url (only used with the IMAGE type).

Parameters:
bottomLineType - the new bottom line's type