Class SWTElementHelpers
java.lang.Object
org.eclipse.e4.ui.css.swt.helpers.SWTElementHelpers
SWT Helper to link w3c Element with SWT widget.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ControlgetControl(Object element) Return the SWT Control which is wrapped to the objectelement.static ElementgetElement(Widget widget, CSSEngine engine) Return the w3c Element linked to the SWT widget.static ElementgetElement(Widget widget, CSSEngine engine, Class<?> classElement) Return the w3c Element linked to the SWT widget.static ElementgetHTMLElement(Widget widget, CSSEngine engine) Return the w3c Element linked to the SWT widget.static WidgetReturn the SWT Widget which is wrapped to the objectelement.
-
Field Details
-
SWT_ELEMENT_KEY
- See Also:
-
SWT_NODELIST_KEY
- See Also:
-
-
Constructor Details
-
SWTElementHelpers
public SWTElementHelpers()
-
-
Method Details
-
getElement
public static Element getElement(Widget widget, CSSEngine engine, Class<?> classElement) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException Return the w3c Element linked to the SWT widget. -
getElement
Return the w3c Element linked to the SWT widget. -
getHTMLElement
Return the w3c Element linked to the SWT widget. -
getControl
Return the SWT Control which is wrapped to the objectelement. -
getWidget
Return the SWT Widget which is wrapped to the objectelement.
-