rolloverEnabled

Sets whether a button paints its rollover state - the look it takes while the pointer is over it.

A button takes this from the look and feel until something sets it, as it takes contentAreaFilled. Setting a rolloverIcon or a rolloverSelectedIcon switches it on by itself; set it here to paint a rollover a look and feel would not, or to suppress one it would.

Parameters

enabled

false keeps the button looking the same under the pointer, and keeps a rolloverIcon from being drawn.

See also