Interface ISelectingStyle<S extends ISelectingStyle<S>>

Type Parameters:
S - is the type of a ISelectingStyle.
All Superinterfaces:
IBaseStyle<S>, IElement
All Known Subinterfaces:
ISelectingStyleWithSelectors
All Known Implementing Classes:
AbstractSelectingStyle, DeepSelectingStyle, SelectingStyle

public interface ISelectingStyle<S extends ISelectingStyle<S>> extends IBaseStyle<S>
A ISelectingStyle is a IBaseStyle that can select or skip a IStylableElement that is given to be styled.
Author:
Silvan Wyss
  • Method Details

    • selectsChildElements

      boolean selectsChildElements()
      Returns:
      true if the current ISelectingStyle would select the child elements of a given IStylableElement to style, false otherwise.
    • selectsElement

      boolean selectsElement(IStylableElement<?> element)
      Parameters:
      element -
      Returns:
      true if the current ISelectingStyle would select the given element to style, false otherwise.
    • skipsChildElements

      default boolean skipsChildElements()
      Returns:
      true if the current ISelectingStyle would not (!) select the child elements of a given IStylableElement to style, false otherwise.
    • skipsElement

      default boolean skipsElement(IStylableElement<?> element)
      Parameters:
      element -
      Returns:
      true if the current ISelectingStyle would not (!) select the given element to style, false otherwise.