Interface ICSSPropertyBackgroundHandler
- All Superinterfaces:
ICSSPropertyHandler
- All Known Implementing Classes:
AbstractCSSPropertyBackgroundHandler
,CSSPropertyBackgroundSWTHandler
CSS2 Background Property Handler.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyCSSPropertyBackground
(Object element, CSSValue value, String pseudo, CSSEngine engine) A shorthand property for setting all background properties in one declaration Available values = background-color background-image background-repeat background-attachment background-positionvoid
applyCSSPropertyBackgroundAttachment
(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets whether a background image is fixed or scrolls with the rest of the page.void
applyCSSPropertyBackgroundColor
(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets the background color of an element.void
applyCSSPropertyBackgroundImage
(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets an image as the background.void
applyCSSPropertyBackgroundPosition
(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets the starting position of a background image.void
applyCSSPropertyBackgroundRepeat
(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets if/how a background image will be repeated.default String
retrieveCSSPropertyBackgroundAttachment
(Object element, String pseudo, CSSEngine engine) Deprecated, for removal: This API element is subject to removal in a future version.retrieveCSSPropertyBackgroundColor
(Object element, String pseudo, CSSEngine engine) Deprecated, for removal: This API element is subject to removal in a future version.default String
retrieveCSSPropertyBackgroundImage
(Object element, String pseudo, CSSEngine engine) Deprecated, for removal: This API element is subject to removal in a future version.default String
retrieveCSSPropertyBackgroundPosition
(Object element, String pseudo, CSSEngine engine) Deprecated, for removal: This API element is subject to removal in a future version.default String
retrieveCSSPropertyBackgroundRepeat
(Object element, String pseudo, CSSEngine engine) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface org.eclipse.e4.ui.css.core.dom.properties.ICSSPropertyHandler
applyCSSProperty, retrieveCSSProperty
-
Method Details
-
applyCSSPropertyBackground
void applyCSSPropertyBackground(Object element, CSSValue value, String pseudo, CSSEngine engine) throws Exception A shorthand property for setting all background properties in one declaration Available values = background-color background-image background-repeat background-attachment background-position- Throws:
Exception
-
applyCSSPropertyBackgroundAttachment
void applyCSSPropertyBackgroundAttachment(Object element, CSSValue value, String pseudo, CSSEngine engine) throws Exception Sets whether a background image is fixed or scrolls with the rest of the page. Available values are=scroll,fixed- Throws:
Exception
-
applyCSSPropertyBackgroundColor
void applyCSSPropertyBackgroundColor(Object element, CSSValue value, String pseudo, CSSEngine engine) throws Exception Sets the background color of an element. Available values are= color-rgb, color-hex, color-name, transparent- Throws:
Exception
-
applyCSSPropertyBackgroundImage
void applyCSSPropertyBackgroundImage(Object element, CSSValue value, String pseudo, CSSEngine engine) throws Exception Sets an image as the background. Available values=url(URL), none- Throws:
Exception
-
applyCSSPropertyBackgroundPosition
void applyCSSPropertyBackgroundPosition(Object element, CSSValue value, String pseudo, CSSEngine engine) throws Exception Sets the starting position of a background image. Available values=top left,top center,top right,center left,center center,center right,bottom left,bottom center,bottom right,x% y%,xpos ypos- Throws:
Exception
-
applyCSSPropertyBackgroundRepeat
void applyCSSPropertyBackgroundRepeat(Object element, CSSValue value, String pseudo, CSSEngine engine) throws Exception Sets if/how a background image will be repeated. Available values=repeat,repeat-x,repeat-y,no-repeat- Throws:
Exception
-
retrieveCSSPropertyBackgroundAttachment
@Deprecated(forRemoval=true) default String retrieveCSSPropertyBackgroundAttachment(Object element, String pseudo, CSSEngine engine) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
Exception
-
retrieveCSSPropertyBackgroundColor
@Deprecated(forRemoval=true) String retrieveCSSPropertyBackgroundColor(Object element, String pseudo, CSSEngine engine) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
Exception
-
retrieveCSSPropertyBackgroundImage
@Deprecated(forRemoval=true) default String retrieveCSSPropertyBackgroundImage(Object element, String pseudo, CSSEngine engine) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
Exception
-
retrieveCSSPropertyBackgroundPosition
@Deprecated(forRemoval=true) default String retrieveCSSPropertyBackgroundPosition(Object element, String pseudo, CSSEngine engine) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
Exception
-
retrieveCSSPropertyBackgroundRepeat
@Deprecated(forRemoval=true) default String retrieveCSSPropertyBackgroundRepeat(Object element, String pseudo, CSSEngine engine) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
Exception
-