Class CSSPropertyBorderSWTHandler

All Implemented Interfaces:
ICSSPropertyBorderHandler, ICSSPropertyCompositeHandler, ICSSPropertyHandler

public class CSSPropertyBorderSWTHandler extends AbstractCSSPropertyBorderHandler
  • Field Details

  • 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 Property property (ex : background-color) with CSSValue value (ex : red) into the element (ex : Swing Component, SWT Widget).
      Specified by:
      applyCSSProperty in interface ICSSPropertyHandler
      Overrides:
      applyCSSProperty in class AbstractCSSPropertyBorderHandler
      Parameters:
      element - Swing Component, SWT Widget...
      property - CSS Property
      value - CSS value
      pseudo - the pseudo class to use, or null if none is required
      engine - CSS Engine
      Returns:
      weather CSS property was applied or not
      Throws:
      Exception - if applying CSS failed
    • onAllCSSPropertiesApplied

      public void onAllCSSPropertiesApplied(Object element, CSSEngine engine) throws Exception
      Description copied from interface: ICSSPropertyHandler
      Callback method called once after all CSS properties of a single declaration have been applied. Handlers that need to perform a final step (re-layout, redraw, batched commit, ...) override this method; the default is a no-op.
      Throws:
      Exception