Make the slider component available to allow configuration without having

to add wrapper methods to the SimpleSlider itself for every possible
slider configuration option.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@867 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
shaper
2002-10-16 14:55:58 +00:00
parent 92f15137e3
commit ae71f3d7d5
@@ -1,5 +1,5 @@
//
// $Id: SimpleSlider.java,v 1.2 2002/09/04 01:28:09 shaper Exp $
// $Id: SimpleSlider.java,v 1.3 2002/10/16 14:55:58 shaper Exp $
package com.samskivert.swing;
@@ -36,6 +36,14 @@ public class SimpleSlider extends JPanel
add(_value = new JLabel(Integer.toString(min)), HGroupLayout.FIXED);
}
/**
* Returns the slider component.
*/
public JSlider getSlider ()
{
return _slider;
}
// documentation inherited
public void stateChanged (ChangeEvent e)
{