JSR-209 (Final Release)

Uses of Interface
javax.swing.ButtonModel

Packages that use ButtonModel
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of ButtonModel in javax.swing
 

Classes in javax.swing that implement ButtonModel
 class DefaultButtonModel
          The default implementation of a Button component's data model.
static class JToggleButton.ToggleButtonModel
          The ToggleButton model
 

Fields in javax.swing declared as ButtonModel
protected  ButtonModel AbstractButton.model
          The data model that determines the button's state.
 

Methods in javax.swing that return ButtonModel
 ButtonModel ButtonGroup.getSelection()
          Returns the model of the selected button.
 ButtonModel AbstractButton.getModel()
          Returns the model that this button represents.
 

Methods in javax.swing with parameters of type ButtonModel
 void JMenu.setModel(ButtonModel newModel)
          Sets the data model for the "menu button" -- the label that the user clicks to open or close the menu.
 void ButtonGroup.setSelected(ButtonModel m, boolean b)
          Sets the selected value for the ButtonModel.
 boolean ButtonGroup.isSelected(ButtonModel m)
          Returns whether a ButtonModel is selected.
 void AbstractButton.setModel(ButtonModel newModel)
          Sets the model that this button represents.
 


JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.