Class org.jfouffa.jslider.gui.SeparatorComponent
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----org.jfouffa.components.Delimiter
|
+----org.jfouffa.jslider.gui.SeparatorComponent
- public class SeparatorComponent
- extends Delimiter
This class enables style customization for the separator properties.
Constructor index
-
SeparatorComponent(JSliderFrame, String, SlideHeader, int)
- Constructs a new SeparatorComponent with the specified title, header and
position.
Method index
-
getType()
- Gets the type of the separator.
-
getUrl()
- Gets the url for the separator image.
-
setSlideHeader(SlideHeader)
- Sets the SlideHeader of this SlideComponent to the specified header.
-
setType(String)
- Sets the type of the top separator to the specified type.
-
setUrl(String)
- Sets the url for the separator image to the specified url.
Constructors
SeparatorComponent
public SeparatorComponent(JSliderFrame fx,
String title,
SlideHeader h,
int i)
- Constructs a new SeparatorComponent with the specified title, header and
position.
- Parameters:
- f - the frame parent
- title - the title of this SeparatorComponent
- h - the SlideHeader
- i - the position (0=top, 1=bottom);
Methods
setSlideHeader
public void setSlideHeader(SlideHeader header)
- Sets the SlideHeader of this SlideComponent to the specified header.
- Parameters:
- header - the new SlideHeader of this SlideComponent
setType
public void setType(String type)
- Sets the type of the top separator to the specified type.
- Parameters:
- type - the type (none | image | solid)
getType
public String getType()
- Gets the type of the separator.
setUrl
public void setUrl(String url)
- Sets the url for the separator image to the specified url.
- Parameters:
- url - the url
getUrl
public String getUrl()
- Gets the url for the separator image.