Class HTMLSliderTextFieldHandler
- java.lang.Object
-
- org.pushingpixels.substance.internal.contrib.randelshofer.quaqua.colorchooser.HTMLSliderTextFieldHandler
-
- All Implemented Interfaces:
EventListener,ChangeListener,DocumentListener
public class HTMLSliderTextFieldHandler extends Object implements DocumentListener, ChangeListener
This handler adjusts the value of a component in the HTML color slider model, when the user enters text into the text field.
-
-
Constructor Summary
Constructors Constructor Description HTMLSliderTextFieldHandler(JTextField textField, HTMLColorSliderModel ccModel, int component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangedUpdate(DocumentEvent evt)voidinsertUpdate(DocumentEvent evt)voidremoveUpdate(DocumentEvent evt)voidstateChanged(ChangeEvent e)
-
-
-
Constructor Detail
-
HTMLSliderTextFieldHandler
public HTMLSliderTextFieldHandler(JTextField textField, HTMLColorSliderModel ccModel, int component)
-
-
Method Detail
-
changedUpdate
public void changedUpdate(DocumentEvent evt)
- Specified by:
changedUpdatein interfaceDocumentListener
-
removeUpdate
public void removeUpdate(DocumentEvent evt)
- Specified by:
removeUpdatein interfaceDocumentListener
-
insertUpdate
public void insertUpdate(DocumentEvent evt)
- Specified by:
insertUpdatein interfaceDocumentListener
-
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChangedin interfaceChangeListener
-
-