Class SWTElementHelpers
java.lang.Object
org.eclipse.e4.ui.css.swt.helpers.SWTElementHelpers
SWT Helper to link w3c Element with SWT widget.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Control
getControl
(Object element) Return the SWT Control which is wrapped to the objectelement
.static Element
getElement
(Widget widget, CSSEngine engine) Return the w3c Element linked to the SWT widget.static Element
getElement
(Widget widget, CSSEngine engine, Class<?> classElement) Return the w3c Element linked to the SWT widget.static Element
getHTMLElement
(Widget widget, CSSEngine engine) Return the w3c Element linked to the SWT widget.static Widget
Return 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
.
-