public AbstractButton configure ( AbstractButton button ) { Assert . notNull ( button , "The button to configure is required" ) ; button . setIcon ( icon ) ; button . setSelectedIcon ( selectedIcon ) ; button . setDisabledIcon ( disabledIcon ) ; button . setPressedIcon ( pressedIcon ) ; button . setRolloverIcon ( rolloverIcon ) ; return button ; }
Configures the given command button with the icon values from this instance .