(Image pressedIcon)
| 435 | /// |
| 436 | /// - #STATE_PRESSED |
| 437 | @Override |
| 438 | public void setPressedIcon(Image pressedIcon) { |
| 439 | this.pressedIcon = pressedIcon; |
| 440 | setShouldCalcPreferredSize(true); |
| 441 | checkAnimation(); |
| 442 | repaint(); |
| 443 | } |
| 444 | |
| 445 | /// Indicates the icon that is displayed on the button when the button is in |
| 446 | /// pressed state and is selected. This is ONLY applicable to toggle buttons |
no test coverage detected