Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## contrib.ch.randelshofer.quaqua.colorchooser
Class HTMLSliderTextFieldHandler

    java.lang.Object
      contrib.ch.randelshofer.quaqua.colorchooser.HTMLSliderTextFieldHandler

All Implemented Interfaces:
  java.util.EventListener, javax.swing.event.ChangeListener, javax.swing.event.DocumentListener

    public class HTMLSliderTextFieldHandler

extends java.lang.Object
implements javax.swing.event.DocumentListener, javax.swing.event.ChangeListener

This handler adjusts the value of a component in the HTML color slider model, when the user enters text into the text field.

Version:
  1.0 November 22, 2005 Created.
Author:
  Werner Randelshofer

Constructor Summary
`HTMLSliderTextFieldHandler(javax.swing.JTextField textField, HTMLColorSliderModel ccModel, int component)`

Method Summary
`void` | `changedUpdate(javax.swing.event.DocumentEvent evt)`
`void` | `insertUpdate(javax.swing.event.DocumentEvent evt)`
`void` | `removeUpdate(javax.swing.event.DocumentEvent evt)`
`void` | `stateChanged(javax.swing.event.ChangeEvent e)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HTMLSliderTextFieldHandler

    public HTMLSliderTextFieldHandler(javax.swing.JTextField textField,
                                      HTMLColorSliderModel ccModel,
                                      int component)

Method Detail

### changedUpdate

    public void changedUpdate(javax.swing.event.DocumentEvent evt)

  Specified by:
    `changedUpdate` in interface `javax.swing.event.DocumentListener`

### removeUpdate

    public void removeUpdate(javax.swing.event.DocumentEvent evt)

  Specified by:
    `removeUpdate` in interface `javax.swing.event.DocumentListener`

### insertUpdate

    public void insertUpdate(javax.swing.event.DocumentEvent evt)

  Specified by:
    `insertUpdate` in interface `javax.swing.event.DocumentListener`

### stateChanged

    public void stateChanged(javax.swing.event.ChangeEvent e)

  Specified by:
    `stateChanged` in interface `javax.swing.event.ChangeListener`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD