Interface ICSSPropertyBackgroundHandler
- All Superinterfaces:
ICSSPropertyHandler
- All Known Implementing Classes:
AbstractCSSPropertyBackgroundHandler, CSSPropertyBackgroundSWTHandler
CSS2 Background Property Handler.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyCSSPropertyBackground(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-positionvoidapplyCSSPropertyBackgroundAttachment(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets whether a background image is fixed or scrolls with the rest of the page.voidapplyCSSPropertyBackgroundColor(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets the background color of an element.voidapplyCSSPropertyBackgroundImage(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets an image as the background.voidapplyCSSPropertyBackgroundPosition(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets the starting position of a background image.voidapplyCSSPropertyBackgroundRepeat(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets if/how a background image will be repeated.default StringretrieveCSSPropertyBackgroundAttachment(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 StringretrieveCSSPropertyBackgroundImage(Object element, String pseudo, CSSEngine engine) Deprecated, for removal: This API element is subject to removal in a future version.default StringretrieveCSSPropertyBackgroundPosition(Object element, String pseudo, CSSEngine engine) Deprecated, for removal: This API element is subject to removal in a future version.default StringretrieveCSSPropertyBackgroundRepeat(Object element, String pseudo, CSSEngine engine) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface ICSSPropertyHandler
applyCSSProperty, onAllCSSPropertiesApplied, onAllCSSPropertiesApplied, 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
-
applyCSSPropertyBackgroundColor
-
applyCSSPropertyBackgroundImage
-
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
-
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
-