Class HTMLScrollPaneSkin

java.lang.Object
javafx.scene.control.SkinBase<javafx.scene.control.ScrollPane>
one.jpro.platform.htmlscrollpane.HTMLScrollPaneSkin
All Implemented Interfaces:
javafx.scene.control.Skin<javafx.scene.control.ScrollPane>

public class HTMLScrollPaneSkin extends javafx.scene.control.SkinBase<javafx.scene.control.ScrollPane>
  • Constructor Summary

    Constructors
    Constructor
    Description
    HTMLScrollPaneSkin(javafx.scene.control.ScrollPane control)
    Creates a new instance with the given ScrollPane control.
    HTMLScrollPaneSkin(javafx.scene.control.ScrollPane control, String attributes)
    Creates a new instance of HTMLScrollPaneSkin with the given ScrollPane control and attributes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setupHTMLView(com.jpro.webapi.WebAPI webapi)
    Sets up the HTMLView for the given WebAPI.
    static void
    workaroundClearNewEventTargets(javafx.scene.Scene scene)
    Workaround method to clear the newEventTargets list of the mouseHandler in a Scene using reflection.
    static void
    workaroundOwnerWindow(javafx.stage.Window window)
    Workaround method to set the ownerWindow of a Window to null using reflection.
    static void
    workaroundRemovePeerParent(javafx.scene.Node node)
    Workaround method to remove the parent reference of a Node's peer using reflection.

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HTMLScrollPaneSkin

      public HTMLScrollPaneSkin(javafx.scene.control.ScrollPane control)
      Creates a new instance with the given ScrollPane control.
      Parameters:
      control - the ScrollPane control to be associated with the skin
    • HTMLScrollPaneSkin

      public HTMLScrollPaneSkin(javafx.scene.control.ScrollPane control, String attributes)
      Creates a new instance of HTMLScrollPaneSkin with the given ScrollPane control and attributes.
      Parameters:
      control - the ScrollPane control to be associated with the skin
      attributes - a string containing any additional attributes
  • Method Details

    • setupHTMLView

      public void setupHTMLView(com.jpro.webapi.WebAPI webapi)
      Sets up the HTMLView for the given WebAPI.
      Parameters:
      webapi - the WebAPI to be associated with the HTMLView
    • workaroundRemovePeerParent

      public static void workaroundRemovePeerParent(javafx.scene.Node node)
      Workaround method to remove the parent reference of a Node's peer using reflection.
      Parameters:
      node - the Node whose peer's parent reference needs to be removed
    • workaroundClearNewEventTargets

      public static void workaroundClearNewEventTargets(javafx.scene.Scene scene)
      Workaround method to clear the newEventTargets list of the mouseHandler in a Scene using reflection.
      Parameters:
      scene - the Scene whose mouseHandler's newEventTargets list needs to be cleared
    • workaroundOwnerWindow

      public static void workaroundOwnerWindow(javafx.stage.Window window)
      Workaround method to set the ownerWindow of a Window to null using reflection.
      Parameters:
      window - the Window whose ownerWindow needs to be set to null