All Packages Class Hierarchy This Package Previous Next Index

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

 o SlideComponent(JSliderFrame, SlideHeader)
Constructs a new SlideComponent with the specified header.

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 getFileLocation()
Gets the file containing the slides.
 o getFilename()
Gets the location of the html file.
 o getHeight()
Gets the height of the slide.
 o getSeparator()
Gets the separator of the slide.
 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 setFileLocation(String)
Sets the file containing the slides to the specified filename.
 o setHeight(String)
Sets the height property to the specified value.
 o setSeparator(String)
Sets the separator of the slide to the specified separator.
 o setSlideHeader(SlideHeader)
Sets the SlideHeader of this SlideComponent to the specified header.

Constructors

 o SlideComponent
 public SlideComponent(JSliderFrame frame,
                       SlideHeader h)
Constructs a new SlideComponent with the specified header.

Parameters:
frame - the parent
header - the header

Methods

 o setFileLocation
 public void setFileLocation(String location)
Sets the file containing the slides to the specified filename.

Parameters:
location - a file
 o getFileLocation
 public String getFileLocation()
Gets the file containing the slides.

 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 setSlideHeader
 public void setSlideHeader(SlideHeader header)
Sets the SlideHeader of this SlideComponent to the specified header.

Parameters:
header - the new SlideHeader of this SlideComponent
 o getFilename
 public String getFilename()
Gets the location of the html file.