Class CompileChainStage

java.lang.Object
javafx.stage.Window
javafx.stage.Stage
org.adoptopenjdk.jitwatch.ui.compilechain.CompileChainStage
All Implemented Interfaces:
javafx.event.EventTarget, ICompilationChangeListener, IRedrawable

public class CompileChainStage extends javafx.stage.Stage implements ICompilationChangeListener, IRedrawable
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) class 
     
  • Property Summary

    Properties inherited from class javafx.stage.Stage

    alwaysOnTop, fullScreenExitHint, fullScreenExitKey, fullScreen, iconified, maxHeight, maximized, maxWidth, minHeight, minWidth, resizable, title

    Properties inherited from class javafx.stage.Window

    eventDispatcher, focused, forceIntegerRenderScale, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, opacity, outputScaleX, outputScaleY, renderScaleX, renderScaleY, scene, showing, width, x, y
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    private javafx.scene.control.Label
     
     
    private javafx.scene.layout.Pane
     
    private static final double
     
    private static final double
     
    private CompileNode
     
    private javafx.scene.control.ScrollPane
     
     
    private static final int
     
    private static final double
     
    private static final double
     
    private double
     
    private static final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    buildNode(String labelText, double x, double y, boolean inlined, boolean compiled, boolean virtualCall)
     
    private void
     
    private void
     
    void
     
    private javafx.scene.paint.Color
    getColourForCompilation(boolean isCompiled, boolean isInlined, boolean isVirtual)
     
    private String
     
    private void
    initialiseRectWithOnMouseClickedEventHandler(CompileNode node, javafx.scene.shape.Shape shape)
     
    private double
    plotNode(CompileNode node, double x, double parentY, int depth)
     
    void
     
    private void
    show(CompileNode node, double x, double parentY, int depth)
     
    private void
     

    Methods inherited from class javafx.stage.Stage

    alwaysOnTopProperty, close, fullScreenExitHintProperty, fullScreenExitKeyProperty, fullScreenProperty, getFullScreenExitHint, getFullScreenExitKeyCombination, getIcons, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getModality, getOwner, getStyle, getTitle, iconifiedProperty, initModality, initOwner, initStyle, isAlwaysOnTop, isFullScreen, isIconified, isMaximized, isResizable, maxHeightProperty, maximizedProperty, maxWidthProperty, minHeightProperty, minWidthProperty, resizableProperty, setAlwaysOnTop, setFullScreen, setFullScreenExitHint, setFullScreenExitKeyCombination, setIconified, setMaxHeight, setMaximized, setMaxWidth, setMinHeight, setMinWidth, setResizable, setScene, setTitle, show, showAndWait, titleProperty, toBack, toFront

    Methods inherited from class javafx.stage.Window

    addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, hide, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, showingProperty, sizeToScene, widthProperty, xProperty, yProperty

    Methods inherited from class Object

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

  • Constructor Details

  • Method Details

    • compilationChanged

      public void compilationChanged(IMetaMember member)
      Specified by:
      compilationChanged in interface ICompilationChangeListener
    • clear

      private void clear()
    • redraw

      public void redraw()
      Specified by:
      redraw in interface IRedrawable
    • showKey

      private void showKey()
    • show

      private void show(CompileNode node, double x, double parentY, int depth)
    • getLabelText

      private String getLabelText(CompileNode node)
    • plotNode

      private double plotNode(CompileNode node, double x, double parentY, int depth)
    • buildNode

      private CompileChainStage.PlotNode buildNode(String labelText, double x, double y, boolean inlined, boolean compiled, boolean virtualCall)
    • getColourForCompilation

      private javafx.scene.paint.Color getColourForCompilation(boolean isCompiled, boolean isInlined, boolean isVirtual)
    • initialiseRectWithOnMouseClickedEventHandler

      private void initialiseRectWithOnMouseClickedEventHandler(CompileNode node, javafx.scene.shape.Shape shape)
    • buildTree

      private void buildTree(IMetaMember member)