Class AbstractNMethodStage
- java.lang.Object
-
- javafx.stage.Window
-
- javafx.stage.Stage
-
- org.adoptopenjdk.jitwatch.ui.nmethod.AbstractNMethodStage
-
- All Implemented Interfaces:
javafx.event.EventTarget,ICompilationChangeListener,IPrevNextCompilationListener,IRedrawable
- Direct Known Subclasses:
CodeCacheLayoutStage,CompilerThreadStage
public abstract class AbstractNMethodStage extends javafx.stage.Stage implements IRedrawable, ICompilationChangeListener, IPrevNextCompilationListener
-
-
Field Summary
Fields Modifier and Type Field Description protected javafx.scene.control.ButtonbtnZoomInprotected javafx.scene.control.ButtonbtnZoomOutprotected javafx.scene.control.ButtonbtnZoomResetprotected static javafx.scene.paint.ColorCOLOR_OTHER_MEMBER_COMPILATIONSprotected static javafx.scene.paint.ColorCOLOR_SELECTED_COMPILATIONprotected static javafx.scene.paint.ColorCOLOR_UNSELECTED_COMPILATIONprotected doubleheightprivate NMethodInfonMethodInfoprotected javafx.scene.layout.Panepaneprotected JITWatchUIparentprotected javafx.scene.Scenesceneprotected javafx.scene.control.ScrollPanescrollPaneprotected javafx.scene.layout.VBoxvBoxControlsprotected javafx.scene.layout.VBoxvBoxStackprotected doublewidthprotected doublezoom
-
Constructor Summary
Constructors Constructor Description AbstractNMethodStage(JITWatchUI parent, java.lang.String title)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidattachListener(javafx.scene.shape.Shape shape, Compilation compilation)protected abstract javafx.scene.layout.VBoxbuildControls(javafx.scene.Scene scene)protected voidclear()voidcompilationChanged(IMetaMember member)protected voidplotMarker(double x, double y, Compilation compilation)protected voidplotMarker(double x, double y, Compilation compilation, boolean invert)private voidselectCompilation(IMetaMember member, int index)voidselectNextCompilation()voidselectPrevCompilation()-
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
-
Methods inherited from interface org.adoptopenjdk.jitwatch.ui.resize.IRedrawable
redraw
-
-
-
-
Field Detail
-
width
protected double width
-
height
protected double height
-
scene
protected javafx.scene.Scene scene
-
vBoxStack
protected javafx.scene.layout.VBox vBoxStack
-
pane
protected javafx.scene.layout.Pane pane
-
scrollPane
protected javafx.scene.control.ScrollPane scrollPane
-
vBoxControls
protected javafx.scene.layout.VBox vBoxControls
-
nMethodInfo
private NMethodInfo nMethodInfo
-
parent
protected JITWatchUI parent
-
btnZoomIn
protected javafx.scene.control.Button btnZoomIn
-
btnZoomOut
protected javafx.scene.control.Button btnZoomOut
-
btnZoomReset
protected javafx.scene.control.Button btnZoomReset
-
zoom
protected double zoom
-
COLOR_UNSELECTED_COMPILATION
protected static final javafx.scene.paint.Color COLOR_UNSELECTED_COMPILATION
-
COLOR_SELECTED_COMPILATION
protected static final javafx.scene.paint.Color COLOR_SELECTED_COMPILATION
-
COLOR_OTHER_MEMBER_COMPILATIONS
protected static final javafx.scene.paint.Color COLOR_OTHER_MEMBER_COMPILATIONS
-
-
Constructor Detail
-
AbstractNMethodStage
public AbstractNMethodStage(JITWatchUI parent, java.lang.String title)
-
-
Method Detail
-
buildControls
protected abstract javafx.scene.layout.VBox buildControls(javafx.scene.Scene scene)
-
plotMarker
protected void plotMarker(double x, double y, Compilation compilation)
-
plotMarker
protected void plotMarker(double x, double y, Compilation compilation, boolean invert)
-
attachListener
protected void attachListener(javafx.scene.shape.Shape shape, Compilation compilation)
-
selectPrevCompilation
public void selectPrevCompilation()
- Specified by:
selectPrevCompilationin interfaceIPrevNextCompilationListener
-
selectNextCompilation
public void selectNextCompilation()
- Specified by:
selectNextCompilationin interfaceIPrevNextCompilationListener
-
selectCompilation
private void selectCompilation(IMetaMember member, int index)
-
compilationChanged
public void compilationChanged(IMetaMember member)
- Specified by:
compilationChangedin interfaceICompilationChangeListener
-
clear
protected void clear()
-
-