Class CSSPropertyLinkSWTHandler
java.lang.Object
org.eclipse.e4.ui.css.swt.properties.custom.CSSPropertyLinkSWTHandler
- All Implemented Interfaces:
ICSSPropertyHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.e4.ui.css.core.dom.properties.ICSSPropertyHandler
retrieveCSSProperty
-
Field Details
-
SWT_LINK_FOREGROUND_COLOR
- See Also:
-
-
Constructor Details
-
CSSPropertyLinkSWTHandler
public CSSPropertyLinkSWTHandler()
-
-
Method Details
-
applyCSSProperty
public boolean applyCSSProperty(Object element, String property, CSSValue value, String pseudo, CSSEngine engine) throws Exception Description copied from interface:ICSSPropertyHandlerApply CSS Propertyproperty(ex : background-color) with CSSValuevalue(ex : red) into theelement(ex : Swing Component, SWT Widget).- Specified by:
applyCSSPropertyin interfaceICSSPropertyHandler- Parameters:
element- Swing Component, SWT Widget...property- CSS Propertyvalue- CSS valuepseudo- the pseudo class to use, ornullif none is requiredengine- CSS Engine- Returns:
- weather CSS property was applied or not
- Throws:
Exception- if applying CSS failed
-