Class CSSPropertyMinimizeVisibleSWTHandler
java.lang.Object
org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
org.eclipse.e4.ui.css.swt.properties.custom.CSSPropertyMinimizeVisibleSWTHandler
- All Implemented Interfaces:
ICSSPropertyHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApply 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 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
-
CSSPropertyMinimizeVisibleSWTHandler
public CSSPropertyMinimizeVisibleSWTHandler()
-
-
Method Details
-
applyCSSProperty
public 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
public 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
-