Uses of Interface
javax.swing.event.ChangeListener
Packages that use ChangeListener
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Contains classes and interfaces used by the
JColorChooser component.Provides user interface objects built according to the Basic look and feel.
Provides classes and interfaces that deal with editable and noneditable text
components.
-
Uses of ChangeListener in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util with parameters of type ChangeListenerModifier and TypeMethodDescriptionstatic voidSwingEventMonitor.addChangeListener(ChangeListener l) Adds the specified listener to receive allCHANGEevents on each component instance in the Java Virtual Machine as they occur.static voidSwingEventMonitor.removeChangeListener(ChangeListener l) Removes the specified listener so it no longer receivesCHANGEevents when they occur. -
Uses of ChangeListener in javax.swing
Classes in javax.swing that implement ChangeListenerModifier and TypeClassDescriptionprotected classExtendsChangeListenerto be serializable.protected classThis class implements accessibility support for theJCheckBoxMenuItemclass.protected classThis class implements accessibility support for theJMenuclass.protected classThis class implements accessibility support for theJMenuItemclass.protected classThis class implements accessibility support for theJRadioButtonMenuItemclass.protected classThis class implements accessibility support for theJScrollPaneclass.protected classThis class implements accessibility support for theJSliderclass.protected classAccessibleJSpinnerimplements accessibility support for theJSpinnerclass.static classAn editor for aJSpinnerwhose model is aSpinnerDateModel.static classA simple base class for more specialized editors that displays a read-only view of the model's current value with aJFormattedTextField.static classAn editor for aJSpinnerwhose model is aSpinnerListModel.static classAn editor for aJSpinnerwhose model is aSpinnerNumberModel.protected classThis class implements accessibility support for theJTabbedPaneclass.protected classWe passModelChangedevents along to the listeners with the tabbedpane (instead of the model itself) as the event source.protected classAccessibleProgressMonitorimplements accessibility support for theProgressMonitorclass.Fields in javax.swing declared as ChangeListenerModifier and TypeFieldDescriptionprotected ChangeListenerAbstractButton.changeListenerThe button model'schangeListener.protected ChangeListenerJProgressBar.changeListenerListens for change events sent by the progress bar's model, redispatching them to change-event listeners registered upon this progress bar.protected ChangeListenerJSlider.changeListenerThe changeListener (no suffix) is the listener we add to the slider's model.protected ChangeListenerJTabbedPane.changeListenerThechangeListeneris the listener we add to the model.Methods in javax.swing that return ChangeListenerModifier and TypeMethodDescriptionprotected ChangeListenerAbstractButton.createChangeListener()Subclasses that want to handleChangeEventsdifferently can override this to return anotherChangeListenerimplementation.protected ChangeListenerJProgressBar.createChangeListener()Subclasses that want to handle change events from the model differently can override this to return an instance of a customChangeListenerimplementation.protected ChangeListenerJSlider.createChangeListener()Subclasses that want to handleChangeEvents from the model differently can override this to return an instance of a customChangeListenerimplementation.protected ChangeListenerJTabbedPane.createChangeListener()Subclasses that want to handleChangeEventsdifferently can override this to return a subclass ofModelListeneror anotherChangeListenerimplementation.AbstractButton.getChangeListeners()Returns an array of all theChangeListeners added to this AbstractButton with addChangeListener().AbstractSpinnerModel.getChangeListeners()Returns an array of all theChangeListeners added to this AbstractSpinnerModel with addChangeListener().DefaultBoundedRangeModel.getChangeListeners()Returns an array of all the change listeners registered on thisDefaultBoundedRangeModel.DefaultButtonModel.getChangeListeners()Returns an array of all the change listeners registered on thisDefaultButtonModel.DefaultSingleSelectionModel.getChangeListeners()Returns an array of all the change listeners registered on thisDefaultSingleSelectionModel.JProgressBar.getChangeListeners()Returns an array of all theChangeListeners added to this progress bar withaddChangeListener.JSlider.getChangeListeners()Returns an array of all theChangeListeners added to this JSlider with addChangeListener().JSpinner.getChangeListeners()Returns an array of all theChangeListeners added to this JSpinner with addChangeListener().JTabbedPane.getChangeListeners()Returns an array of all theChangeListeners added to thisJTabbedPanewithaddChangeListener.JViewport.getChangeListeners()Returns an array of all theChangeListeners added to this JViewport with addChangeListener().MenuSelectionManager.getChangeListeners()Returns an array of all theChangeListeners added to this MenuSelectionManager with addChangeListener().Methods in javax.swing with parameters of type ChangeListenerModifier and TypeMethodDescriptionvoidAbstractButton.addChangeListener(ChangeListener l) Adds aChangeListenerto the button.voidAbstractSpinnerModel.addChangeListener(ChangeListener l) Adds a ChangeListener to the model's listener list.voidBoundedRangeModel.addChangeListener(ChangeListener x) Adds a ChangeListener to the model's listener list.voidButtonModel.addChangeListener(ChangeListener l) Adds aChangeListenerto the model.voidDefaultBoundedRangeModel.addChangeListener(ChangeListener l) Adds aChangeListener.voidDefaultButtonModel.addChangeListener(ChangeListener l) Adds aChangeListenerto the model.voidDefaultSingleSelectionModel.addChangeListener(ChangeListener l) Adds aChangeListenerto the button.voidJProgressBar.addChangeListener(ChangeListener l) Adds the specifiedChangeListenerto the progress bar.voidJSlider.addChangeListener(ChangeListener l) Adds a ChangeListener to the slider.voidJSpinner.addChangeListener(ChangeListener listener) Adds a listener to the list that is notified each time a change to the model occurs.voidJTabbedPane.addChangeListener(ChangeListener l) Adds aChangeListenerto this tabbedpane.voidJViewport.addChangeListener(ChangeListener l) Adds aChangeListenerto the list that is notified each time the view's size, position, or the viewport's extent size has changed.voidMenuSelectionManager.addChangeListener(ChangeListener l) Adds a ChangeListener to the button.voidSingleSelectionModel.addChangeListener(ChangeListener listener) Adds listener as a listener to changes in the model.voidSpinnerModel.addChangeListener(ChangeListener l) Adds aChangeListenerto the model's listener list.voidAbstractButton.removeChangeListener(ChangeListener l) Removes a ChangeListener from the button.voidAbstractSpinnerModel.removeChangeListener(ChangeListener l) Removes a ChangeListener from the model's listener list.voidBoundedRangeModel.removeChangeListener(ChangeListener x) Removes a ChangeListener from the model's listener list.voidButtonModel.removeChangeListener(ChangeListener l) Removes aChangeListenerfrom the model.voidDefaultBoundedRangeModel.removeChangeListener(ChangeListener l) Removes aChangeListener.voidDefaultButtonModel.removeChangeListener(ChangeListener l) Removes aChangeListenerfrom the model.voidDefaultSingleSelectionModel.removeChangeListener(ChangeListener l) Removes aChangeListenerfrom the button.voidJProgressBar.removeChangeListener(ChangeListener l) Removes aChangeListenerfrom the progress bar.voidJSlider.removeChangeListener(ChangeListener l) Removes a ChangeListener from the slider.voidJSpinner.removeChangeListener(ChangeListener listener) Removes aChangeListenerfrom this spinner.voidJTabbedPane.removeChangeListener(ChangeListener l) Removes aChangeListenerfrom this tabbedpane.voidJViewport.removeChangeListener(ChangeListener l) Removes aChangeListenerfrom the list that's notified each time the views size, position, or the viewports extent size has changed.voidMenuSelectionManager.removeChangeListener(ChangeListener l) Removes a ChangeListener from the button.voidSingleSelectionModel.removeChangeListener(ChangeListener listener) Removes listener as a listener to changes in the model.voidSpinnerModel.removeChangeListener(ChangeListener l) Removes aChangeListenerfrom the model's listener list. -
Uses of ChangeListener in javax.swing.colorchooser
Methods in javax.swing.colorchooser that return ChangeListenerModifier and TypeMethodDescriptionDefaultColorSelectionModel.getChangeListeners()Returns an array of all theChangeListeners added to thisDefaultColorSelectionModelwithaddChangeListener.Methods in javax.swing.colorchooser with parameters of type ChangeListenerModifier and TypeMethodDescriptionvoidColorSelectionModel.addChangeListener(ChangeListener listener) Addslisteneras a listener to changes in the model.voidDefaultColorSelectionModel.addChangeListener(ChangeListener l) Adds aChangeListenerto the model.voidColorSelectionModel.removeChangeListener(ChangeListener listener) Removeslisteneras a listener to changes in the model.voidDefaultColorSelectionModel.removeChangeListener(ChangeListener l) Removes aChangeListenerfrom the model. -
Uses of ChangeListener in javax.swing.plaf.basic
Classes in javax.swing.plaf.basic that implement ChangeListenerModifier and TypeClassDescriptionclassButton ListenerclassAs of Java 2 platform 1.4, this previously undocumented class is now obsolete.classThis class should be treated as a "protected" inner class.protected classA listener to listen for model changes.classDeprecated.classDeprecated.classDeprecated.classData model listener.classThis class should be treated as a "protected" inner class.Fields in javax.swing.plaf.basic declared as ChangeListenerModifier and TypeFieldDescriptionprotected ChangeListenerBasicMenuBarUI.changeListenerThe instance ofChangeListener.protected ChangeListenerBasicMenuUI.changeListenerThe instance ofChangeListener.protected ChangeListenerBasicProgressBarUI.changeListenerThe instance ofChangeListener.protected ChangeListenerBasicSliderUI.changeListenerChange listenerprotected ChangeListenerBasicScrollPaneUI.hsbChangeListenerChangeListenerinstalled on the horizontal scrollbar.protected ChangeListenerBasicColorChooserUI.previewListenerThe instance ofChangeListener.protected ChangeListenerBasicTabbedPaneUI.tabChangeListenerTab change listenerprotected ChangeListenerBasicScrollPaneUI.viewportChangeListenerChangeListenerinstalled on the viewport.protected ChangeListenerBasicScrollPaneUI.vsbChangeListenerChangeListenerinstalled on the vertical scrollbar.Methods in javax.swing.plaf.basic that return ChangeListenerModifier and TypeMethodDescriptionprotected ChangeListenerBasicMenuBarUI.createChangeListener()Returns an instance ofChangeListener.protected ChangeListenerBasicMenuUI.createChangeListener(JComponent c) Returns an instance ofChangeListener.protected ChangeListenerBasicSliderUI.createChangeListener(JSlider slider) Creates a change listener.protected ChangeListenerBasicTabbedPaneUI.createChangeListener()Creates a change listener.protected ChangeListenerBasicScrollPaneUI.createHSBChangeListener()Returns an instance of horizontal scroll barChangeListener.protected ChangeListenerBasicScrollPaneUI.createViewportChangeListener()Returns an instance of viewportChangeListener.protected ChangeListenerBasicScrollPaneUI.createVSBChangeListener()Returns an instance of vertical scroll barChangeListener. -
Uses of ChangeListener in javax.swing.text
Methods in javax.swing.text that return ChangeListenerModifier and TypeMethodDescriptionDefaultCaret.getChangeListeners()Returns an array of all the change listeners registered on this caret.StyleContext.getChangeListeners()Returns an array of all theChangeListeners added to this StyleContext with addChangeListener().StyleContext.NamedStyle.getChangeListeners()Returns an array of all theChangeListeners added to this NamedStyle with addChangeListener().Methods in javax.swing.text with parameters of type ChangeListenerModifier and TypeMethodDescriptionvoidCaret.addChangeListener(ChangeListener l) Adds a listener to track whenever the caret position has been changed.voidDefaultCaret.addChangeListener(ChangeListener l) Adds a listener to track whenever the caret position has been changed.voidStyle.addChangeListener(ChangeListener l) Adds a listener to track whenever an attribute has been changed.voidStyleContext.addChangeListener(ChangeListener l) Adds a listener to track when styles are added or removed.voidStyleContext.NamedStyle.addChangeListener(ChangeListener l) Adds a change listener.voidCaret.removeChangeListener(ChangeListener l) Removes a listener that was tracking caret position changes.voidDefaultCaret.removeChangeListener(ChangeListener l) Removes a listener that was tracking caret position changes.voidStyle.removeChangeListener(ChangeListener l) Removes a listener that was tracking attribute changes.voidStyleContext.NamedStyle.removeChangeListener(ChangeListener l) Removes a change listener.voidStyleContext.removeChangeListener(ChangeListener l) Removes a listener that was tracking styles being added or removed.