Java Platform 1.2

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 Warning: Serialized objects of this class will not be compatible with future Swing releases.
 

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 AbstractButton.getModel()
          Get the model that this button represents.
 ButtonModel ButtonGroup.getSelection()
          Return the selected button model.
 

Methods in javax.swing with parameters of type ButtonModel
 void AbstractButton.setModel(ButtonModel newModel)
          Set the model that this button represents.
 void JMenu.setModel(ButtonModel newModel)
          Set 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 button.
 boolean ButtonGroup.isSelected(ButtonModel m)
          Returns the selected value for the button.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.