Class SandboxConfigStage
- java.lang.Object
-
- javafx.stage.Window
-
- javafx.stage.Stage
-
- org.adoptopenjdk.jitwatch.ui.sandbox.SandboxConfigStage
-
- All Implemented Interfaces:
javafx.event.EventTarget
public class SandboxConfigStage extends javafx.stage.Stage
-
-
Field Summary
Fields Modifier and Type Field Description private javafx.scene.control.CheckBoxcheckBoxDisableInliningprivate javafx.scene.control.CheckBoxcheckBoxPrintAssemblyprivate FileChooserListchooserClassesprivate IStageClosedListenerclosedListenerprivate JITWatchConfigconfigprivate static java.lang.StringDEFAULT_DISPLAY_STYLEprivate static intlabelWidthprivate static com.chrisnewland.freelogj.Loggerloggerprivate javafx.scene.Scenesceneprivate javafx.scene.control.TextFieldtxtCompilerThresholdprivate javafx.scene.control.TextFieldtxtExtraCompilationSwitchesprivate javafx.scene.control.TextFieldtxtExtraRuntimeSwitchesprivate javafx.scene.control.TextFieldtxtFreqInlineprivate javafx.scene.control.TextFieldtxtMaxInlineprivate javafx.scene.control.TextFieldtxtWorkingDirprivate VMLanguageListvmLanguageList
-
Constructor Summary
Constructors Constructor Description SandboxConfigStage(IStageClosedListener closedListener, JITWatchConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private javafx.scene.control.CheckBoxbuildCheckBoxDisableInlining()private javafx.scene.control.CheckBoxbuildCheckBoxPrintAssembly()private javafx.scene.layout.HBoxbuildHBoxAssemblySyntax()private javafx.scene.layout.HBoxbuildHBoxBackgroundCompilation()private javafx.scene.layout.HBoxbuildHBoxButtons()private javafx.scene.layout.HBoxbuildHBoxCompilationThreshold()private javafx.scene.layout.HBoxbuildHBoxCompressedOops()private javafx.scene.layout.HBoxbuildHBoxExtraCompilationSwitches()private javafx.scene.layout.HBoxbuildHBoxExtraRuntimeSwitches()private voidbuildHBoxFreqInline(javafx.scene.layout.HBox hbCompilerSettings)private javafx.scene.layout.HBoxbuildHBoxInliningSettings()private voidbuildHBoxMaxInline(javafx.scene.layout.HBox hbCompilerSettings)private javafx.scene.layout.HBoxbuildHBoxOnStackReplacement()private javafx.scene.layout.HBoxbuildHBoxSandboxWorkingDir()private javafx.scene.layout.HBoxbuildHBoxTieredCompilation()private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle>getChangeListenerForBackgroundCompilation(javafx.scene.control.RadioButton rbVMDefault, javafx.scene.control.RadioButton rbForceBackgroundCompilation, javafx.scene.control.RadioButton rbForceNoBackgroundCompilation, javafx.scene.control.ToggleGroup groupBackgroundCompilation)private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle>getChangeListenerForGroupAssemblySyntax(javafx.scene.control.RadioButton rbIntel, javafx.scene.control.ToggleGroup groupAssemblySyntax)private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle>getChangeListenerForGroupOops(javafx.scene.control.RadioButton rbVMDefault, javafx.scene.control.RadioButton rbForceCompressed, javafx.scene.control.RadioButton rbForceNoCompressed, javafx.scene.control.ToggleGroup groupOops)private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle>getChangeListenerForGroupTiered(javafx.scene.control.RadioButton rbVMDefault, javafx.scene.control.RadioButton rbForceTiered, javafx.scene.control.RadioButton rbForceNoTiered, javafx.scene.control.ToggleGroup groupTiered)private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle>getChangeListenerForOnStackReplacement(javafx.scene.control.RadioButton rbVMDefault, javafx.scene.control.RadioButton rbAlways, javafx.scene.control.RadioButton rbNever, javafx.scene.control.ToggleGroup group)private javafx.event.EventHandler<javafx.event.ActionEvent>getEventHandlerForCancelButton()private javafx.event.EventHandler<javafx.event.ActionEvent>getEventHandlerForSaveButton()private voidsetCompilerThreshold(JITWatchConfig config)private voidsetExtraVMCompilationSwitches(JITWatchConfig config)private voidsetExtraVMRuntimeSwitches(JITWatchConfig config)private voidsetFrequencyOfInlineSize(JITWatchConfig config)private voidsetMaximumInlineSize(JITWatchConfig config)private voidsetSandboxWorkingDir(JITWatchConfig config)-
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
-
-
-
-
Field Detail
-
DEFAULT_DISPLAY_STYLE
private static final java.lang.String DEFAULT_DISPLAY_STYLE
- See Also:
- Constant Field Values
-
txtFreqInline
private javafx.scene.control.TextField txtFreqInline
-
txtMaxInline
private javafx.scene.control.TextField txtMaxInline
-
txtCompilerThreshold
private javafx.scene.control.TextField txtCompilerThreshold
-
txtExtraCompilationSwitches
private javafx.scene.control.TextField txtExtraCompilationSwitches
-
txtExtraRuntimeSwitches
private javafx.scene.control.TextField txtExtraRuntimeSwitches
-
txtWorkingDir
private javafx.scene.control.TextField txtWorkingDir
-
checkBoxPrintAssembly
private javafx.scene.control.CheckBox checkBoxPrintAssembly
-
checkBoxDisableInlining
private javafx.scene.control.CheckBox checkBoxDisableInlining
-
closedListener
private IStageClosedListener closedListener
-
config
private JITWatchConfig config
-
chooserClasses
private FileChooserList chooserClasses
-
vmLanguageList
private VMLanguageList vmLanguageList
-
scene
private javafx.scene.Scene scene
-
labelWidth
private static final int labelWidth
- See Also:
- Constant Field Values
-
logger
private static final com.chrisnewland.freelogj.Logger logger
-
-
Constructor Detail
-
SandboxConfigStage
public SandboxConfigStage(IStageClosedListener closedListener, JITWatchConfig config)
-
-
Method Detail
-
getEventHandlerForSaveButton
private javafx.event.EventHandler<javafx.event.ActionEvent> getEventHandlerForSaveButton()
-
getEventHandlerForCancelButton
private javafx.event.EventHandler<javafx.event.ActionEvent> getEventHandlerForCancelButton()
-
setCompilerThreshold
private void setCompilerThreshold(JITWatchConfig config)
-
setExtraVMCompilationSwitches
private void setExtraVMCompilationSwitches(JITWatchConfig config)
-
setExtraVMRuntimeSwitches
private void setExtraVMRuntimeSwitches(JITWatchConfig config)
-
setSandboxWorkingDir
private void setSandboxWorkingDir(JITWatchConfig config)
-
setMaximumInlineSize
private void setMaximumInlineSize(JITWatchConfig config)
-
setFrequencyOfInlineSize
private void setFrequencyOfInlineSize(JITWatchConfig config)
-
buildHBoxAssemblySyntax
private javafx.scene.layout.HBox buildHBoxAssemblySyntax()
-
getChangeListenerForGroupAssemblySyntax
private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle> getChangeListenerForGroupAssemblySyntax(javafx.scene.control.RadioButton rbIntel, javafx.scene.control.ToggleGroup groupAssemblySyntax)
-
buildHBoxTieredCompilation
private javafx.scene.layout.HBox buildHBoxTieredCompilation()
-
getChangeListenerForGroupTiered
private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle> getChangeListenerForGroupTiered(javafx.scene.control.RadioButton rbVMDefault, javafx.scene.control.RadioButton rbForceTiered, javafx.scene.control.RadioButton rbForceNoTiered, javafx.scene.control.ToggleGroup groupTiered)
-
buildHBoxCompressedOops
private javafx.scene.layout.HBox buildHBoxCompressedOops()
-
buildHBoxBackgroundCompilation
private javafx.scene.layout.HBox buildHBoxBackgroundCompilation()
-
buildHBoxOnStackReplacement
private javafx.scene.layout.HBox buildHBoxOnStackReplacement()
-
buildHBoxInliningSettings
private javafx.scene.layout.HBox buildHBoxInliningSettings()
-
buildHBoxCompilationThreshold
private javafx.scene.layout.HBox buildHBoxCompilationThreshold()
-
buildHBoxExtraCompilationSwitches
private javafx.scene.layout.HBox buildHBoxExtraCompilationSwitches()
-
buildHBoxExtraRuntimeSwitches
private javafx.scene.layout.HBox buildHBoxExtraRuntimeSwitches()
-
buildHBoxSandboxWorkingDir
private javafx.scene.layout.HBox buildHBoxSandboxWorkingDir()
-
getChangeListenerForGroupOops
private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle> getChangeListenerForGroupOops(javafx.scene.control.RadioButton rbVMDefault, javafx.scene.control.RadioButton rbForceCompressed, javafx.scene.control.RadioButton rbForceNoCompressed, javafx.scene.control.ToggleGroup groupOops)
-
getChangeListenerForBackgroundCompilation
private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle> getChangeListenerForBackgroundCompilation(javafx.scene.control.RadioButton rbVMDefault, javafx.scene.control.RadioButton rbForceBackgroundCompilation, javafx.scene.control.RadioButton rbForceNoBackgroundCompilation, javafx.scene.control.ToggleGroup groupBackgroundCompilation)
-
getChangeListenerForOnStackReplacement
private javafx.beans.value.ChangeListener<javafx.scene.control.Toggle> getChangeListenerForOnStackReplacement(javafx.scene.control.RadioButton rbVMDefault, javafx.scene.control.RadioButton rbAlways, javafx.scene.control.RadioButton rbNever, javafx.scene.control.ToggleGroup group)
-
buildHBoxFreqInline
private void buildHBoxFreqInline(javafx.scene.layout.HBox hbCompilerSettings)
-
buildHBoxMaxInline
private void buildHBoxMaxInline(javafx.scene.layout.HBox hbCompilerSettings)
-
buildCheckBoxPrintAssembly
private javafx.scene.control.CheckBox buildCheckBoxPrintAssembly()
-
buildCheckBoxDisableInlining
private javafx.scene.control.CheckBox buildCheckBoxDisableInlining()
-
buildHBoxButtons
private javafx.scene.layout.HBox buildHBoxButtons()
-
-