All Packages Class Hierarchy This Package Previous Next Index

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

 o SeparatorComponent(JSliderFrame, String, SlideHeader, int)
Constructs a new SeparatorComponent with the specified title, header and position.

Method index

 o getType()
Gets the type of the separator.
 o getUrl()
Gets the url for the separator image.
 o setSlideHeader(SlideHeader)
Sets the SlideHeader of this SlideComponent to the specified header.
 o setType(String)
Sets the type of the top separator to the specified type.
 o setUrl(String)
Sets the url for the separator image to the specified url.

Constructors

 o 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

 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 setType
 public void setType(String type)
Sets the type of the top separator to the specified type.

Parameters:
type - the type (none | image | solid)
 o getType
 public String getType()
Gets the type of the separator.

 o setUrl
 public void setUrl(String url)
Sets the url for the separator image to the specified url.

Parameters:
url - the url
 o getUrl
 public String getUrl()
Gets the url for the separator image.