Class AbstractGraphStage

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractGraphStage​(JITWatchUI parent, int width, int height, boolean xAxisTime)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void baseRedraw()  
      protected void continueLineToEndOfXAxis​(double lastX, double lastY, javafx.scene.paint.Color color, double lineWidth)  
      protected void drawAxes()  
      protected void drawLabel​(java.lang.String text, double xPos, double yPos, javafx.scene.paint.Color backgroundColour)  
      private void drawXAxis()  
      protected void drawXAxisTime()  
      private void drawYAxis()  
      protected long findScale​(long range)  
      protected double getApproximateStringWidth​(java.lang.String text)  
      protected long getStampFromTag​(Tag tag)  
      protected double getStringHeight()  
      private long getXStepTime()  
      protected double normalise​(double value, double min, double max, double size, boolean invert)  
      protected double normaliseX​(double value)  
      protected double normaliseY​(double value)  
      abstract void redraw()  
      protected void setStrokeForAxis()  
      protected void setStrokeForText()  
      • 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 java.lang.Object

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

      • canvas

        protected javafx.scene.canvas.Canvas canvas
      • gc

        protected javafx.scene.canvas.GraphicsContext gc
      • graphGapLeft

        protected double graphGapLeft
      • Y_SCALE

        protected static final int[] Y_SCALE
      • width

        protected double width
      • height

        protected double height
      • chartWidth

        protected double chartWidth
      • chartHeight

        protected double chartHeight
      • minX

        protected long minX
      • maxX

        protected long maxX
      • minY

        protected long minY
      • maxY

        protected long maxY
      • minXQ

        protected long minXQ
      • maxXQ

        protected long maxXQ
      • minYQ

        protected long minYQ
      • maxYQ

        protected long maxYQ
      • endOfXAxis

        protected double endOfXAxis
      • xAxisTime

        private boolean xAxisTime
      • STANDARD_FONT

        protected static final javafx.scene.text.Font STANDARD_FONT
      • MEMBER_FONT

        protected static final javafx.scene.text.Font MEMBER_FONT
    • Constructor Detail

      • AbstractGraphStage

        public AbstractGraphStage​(JITWatchUI parent,
                                  int width,
                                  int height,
                                  boolean xAxisTime)
    • Method Detail

      • redraw

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

        protected void baseRedraw()
      • drawAxes

        protected void drawAxes()
      • getStampFromTag

        protected long getStampFromTag​(Tag tag)
      • continueLineToEndOfXAxis

        protected void continueLineToEndOfXAxis​(double lastX,
                                                double lastY,
                                                javafx.scene.paint.Color color,
                                                double lineWidth)
      • drawLabel

        protected void drawLabel​(java.lang.String text,
                                 double xPos,
                                 double yPos,
                                 javafx.scene.paint.Color backgroundColour)
      • drawXAxisTime

        protected void drawXAxisTime()
      • drawXAxis

        private void drawXAxis()
      • drawYAxis

        private void drawYAxis()
      • getApproximateStringWidth

        protected double getApproximateStringWidth​(java.lang.String text)
      • getStringHeight

        protected double getStringHeight()
      • getXStepTime

        private long getXStepTime()
      • findScale

        protected long findScale​(long range)
      • normaliseX

        protected double normaliseX​(double value)
      • normaliseY

        protected double normaliseY​(double value)
      • normalise

        protected double normalise​(double value,
                                   double min,
                                   double max,
                                   double size,
                                   boolean invert)
      • setStrokeForAxis

        protected void setStrokeForAxis()
      • setStrokeForText

        protected void setStrokeForText()