Uses of Interface
javax.swing.event.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
Modifier and TypeMethodDescriptionstatic void
SwingEventMonitor.addChangeListener
(ChangeListener l) Adds the specified listener to receive allCHANGE
events on each component instance in the Java Virtual Machine as they occur.static void
SwingEventMonitor.removeChangeListener
(ChangeListener l) Removes the specified listener so it no longer receivesCHANGE
events when they occur. -
Uses of ChangeListener in javax.swing
Modifier and TypeClassDescriptionprotected class
ExtendsChangeListener
to be serializable.protected class
This class implements accessibility support for theJCheckBoxMenuItem
class.protected class
This class implements accessibility support for theJMenu
class.protected class
This class implements accessibility support for theJMenuItem
class.protected class
This class implements accessibility support for theJRadioButtonMenuItem
class.protected class
This class implements accessibility support for theJScrollPane
class.protected class
This class implements accessibility support for theJSlider
class.protected class
AccessibleJSpinner
implements accessibility support for theJSpinner
class.static class
An editor for aJSpinner
whose model is aSpinnerDateModel
.static class
A simple base class for more specialized editors that displays a read-only view of the model's current value with aJFormattedTextField
.static class
An editor for aJSpinner
whose model is aSpinnerListModel
.static class
An editor for aJSpinner
whose model is aSpinnerNumberModel
.protected class
This class implements accessibility support for theJTabbedPane
class.protected class
We passModelChanged
events along to the listeners with the tabbedpane (instead of the model itself) as the event source.protected class
AccessibleProgressMonitor
implements accessibility support for theProgressMonitor
class.Modifier and TypeFieldDescriptionprotected ChangeListener
AbstractButton.changeListener
The button model'schangeListener
.protected ChangeListener
JProgressBar.changeListener
Listens for change events sent by the progress bar's model, redispatching them to change-event listeners registered upon this progress bar.protected ChangeListener
JSlider.changeListener
The changeListener (no suffix) is the listener we add to the slider's model.protected ChangeListener
JTabbedPane.changeListener
ThechangeListener
is the listener we add to the model.Modifier and TypeMethodDescriptionprotected ChangeListener
AbstractButton.createChangeListener()
Subclasses that want to handleChangeEvents
differently can override this to return anotherChangeListener
implementation.protected ChangeListener
JProgressBar.createChangeListener()
Subclasses that want to handle change events from the model differently can override this to return an instance of a customChangeListener
implementation.protected ChangeListener
JSlider.createChangeListener()
Subclasses that want to handleChangeEvent
s from the model differently can override this to return an instance of a customChangeListener
implementation.protected ChangeListener
JTabbedPane.createChangeListener()
Subclasses that want to handleChangeEvents
differently can override this to return a subclass ofModelListener
or anotherChangeListener
implementation.AbstractButton.getChangeListeners()
Returns an array of all theChangeListener
s added to this AbstractButton with addChangeListener().AbstractSpinnerModel.getChangeListeners()
Returns an array of all theChangeListener
s 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 theChangeListener
s added to this progress bar withaddChangeListener
.JSlider.getChangeListeners()
Returns an array of all theChangeListener
s added to this JSlider with addChangeListener().JSpinner.getChangeListeners()
Returns an array of all theChangeListener
s added to this JSpinner with addChangeListener().JTabbedPane.getChangeListeners()
Returns an array of all theChangeListener
s added to thisJTabbedPane
withaddChangeListener
.JViewport.getChangeListeners()
Returns an array of all theChangeListener
s added to this JViewport with addChangeListener().MenuSelectionManager.getChangeListeners()
Returns an array of all theChangeListener
s added to this MenuSelectionManager with addChangeListener().Modifier and TypeMethodDescriptionvoid
AbstractButton.addChangeListener
(ChangeListener l) Adds aChangeListener
to the button.void
AbstractSpinnerModel.addChangeListener
(ChangeListener l) Adds a ChangeListener to the model's listener list.void
BoundedRangeModel.addChangeListener
(ChangeListener x) Adds a ChangeListener to the model's listener list.void
ButtonModel.addChangeListener
(ChangeListener l) Adds aChangeListener
to the model.void
DefaultBoundedRangeModel.addChangeListener
(ChangeListener l) Adds aChangeListener
.void
DefaultButtonModel.addChangeListener
(ChangeListener l) Adds aChangeListener
to the model.void
DefaultSingleSelectionModel.addChangeListener
(ChangeListener l) Adds aChangeListener
to the button.void
JProgressBar.addChangeListener
(ChangeListener l) Adds the specifiedChangeListener
to the progress bar.void
JSlider.addChangeListener
(ChangeListener l) Adds a ChangeListener to the slider.void
JSpinner.addChangeListener
(ChangeListener listener) Adds a listener to the list that is notified each time a change to the model occurs.void
JTabbedPane.addChangeListener
(ChangeListener l) Adds aChangeListener
to this tabbedpane.void
JViewport.addChangeListener
(ChangeListener l) Adds aChangeListener
to the list that is notified each time the view's size, position, or the viewport's extent size has changed.void
MenuSelectionManager.addChangeListener
(ChangeListener l) Adds a ChangeListener to the button.void
SingleSelectionModel.addChangeListener
(ChangeListener listener) Adds listener as a listener to changes in the model.void
SpinnerModel.addChangeListener
(ChangeListener l) Adds aChangeListener
to the model's listener list.void
AbstractButton.removeChangeListener
(ChangeListener l) Removes a ChangeListener from the button.void
AbstractSpinnerModel.removeChangeListener
(ChangeListener l) Removes a ChangeListener from the model's listener list.void
BoundedRangeModel.removeChangeListener
(ChangeListener x) Removes a ChangeListener from the model's listener list.void
ButtonModel.removeChangeListener
(ChangeListener l) Removes aChangeListener
from the model.void
DefaultBoundedRangeModel.removeChangeListener
(ChangeListener l) Removes aChangeListener
.void
DefaultButtonModel.removeChangeListener
(ChangeListener l) Removes aChangeListener
from the model.void
DefaultSingleSelectionModel.removeChangeListener
(ChangeListener l) Removes aChangeListener
from the button.void
JProgressBar.removeChangeListener
(ChangeListener l) Removes aChangeListener
from the progress bar.void
JSlider.removeChangeListener
(ChangeListener l) Removes a ChangeListener from the slider.void
JSpinner.removeChangeListener
(ChangeListener listener) Removes aChangeListener
from this spinner.void
JTabbedPane.removeChangeListener
(ChangeListener l) Removes aChangeListener
from this tabbedpane.void
JViewport.removeChangeListener
(ChangeListener l) Removes aChangeListener
from the list that's notified each time the views size, position, or the viewports extent size has changed.void
MenuSelectionManager.removeChangeListener
(ChangeListener l) Removes a ChangeListener from the button.void
SingleSelectionModel.removeChangeListener
(ChangeListener listener) Removes listener as a listener to changes in the model.void
SpinnerModel.removeChangeListener
(ChangeListener l) Removes aChangeListener
from the model's listener list. -
Uses of ChangeListener in javax.swing.colorchooser
Modifier and TypeMethodDescriptionDefaultColorSelectionModel.getChangeListeners()
Returns an array of all theChangeListener
s added to thisDefaultColorSelectionModel
withaddChangeListener
.Modifier and TypeMethodDescriptionvoid
ColorSelectionModel.addChangeListener
(ChangeListener listener) Addslistener
as a listener to changes in the model.void
DefaultColorSelectionModel.addChangeListener
(ChangeListener l) Adds aChangeListener
to the model.void
ColorSelectionModel.removeChangeListener
(ChangeListener listener) Removeslistener
as a listener to changes in the model.void
DefaultColorSelectionModel.removeChangeListener
(ChangeListener l) Removes aChangeListener
from the model. -
Uses of ChangeListener in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
Button Listenerclass
As of Java 2 platform 1.4, this previously undocumented class is now obsolete.class
This class should be treated as a "protected" inner class.protected class
A listener to listen for model changes.class
Deprecated.class
Deprecated.class
Deprecated.class
Data model listener.class
This class should be treated as a "protected" inner class.Modifier and TypeFieldDescriptionprotected ChangeListener
BasicMenuBarUI.changeListener
The instance ofChangeListener
.protected ChangeListener
BasicMenuUI.changeListener
The instance ofChangeListener
.protected ChangeListener
BasicProgressBarUI.changeListener
The instance ofChangeListener
.protected ChangeListener
BasicSliderUI.changeListener
Change listenerprotected ChangeListener
BasicScrollPaneUI.hsbChangeListener
ChangeListener
installed on the horizontal scrollbar.protected ChangeListener
BasicColorChooserUI.previewListener
The instance ofChangeListener
.protected ChangeListener
BasicTabbedPaneUI.tabChangeListener
Tab change listenerprotected ChangeListener
BasicScrollPaneUI.viewportChangeListener
ChangeListener
installed on the viewport.protected ChangeListener
BasicScrollPaneUI.vsbChangeListener
ChangeListener
installed on the vertical scrollbar.Modifier and TypeMethodDescriptionprotected ChangeListener
BasicMenuBarUI.createChangeListener()
Returns an instance ofChangeListener
.protected ChangeListener
BasicMenuUI.createChangeListener
(JComponent c) Returns an instance ofChangeListener
.protected ChangeListener
BasicSliderUI.createChangeListener
(JSlider slider) Creates a change listener.protected ChangeListener
BasicTabbedPaneUI.createChangeListener()
Creates a change listener.protected ChangeListener
BasicScrollPaneUI.createHSBChangeListener()
Returns an instance of horizontal scroll barChangeListener
.protected ChangeListener
BasicScrollPaneUI.createViewportChangeListener()
Returns an instance of viewportChangeListener
.protected ChangeListener
BasicScrollPaneUI.createVSBChangeListener()
Returns an instance of vertical scroll barChangeListener
. -
Uses of ChangeListener in javax.swing.text
Modifier and TypeMethodDescriptionDefaultCaret.getChangeListeners()
Returns an array of all the change listeners registered on this caret.StyleContext.getChangeListeners()
Returns an array of all theChangeListener
s added to this StyleContext with addChangeListener().StyleContext.NamedStyle.getChangeListeners()
Returns an array of all theChangeListener
s added to this NamedStyle with addChangeListener().Modifier and TypeMethodDescriptionvoid
Caret.addChangeListener
(ChangeListener l) Adds a listener to track whenever the caret position has been changed.void
DefaultCaret.addChangeListener
(ChangeListener l) Adds a listener to track whenever the caret position has been changed.void
Style.addChangeListener
(ChangeListener l) Adds a listener to track whenever an attribute has been changed.void
StyleContext.addChangeListener
(ChangeListener l) Adds a listener to track when styles are added or removed.void
StyleContext.NamedStyle.addChangeListener
(ChangeListener l) Adds a change listener.void
Caret.removeChangeListener
(ChangeListener l) Removes a listener that was tracking caret position changes.void
DefaultCaret.removeChangeListener
(ChangeListener l) Removes a listener that was tracking caret position changes.void
Style.removeChangeListener
(ChangeListener l) Removes a listener that was tracking attribute changes.void
StyleContext.NamedStyle.removeChangeListener
(ChangeListener l) Removes a change listener.void
StyleContext.removeChangeListener
(ChangeListener l) Removes a listener that was tracking styles being added or removed.