Class CSSPropertyMaximizeVisibleSWTHandler

java.lang.Object
org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
org.eclipse.e4.ui.css.swt.properties.custom.CSSPropertyMaximizeVisibleSWTHandler
All Implemented Interfaces:
ICSSPropertyHandler

public class CSSPropertyMaximizeVisibleSWTHandler extends AbstractCSSPropertySWTHandler
  • Constructor Details

    • CSSPropertyMaximizeVisibleSWTHandler

      public CSSPropertyMaximizeVisibleSWTHandler()
  • Method Details

    • applyCSSProperty

      public void applyCSSProperty(Control control, String property, CSSValue value, String pseudo, CSSEngine engine) throws Exception
      Description copied from class: AbstractCSSPropertySWTHandler
      Apply CSS Property property (ex : background-color) with CSSValue value (ex : red) into the SWT control (ex : SWT Text, SWT Label).
      Specified by:
      applyCSSProperty in class AbstractCSSPropertySWTHandler
      Parameters:
      control - SWT control to change
      property - CSS Property
      value - CSS value
      pseudo - the pseudo class to use, or null if none is required
      engine - CSS Engine
      Throws:
      Exception - if applying CSS failed
    • retrieveCSSProperty

      public String retrieveCSSProperty(Control control, String property, String pseudo, CSSEngine engine)
      Description copied from class: AbstractCSSPropertySWTHandler
      Retrieve CSS value (ex : red) of CSS Property property (ex : background-color) from the SWT control (ex : SWT Text, SWT Label).
      Specified by:
      retrieveCSSProperty in class AbstractCSSPropertySWTHandler
      Parameters:
      control - SWT control to change
      property - CSS Property
      pseudo - the pseudo class to use, or null if none is required
      engine - CSS Engine
      Returns:
      retrieved CSS properties or null