Class PopupControl.CSSBridge

All Implemented Interfaces:
Styleable, EventTarget
Enclosing class:
PopupControl

protected class PopupControl.CSSBridge
extends Pane
The link between the popup window and the scenegraph.
Since:
JavaFX 2.1
  • Constructor Details

    • CSSBridge

      protected CSSBridge()
  • Method Details

    • requestLayout

      public void requestLayout()
      Requests a layout pass to be performed before the next scene is rendered. This is batched up asynchronously to happen once per "pulse", or frame of animation.

      If this parent is either a layout root or unmanaged, then it will be added directly to the scene's dirty layout list, otherwise requestLayout will be invoked on its parent.

      Overrides:
      requestLayout in class Parent
    • getStyleableParent

      public Styleable getStyleableParent()
      This method should be treated as final and should not be overridden by any subclasses of CSSBridge.
      Specified by:
      getStyleableParent in interface Styleable
      Overrides:
      getStyleableParent in class Node
      Returns:
      the styleable parent
    • getCssMetaData

      public List<CssMetaData<? extends Styleable,​?>> getCssMetaData()
      Description copied from class: Region
      This method should delegate to Node.getClassCssMetaData() so that a Node's CssMetaData can be accessed without the need for reflection.
      Specified by:
      getCssMetaData in interface Styleable
      Overrides:
      getCssMetaData in class Region
      Returns:
      The CssMetaData associated with this node, which may include the CssMetaData of its superclasses.