public static < T extends HasMouseOverHandlers & HasMouseOutHandlers > void bindHovered ( final Value < Boolean > value , T ... targets ) { HoverHandler handler = new HoverHandler ( value ) ; for ( T target : targets ) { target . addMouseOverHandler ( handler ) ; target . addMouseOutHandler ( handler ) ; } }
Binds the hovered state of the supplied target widgets to the supplied boolean value . The supplied value will be toggled to true when the mouse is hovering over any of the supplied targets and false otherwise .