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
-
SlideHeader()
-
Method index
-
getAuthor1()
- Gets the author1's name.
-
getAuthor1Url()
- Gets the author1's url.
-
getAuthor2()
- Gets the author2's name.
-
getAuthor2Url()
- Gets the author2's url.
-
getBackgroundImageUrl()
- Gets the background-image property.
-
getBottomLineType()
- Gets the type of the bottom separator.
-
getBottomLineUrl()
- Gets the url of the bottom separator.
-
getEditor(Frame)
- Gets the HeaderEditor associated to this Header.
-
getHeight()
- Gets the height of the slide.
-
getSeparator()
- Gets the separator of the slide.
-
getTopLineType()
- Gets the type of the top separator.
-
getTopLineUrl()
- Gets the url of the top separator.
-
getType()
- Gets the type of this header.
-
save(TemplateLoader)
- Saves this Header using the specified TemplateLoader.
-
setAuthor1(String)
- Sets the author1's name to the specified name.
-
setAuthor1Url(String)
- Sets the author1's url to the specified url.
-
setAuthor2(String)
- Sets the author2's name to the specified name.
-
setAuthor2Url(String)
- Sets the author2's url to the specified url.
-
setBackgroundImageUrl(String)
- Sets the background-image property to the specified value.
-
setBottomLineType(String)
- Sets the type of the bottom separator to the specified value.
-
setBottomLineUrl(String)
- Sets the url of the bottom separator to the specified value.
-
setHeight(String)
- Sets the height property to the specified value.
-
setProperties(TemplateLoader, String)
- Sets the properties of this Header using the specified TemplateLoader.
-
setSeparator(String)
- Sets the separator of the slide to the specified separator.
-
setTopLineType(String)
- Sets the type of the top separator to the specified value.
-
setTopLineUrl(String)
- Sets the url of the top separator to the specified value.
-
toString()
- Returns a string representation of the object.
-
update(HeaderEditor)
- Updates this header with the specified editor.
Constructors
SlideHeader
public SlideHeader()
Methods
getType
public String getType()
- Gets the type of this header.
- Overrides:
- getType in class Header
getTopLineUrl
public String getTopLineUrl()
- Gets the url of the top separator.
setTopLineUrl
public void setTopLineUrl(String url)
- Sets the url of the top separator to the specified value.
- Parameters:
- url - the url
getBottomLineUrl
public String getBottomLineUrl()
- Gets the url of the bottom separator.
setBottomLineUrl
public void setBottomLineUrl(String url)
- Sets the url of the bottom separator to the specified value.
- Parameters:
- url - the url
getTopLineType
public String getTopLineType()
- Gets the type of the top separator.
setTopLineType
public void setTopLineType(String type)
- Sets the type of the top separator to the specified value.
- Parameters:
- type - the type (none | image | solid)
getBottomLineType
public String getBottomLineType()
- Gets the type of the bottom separator.
setBottomLineType
public void setBottomLineType(String type)
- Sets the type of the bottom separator to the specified value.
- Parameters:
- type - the type (none | image | solid)
setBackgroundImageUrl
public void setBackgroundImageUrl(String backgroundImage)
- Sets the background-image property to the specified value.
- Parameters:
- backgroundImage - none | an URL location
getBackgroundImageUrl
public String getBackgroundImageUrl()
- Gets the background-image property.
Allowed values : none | an URL location
setSeparator
public void setSeparator(String separator)
- Sets the separator of the slide to the specified separator.
- Parameters:
- separator - the separator of the slide
getSeparator
public String getSeparator()
- Gets the separator of the slide.
setHeight
public void setHeight(String height)
- Sets the height property to the specified value.
- Parameters:
- height - the height of the slide
getHeight
public String getHeight()
- Gets the height of the slide.
setAuthor1
public void setAuthor1(String author1)
- Sets the author1's name to the specified name.
- Parameters:
- author1 - the name of the author1
getAuthor1
public String getAuthor1()
- Gets the author1's name.
setAuthor2
public void setAuthor2(String author2)
- Sets the author2's name to the specified name.
- Parameters:
- author1 - the name of the author2
getAuthor2
public String getAuthor2()
- Gets the author2's name.
setAuthor1Url
public void setAuthor1Url(String author1Url)
- Sets the author1's url to the specified url.
- Parameters:
- author1Url - the name of the author1
getAuthor1Url
public String getAuthor1Url()
- Gets the author1's url.
setAuthor2Url
public void setAuthor2Url(String author2Url)
- Sets the author2's url to the specified url.
- Parameters:
- author2Url - the url of the author2
getAuthor2Url
public String getAuthor2Url()
- Gets the author2's url.
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
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 (the string format)
- Overrides:
- setProperties in class TextHeader
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
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object