站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface javax.swing.event.ChangeListener - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
javax.swing.event.ChangeListener

Packages that use ChangeListener
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.colorchooser Contains classes and interfaces used by the JColorChooser component. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of ChangeListener in javax.swing
 

Classes in javax.swing that implement ChangeListener
protected  class AbstractButton.ButtonChangeListener
          Extend ChangeListener to be serializable
protected  class JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem
          The class used to obtain the accessible role for this object.
protected  class JMenu.AccessibleJMenu
          The class used to obtain the accessible role for this object.
protected  class JMenuItem.AccessibleJMenuItem
          The class used to obtain the accessible role for this object.
protected  class JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem
          The class used to obtain the accessible role for this object.
protected  class JScrollPane.AccessibleJScrollPane
          The class used to obtain the accessible role for this object.
protected  class JTabbedPane.AccessibleJTabbedPane
          The class used to obtain the accessible role for this object.
protected  class JTabbedPane.ModelListener
          We pass ModelChanged events along to the listeners with the tabbedpane (instead of the model itself) as the event source.
 

Fields in javax.swing declared as ChangeListener
protected  ChangeListener JSlider.changeListener
          The changeListener (no suffix) is the listener we add to the Sliders model.
protected  ChangeListener AbstractButton.changeListener
          The button's model listeners.
protected  ChangeListener JProgressBar.changeListener
           
protected  ChangeListener JTabbedPane.changeListener
          The changeListener is the listener we add to the model.
 

Methods in javax.swing that return ChangeListener
protected  ChangeListener JSlider.createChangeListener()
          Subclasses that want to handle model ChangeEvents differently can override this method to return their own ChangeListener implementation.
protected  ChangeListener AbstractButton.createChangeListener()
          Subclasses that want to handle ChangeEvents differently can override this to return another ChangeListener implementation.
protected  ChangeListener JProgressBar.createChangeListener()
           
protected  ChangeListener JTabbedPane.createChangeListener()
          Subclasses that want to handle ChangeEvents differently can override this to return a subclass of ModelListener or another ChangeListener implementation.
 

Methods in javax.swing with parameters of type ChangeListener
 void JSlider.addChangeListener(ChangeListener l)
          Adds a ChangeListener to the slider.
 void JSlider.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from the slider.
 void BoundedRangeModel.addChangeListener(ChangeListener x)
          Adds a ChangeListener to the model's listener list.
 void BoundedRangeModel.removeChangeListener(ChangeListener x)
          Removes a ChangeListener from the model's listener list.
 void MenuSelectionManager.addChangeListener(ChangeListener l)
          Adds a ChangeListener to the button.
 void MenuSelectionManager.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from the button.
 void AbstractButton.addChangeListener(ChangeListener l)
          Adds a ChangeListener to the button.
 void AbstractButton.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from the button.
 void DefaultSingleSelectionModel.addChangeListener(ChangeListener l)
          Adds a ChangeListener to the button.
 void DefaultSingleSelectionModel.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from the button.
 void ButtonModel.addChangeListener(ChangeListener l)
          Adds a ChangeListener to the button.
 void ButtonModel.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from the button.
 void JProgressBar.addChangeListener(ChangeListener l)
          Adds a ChangeListener to the button.
 void JProgressBar.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from the button.
 void JViewport.addChangeListener(ChangeListener l)
          Add a ChangeListener to the list that's notified each time the view's size, position, or the viewport's extent size has changed.
 void JViewport.removeChangeListener(ChangeListener l)
          Remove a ChangeListener from the list that's notified each time the views size, position, or the viewports extent size has changed.
 void DefaultBoundedRangeModel.addChangeListener(ChangeListener l)
          Adds a ChangeListener.
 void DefaultBoundedRangeModel.removeChangeListener(ChangeListener l)
          Removes a ChangeListener.
 void DefaultButtonModel.addChangeListener(ChangeListener l)
          Adds a ChangeListener to the button.
 void DefaultButtonModel.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from the button.
 void JTabbedPane.addChangeListener(ChangeListener l)
          Adds a ChangeListener to this tabbedpane.
 void JTabbedPane.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from this tabbedpane.
 void SingleSelectionModel.addChangeListener(ChangeListener listener)
          Adds listener as a listener to changes in the model.
 void SingleSelectionModel.removeChangeListener(ChangeListener listener)
          Removes listener as a listener to changes in the model.
 

