Class org.jfouffa.jslider.gui.SlideComponent
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----org.jfouffa.components.Delimiter
|
+----org.jfouffa.jslider.gui.SlideComponent
- public class SlideComponent
- extends Delimiter
This class is a component for the SlideHeader.
Constructor index
-
SlideComponent(JSliderFrame, SlideHeader)
- Constructs a new SlideComponent with the specified header.
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.
-
getFileLocation()
- Gets the file containing the slides.
-
getFilename()
- Gets the location of the html file.
-
getHeight()
- Gets the height of the slide.
-
getSeparator()
- Gets the separator of the slide.
-
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.
-
setFileLocation(String)
- Sets the file containing the slides to the specified filename.
-
setHeight(String)
- Sets the height property to the specified value.
-
setSeparator(String)
- Sets the separator of the slide to the specified separator.
-
setSlideHeader(SlideHeader)
- Sets the SlideHeader of this SlideComponent to the specified header.
Constructors
SlideComponent
public SlideComponent(JSliderFrame frame,
SlideHeader h)
- Constructs a new SlideComponent with the specified header.
- Parameters:
- frame - the parent
- header - the header
Methods
setFileLocation
public void setFileLocation(String location)
- Sets the file containing the slides to the specified filename.
- Parameters:
- location - a file
getFileLocation
public String getFileLocation()
- Gets the file containing the slides.
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.
setSlideHeader
public void setSlideHeader(SlideHeader header)
- Sets the SlideHeader of this SlideComponent to the specified header.
- Parameters:
- header - the new SlideHeader of this SlideComponent
getFilename
public String getFilename()
- Gets the location of the html file.