rolloverEnabled

Sets whether a button paints its rollover state - the look it takes while the pointer is over it. Applies to everything built on a button.

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

Return

this modifier with rollover painting declared on it.

Parameters

enabled

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

See also