| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 | DefaultButtonModelThe default implementation of a Buttoncomponent's data model. | 
| static class | JToggleButton.ToggleButtonModelThe ToggleButton model | 
| Fields in javax.swing declared as ButtonModel | |
|---|---|
| protected  ButtonModel | AbstractButton.modelThe data model that determines the button's state. | 
| Methods in javax.swing that return ButtonModel | |
|---|---|
|  ButtonModel | AbstractButton.getModel()Returns the model that this button represents. | 
|  ButtonModel | ButtonGroup.getSelection()Returns the model of the selected button. | 
| Methods in javax.swing with parameters of type ButtonModel | |
|---|---|
|  boolean | ButtonGroup.isSelected(ButtonModel m)Returns whether a ButtonModelis selected. | 
|  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 | AbstractButton.setModel(ButtonModel newModel)Sets the model that this button represents. | 
|  void | ButtonGroup.setSelected(ButtonModel m,
            boolean b)Sets the selected value for the ButtonModel. | 
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.