| |
|
| java.lang.Object javax.swing.DefaultButtonModel org.jvnet.substance.utils.CompositeButtonModel
CompositeButtonModel | public class CompositeButtonModel extends DefaultButtonModel (Code) | | Composite button model that tracks changes to one primary and any number of
secondary button models for composite rollover effects. This model can be
used to "simulate" rollover effects on the primary component when the actual
rollover happens on one of the secondary components. An example is a scroll
bar. When the mouse enters one of the scroll buttons, the scroll track is
highlighted as well.
author: Kirill Grouchnikov |
CompositeButtonModel | public CompositeButtonModel(ButtonModel primaryModel, ButtonModel... secondaryModels)(Code) | | Creates a new composite button model.
Parameters: primaryModel - The primary model. Parameters: secondaryModels - The secondary models. |
CompositeButtonModel | public CompositeButtonModel(ButtonModel primaryModel, AbstractButton... secondaryButtons)(Code) | | Creates a new composite button model.
Parameters: primaryModel - The primary model. Parameters: secondaryButtons - The secondary buttons. |
isArmed | public boolean isArmed()(Code) | | |
isEnabled | public boolean isEnabled()(Code) | | |
isPressed | public boolean isPressed()(Code) | | |
isRollover | public boolean isRollover()(Code) | | |
isSelected | public boolean isSelected()(Code) | | |
|
|
|