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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user