Interface ICSSPropertyBackgroundHandler

All Superinterfaces:
ICSSPropertyHandler
All Known Implementing Classes:
AbstractCSSPropertyBackgroundHandler, CSSPropertyBackgroundSWTHandler

public interface ICSSPropertyBackgroundHandler extends ICSSPropertyHandler
CSS2 Background Property Handler.
See Also:
  • 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