SpeedToggleButton
floodsim.view.component.SpeedToggleButton
class SpeedToggleButton extends UIComponent[JButton]
Button that cycles through predefined simulation speeds with each click.
- The button label is updated to reflect the current speed.
- Registered listeners are notified on every change. Usage:
- Call onSpeedChange to subscribe.
- Retrieve the Swing component via component.
Attributes
- Graph
-
- Supertypes
Members list
In this article