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
-
HR
- the line type to have a single line saparation
-
IMAGE
- the line type to have an image as line separation
-
NONE
- the line type to have no line saparation
Constructor index
-
SlideStyle()
-
Method index
-
getBackgroundImage()
- Gets the background image'url.
-
getBottomLineType()
- Gets the bottom line's type.
-
getBottomLineUrl()
- Gets the bottom line's url (only used with the IMAGE type) .
-
getTocTitle()
- Gets the table of contents'title.
-
getTopLineType()
- Gets the top line's type.
-
getTopLineUrl()
- Gets the top line's url (only used with the IMAGE type) .
-
setBackgroundImage(String)
- Sets the background image's url to the specified url.
-
setBottomLineType(int)
- Sets the bottom line's type to the specified type.
-
setBottomLineUrl(String)
- Sets the bototm line's url to the specified url (only used with the
IMAGE type).
-
setTocTitle(String)
- Sets the table of contents title to the specified title.
-
setTopLineType(int)
- Sets the top line's type to the specified type.
-
setTopLineUrl(String)
- Sets the top line's url to the specified url (only used with the IMAGE
type).
Variables
NONE
public static final int NONE
- the line type to have no line saparation
HR
public static final int HR
- the line type to have a single line saparation
IMAGE
public static final int IMAGE
- the line type to have an image as line separation
Constructors
SlideStyle
public SlideStyle()
Methods
getTocTitle
public String getTocTitle()
- Gets the table of contents'title.
setTocTitle
public void setTocTitle(String tocTitle)
- Sets the table of contents title to the specified title.
- Parameters:
- tocTitle - the new table of contents'title
getBackgroundImage
public String getBackgroundImage()
- Gets the background image'url.
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
getTopLineType
public int getTopLineType()
- Gets the top line's type.
setTopLineType
public void setTopLineType(int topLineType)
- Sets the top line's type to the specified type.
- Parameters:
- topLineType - the new top line's type
getTopLineUrl
public String getTopLineUrl()
- Gets the top line's url (only used with the IMAGE type) .
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
getBottomLineType
public int getBottomLineType()
- Gets the bottom line's type.
setBottomLineType
public void setBottomLineType(int bottomLineType)
- Sets the bottom line's type to the specified type.
- Parameters:
- bottomLineType - the new bottom line's type
getBottomLineUrl
public String getBottomLineUrl()
- Gets the bottom line's url (only used with the IMAGE type) .
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