Class CompositeElement

All Implemented Interfaces:
CSSStylableElement, IStreamingNodeList, Element, Node, NodeList
Direct Known Subclasses:
CTabFolderElement, ShellElement, ToolBarElement

public class CompositeElement extends ControlElement implements IStreamingNodeList
CSSStylableElement implementation which wrap SWT Composite.
  • Constructor Details

  • Method Details

    • getLength

      public int getLength()
      Specified by:
      getLength in interface NodeList
      Overrides:
      getLength in class WidgetElement
    • item

      public Node item(int index)
      Specified by:
      item in interface NodeList
      Overrides:
      item in class WidgetElement
    • getComposite

      protected Composite getComposite()
    • reset

      public void reset()
      Description copied from class: WidgetElement
      Called by the CSS engine upon a CSS theme switch. Implementations should restore the default value so that the new theme can be applied to the application without restart
      Overrides:
      reset in class ControlElement
    • hasBackgroundOverriddenByCSS

      public static boolean hasBackgroundOverriddenByCSS(Control control)
    • setBackgroundOverriddenByCSSMarker

      public static void setBackgroundOverriddenByCSSMarker(Widget widget)
    • stream

      public Stream<Node> stream()
      Specified by:
      stream in interface IStreamingNodeList