Class AbstractConvertedCSSPropertySWTHandler
java.lang.Object
org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
org.eclipse.e4.ui.css.swt.properties.AbstractConvertedCSSPropertySWTHandler
- All Implemented Interfaces:
ICSSPropertyHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into the SWTcontrol
(ex : SWT Text, SWT Label).protected abstract void
applyCSSPropertyValue
(Control control, String property, Object value, String pseudo, CSSEngine engine) protected abstract Object
protected String
retrieveCSSProperty
(Object value, String pseudo, CSSEngine engine) Methods inherited from class org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
applyCSSProperty, retrieveCSSProperty, retrieveCSSProperty
-
Constructor Details
-
AbstractConvertedCSSPropertySWTHandler
public AbstractConvertedCSSPropertySWTHandler()
-
-
Method Details
-
applyCSSProperty
protected void applyCSSProperty(Control control, String property, CSSValue value, String pseudo, CSSEngine engine) throws Exception Description copied from class:AbstractCSSPropertySWTHandler
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into the SWTcontrol
(ex : SWT Text, SWT Label).- Specified by:
applyCSSProperty
in classAbstractCSSPropertySWTHandler
- Parameters:
control
- SWT control to changeproperty
- CSS Propertyvalue
- CSS valuepseudo
- the pseudo class to use, ornull
if none is requiredengine
- CSS Engine- Throws:
Exception
- if applying CSS failed
-
retrieveCSSProperty
-
applyCSSPropertyValue
protected abstract void applyCSSPropertyValue(Control control, String property, Object value, String pseudo, CSSEngine engine) throws Exception - Throws:
Exception
-
getToType
-