Class CSSValueSWTFontDataConverterImpl
java.lang.Object
org.eclipse.e4.ui.css.core.dom.properties.converters.AbstractCSSValueConverter
org.eclipse.e4.ui.css.swt.properties.converters.CSSValueSWTFontDataConverterImpl
- All Implemented Interfaces:
ICSSValueConverter
- Direct Known Subclasses:
CSSValueSWTFontConverterImpl
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionconvert
(Object value, CSSEngine engine, Object context, ICSSValueConverterConfig config) Returns StringCSSValue
of the result of the conversion of the given Objectvalue
.Returns the result of the conversion of the given CSSValuevalue
.protected Display
getDisplay
(Object context) Methods inherited from class org.eclipse.e4.ui.css.core.dom.properties.converters.AbstractCSSValueConverter
convert, getToType
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CSSValueSWTFontDataConverterImpl
-
CSSValueSWTFontDataConverterImpl
public CSSValueSWTFontDataConverterImpl()
-
-
Method Details
-
convert
Description copied from interface:ICSSValueConverter
Returns the result of the conversion of the given CSSValuevalue
.- Parameters:
value
- the CSSValue to convert- Returns:
- the converted object
- Throws:
Exception
-
convert
public String convert(Object value, CSSEngine engine, Object context, ICSSValueConverterConfig config) throws Exception Description copied from interface:ICSSValueConverter
Returns StringCSSValue
of the result of the conversion of the given Objectvalue
.config
can be used to manage format of the CSSValue String to return.- Throws:
Exception
-
getDisplay
-