Class CSSPropertySelectedImageVisibleSWTHandler
java.lang.Object
org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
org.eclipse.e4.ui.css.swt.properties.custom.CSSPropertySelectedImageVisibleSWTHandler
- All Implemented Interfaces:
ICSSPropertyHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into the SWTcontrol
(ex : SWT Text, SWT Label).retrieveCSSProperty
(Control control, String property, String pseudo, CSSEngine engine) Retrieve CSS value (ex : red) of CSS Propertyproperty
(ex : background-color) from the SWTcontrol
(ex : SWT Text, SWT Label).Methods inherited from class org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
applyCSSProperty, retrieveCSSProperty
-
Constructor Details
-
CSSPropertySelectedImageVisibleSWTHandler
public CSSPropertySelectedImageVisibleSWTHandler()
-
-
Method Details
-
applyCSSProperty
public 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
public String retrieveCSSProperty(Control control, String property, String pseudo, CSSEngine engine) throws Exception Description copied from class:AbstractCSSPropertySWTHandler
Retrieve CSS value (ex : red) of CSS Propertyproperty
(ex : background-color) from the SWTcontrol
(ex : SWT Text, SWT Label).- Specified by:
retrieveCSSProperty
in classAbstractCSSPropertySWTHandler
- Parameters:
control
- SWT control to changeproperty
- CSS Propertypseudo
- the pseudo class to use, ornull
if none is requiredengine
- CSS Engine- Returns:
- retrieved CSS properties or
null
- Throws:
Exception
- if retrieving CSS failed
-