Uses of ChangeListener in javax.swing.colorchooser
 

Methods in javax.swing.colorchooser with parameters of type ChangeListener
 void DefaultColorSelectionModel.addChangeListener(ChangeListener l)
          Adds a ChangeListener to the model.
 void DefaultColorSelectionModel.removeChangeListener(ChangeListener l)
          Removes a ChangeListener from the model.
 void ColorSelectionModel.addChangeListener(ChangeListener listener)
          Adds listener as a listener to changes in the model.
 void ColorSelectionModel.removeChangeListener(ChangeListener listener)
          Removes listener as a listener to changes in the model.
 

Uses of ChangeListener in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement ChangeListener
 class BasicButtonListener
          Button Listener
 class BasicMenuUI.ChangeHandler
           
 class BasicProgressBarUI.ChangeHandler
          This inner class is marked "public" due to a compiler bug.
protected  class BasicScrollBarUI.ModelListener
          A listener to listen for model changes.
 class BasicScrollPaneUI.HSBChangeListener
          Horizontal scrollbar listener.
 class BasicScrollPaneUI.ViewportChangeHandler
          Listener for viewport events.
 class BasicScrollPaneUI.VSBChangeListener
          Vertical scrollbar listener.
 class BasicSliderUI.ChangeHandler
          Data model listener.
 class BasicTabbedPaneUI.TabSelectionHandler
          This inner class is marked "public" due to a compiler bug.
 

Fields in javax.swing.plaf.basic declared as ChangeListener
protected  ChangeListener BasicColorChooserUI.previewListener
           
protected  ChangeListener BasicTabbedPaneUI.tabChangeListener
           
protected  ChangeListener BasicSliderUI.changeListener
           
protected  ChangeListener BasicProgressBarUI.changeListener
           
protected  ChangeListener BasicMenuBarUI.changeListener
           
protected  ChangeListener BasicScrollPaneUI.vsbChangeListener
           
protected  ChangeListener BasicScrollPaneUI.hsbChangeListener
           
protected  ChangeListener BasicScrollPaneUI.viewportChangeListener
           
protected  ChangeListener BasicMenuUI.changeListener
           
 

Methods in javax.swing.plaf.basic that return ChangeListener
protected  ChangeListener BasicTabbedPaneUI.createChangeListener()
           
protected  ChangeListener BasicSliderUI.createChangeListener(JSlider slider)
           
protected  ChangeListener BasicMenuBarUI.createChangeListener()
           
protected  ChangeListener BasicScrollPaneUI.createViewportChangeListener()
           
protected  ChangeListener BasicScrollPaneUI.createHSBChangeListener()
           
protected  ChangeListener BasicScrollPaneUI.createVSBChangeListener()
           
protected  ChangeListener BasicMenuUI.createChangeListener(JComponent c)
           
 

Uses of ChangeListener in javax.swing.text
 

Methods in javax.swing.text with parameters of type ChangeListener
 void Caret.addChangeListener(ChangeListener l)
          Adds a listener to track whenever the caret position has been changed.
 void Caret.removeChangeListener(ChangeListener l)
          Removes a listener that was tracking caret position changes.
 void DefaultCaret.addChangeListener(ChangeListener l)
          Adds a listener to track whenever the caret position has been changed.
 void DefaultCaret.removeChangeListener(ChangeListener l)
          Removes a listener that was tracking caret position changes.
 void Style.addChangeListener(ChangeListener l)
          Adds a listener to track whenever an attribute has been changed.
 void Style.removeChangeListener(ChangeListener l)
          Removes a listener that was tracking attribute changes.
 void StyleContext.addChangeListener(ChangeListener l)
          Adds a listener to track when styles are added or removed.
 void StyleContext.removeChangeListener(ChangeListener l)
          Removes a listener that was tracking styles being added or removed.
 void StyleContext.NamedStyle.addChangeListener(ChangeListener l)
          Adds a change listener.
 void StyleContext.NamedStyle.removeChangeListener(ChangeListener l)
          Removes a change listener.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.