Class CSSPropertyBorderSWTHandler
java.lang.Object
org.eclipse.e4.ui.css.core.dom.properties.AbstractCSSPropertyCompositeHandler
org.eclipse.e4.ui.css.core.dom.properties.css2.AbstractCSSPropertyBorderCompositeHandler
org.eclipse.e4.ui.css.core.dom.properties.css2.AbstractCSSPropertyBorderHandler
org.eclipse.e4.ui.css.swt.properties.css2.CSSPropertyBorderSWTHandler
- All Implemented Interfaces:
ICSSPropertyBorderHandler
,ICSSPropertyCompositeHandler
,ICSSPropertyHandler
,ICSSPropertyHandler2
public class CSSPropertyBorderSWTHandler
extends AbstractCSSPropertyBorderHandler
implements ICSSPropertyHandler2
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into theelement
(ex : Swing Component, SWT Widget).void
onAllCSSPropertiesApplyed
(Object element, CSSEngine engine) Callback method called when all CSS properties are applied.Methods inherited from class org.eclipse.e4.ui.css.core.dom.properties.css2.AbstractCSSPropertyBorderHandler
applyCSSPropertyBorder, applyCSSPropertyBorderBottom, applyCSSPropertyBorderBottomColor, applyCSSPropertyBorderBottomStyle, applyCSSPropertyBorderBottomWidth, applyCSSPropertyBorderColor, applyCSSPropertyBorderColor, applyCSSPropertyBorderLeft, applyCSSPropertyBorderLeftColor, applyCSSPropertyBorderLeftStyle, applyCSSPropertyBorderLeftWidth, applyCSSPropertyBorderRight, applyCSSPropertyBorderRightColor, applyCSSPropertyBorderRightStyle, applyCSSPropertyBorderRightWidth, applyCSSPropertyBorderStyle, applyCSSPropertyBorderStyle, applyCSSPropertyBorderTop, applyCSSPropertyBorderTopColor, applyCSSPropertyBorderTopStyle, applyCSSPropertyBorderTopWidth, applyCSSPropertyBorderWidth, applyCSSPropertyBorderWidth, retrieveCSSProperty, retrieveCSSPropertyBorder, retrieveCSSPropertyBorderBottom, retrieveCSSPropertyBorderBottomColor, retrieveCSSPropertyBorderBottomStyle, retrieveCSSPropertyBorderBottomWidth, retrieveCSSPropertyBorderColor, retrieveCSSPropertyBorderLeft, retrieveCSSPropertyBorderLeftColor, retrieveCSSPropertyBorderLeftStyle, retrieveCSSPropertyBorderLeftWidth, retrieveCSSPropertyBorderRight, retrieveCSSPropertyBorderRightColor, retrieveCSSPropertyBorderRightStyle, retrieveCSSPropertyBorderRightWidth, retrieveCSSPropertyBorderStyle, retrieveCSSPropertyBorderTop, retrieveCSSPropertyBorderTopColor, retrieveCSSPropertyBorderTopStyle, retrieveCSSPropertyBorderTopWidth, retrieveCSSPropertyBorderWidth
Methods inherited from class org.eclipse.e4.ui.css.core.dom.properties.css2.AbstractCSSPropertyBorderCompositeHandler
applyCSSProperty, getCSSPropertiesNames, isCSSPropertyComposite
Methods inherited from class org.eclipse.e4.ui.css.core.dom.properties.AbstractCSSPropertyCompositeHandler
applyCSSPropertyComposite
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.e4.ui.css.core.dom.properties.ICSSPropertyHandler2
onAllCSSPropertiesApplyed
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CSSPropertyBorderSWTHandler
public CSSPropertyBorderSWTHandler()
-
-
Method Details
-
applyCSSProperty
public boolean applyCSSProperty(Object element, String property, CSSValue value, String pseudo, CSSEngine engine) throws Exception Description copied from interface:ICSSPropertyHandler
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into theelement
(ex : Swing Component, SWT Widget).- Specified by:
applyCSSProperty
in interfaceICSSPropertyHandler
- Overrides:
applyCSSProperty
in classAbstractCSSPropertyBorderHandler
- Parameters:
element
- Swing Component, SWT Widget...property
- CSS Propertyvalue
- CSS valuepseudo
- the pseudo class to use, ornull
if none is requiredengine
- CSS Engine- Returns:
- weather CSS property was applied or not
- Throws:
Exception
- if applying CSS failed
-
onAllCSSPropertiesApplyed
Description copied from interface:ICSSPropertyHandler2
Callback method called when all CSS properties are applied.- Specified by:
onAllCSSPropertiesApplyed
in interfaceICSSPropertyHandler2
- Throws:
Exception
-