Runtime Link between Component and its Connector

I want to override some inline styles of an Element in a widget.

One way to do that was to subclass the connector’s createWidget() class;,

and do
Widget w = super.createWidget();
w.getElement().addAttribute*“style”,“onmouseover=dosomething(); …”);
return w;

But I don’t want to subclass. ;(

How can I get to a widget object after knowing a component object, during initialization of Vaadin 7.2.6

How are the component objects and their connector object linked??

AbsoluteComponentConnector conn = VAADINMAGIC.getConnector(myComponent);

I need to do this at app initialization.

You could probably do this using a Component Extension:

There you can get the Widget object inside the extend method.