Class CSSPropertySelectedTabsSWTHandler
java.lang.Object
org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
org.eclipse.e4.ui.css.swt.properties.custom.CSSPropertySelectedTabsSWTHandler
- All Implemented Interfaces:
ICSSPropertyHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidApply CSS Propertyproperty(ex : background-color) with CSSValuevalue(ex : red) into the SWTcontrol(ex : SWT Text, SWT Label).protected StringretrieveCSSProperty(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 AbstractCSSPropertySWTHandler
applyCSSProperty, retrieveCSSPropertyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ICSSPropertyHandler
onAllCSSPropertiesApplied, onAllCSSPropertiesApplied
-
Constructor Details
-
CSSPropertySelectedTabsSWTHandler
public CSSPropertySelectedTabsSWTHandler()
-
-
Method Details
-
applyCSSProperty
protected void applyCSSProperty(Control control, String property, CSSValue value, String pseudo, CSSEngine engine) throws Exception Description copied from class:AbstractCSSPropertySWTHandlerApply CSS Propertyproperty(ex : background-color) with CSSValuevalue(ex : red) into the SWTcontrol(ex : SWT Text, SWT Label).- Specified by:
applyCSSPropertyin classAbstractCSSPropertySWTHandler- Parameters:
control- SWT control to changeproperty- CSS Propertyvalue- CSS valuepseudo- the pseudo class to use, ornullif none is requiredengine- CSS Engine- Throws:
Exception- if applying CSS failed
-
retrieveCSSProperty
protected String retrieveCSSProperty(Control control, String property, String pseudo, CSSEngine engine) throws Exception Description copied from class:AbstractCSSPropertySWTHandlerRetrieve CSS value (ex : red) of CSS Propertyproperty(ex : background-color) from the SWTcontrol(ex : SWT Text, SWT Label).- Specified by:
retrieveCSSPropertyin classAbstractCSSPropertySWTHandler- Parameters:
control- SWT control to changeproperty- CSS Propertypseudo- the pseudo class to use, ornullif none is requiredengine- CSS Engine- Returns:
- retrieved CSS properties or
null - Throws:
Exception- if retrieving CSS failed
-