org.springframework.richclient.components
Class SliderLabelFactory

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.components.SliderLabelFactory

public class SliderLabelFactory
extends Object

Factory that creates a hashmap for use with a JSlider and its labelMap.


Constructor Summary
SliderLabelFactory()
          Creates a new SliderLabelFactory
 
Method Summary
 Hashtable<Integer,JLabel> getSliderLabels()
          Gets a map with integer values with the corresponding JLabel for that value
 void setLabels(Map<Integer,String> labels)
          Sets the string labels for specific values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SliderLabelFactory

public SliderLabelFactory()
Creates a new SliderLabelFactory

Method Detail

setLabels

public void setLabels(Map<Integer,String> labels)
Sets the string labels for specific values.


getSliderLabels

public Hashtable<Integer,JLabel> getSliderLabels()
Gets a map with integer values with the corresponding JLabel for that value



Copyright © 2004-2009 The Spring Framework. All Rights Reserved.