Class UserInterfaceUtil
java.lang.Object
org.adoptopenjdk.jitwatch.util.UserInterfaceUtil
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final Stringstatic final Stringstatic final javafx.scene.image.Imagestatic final javafx.scene.image.Imageprivate static final com.chrisnewland.freelogj.Loggerprivate static final ObservableResourceFactoryprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureLocale(Locale locale) static javafx.scene.control.ButtoncreateButton(String langKey, javafx.beans.value.ObservableValue<?>... observables) static javafx.scene.control.CheckBoxcreateCheckBox(String langKey) static javafx.scene.control.LabelcreateLabel(String langKey) static <S,T> javafx.scene.control.TableColumn <S, T> createTableColumn(String langKey) static doublefix(double pixel) static javafx.scene.paint.Colorstatic javafx.scene.ScenegetScene(javafx.scene.Parent rootNode, double width, double height) static javafx.scene.control.ButtongetSnapshotButton(javafx.scene.Scene scene, String filenamePrefix) static voidprivate static javafx.scene.image.ImageloadResource(String path) private static voidtakeSnapShot(javafx.scene.Scene scene, String filenamePrefix)
-
Field Details
-
logger
private static final com.chrisnewland.freelogj.Logger logger -
RESOURCE_NAME
- See Also:
-
RESOURCE_FACTORY
-
IMAGE_TICK
public static final javafx.scene.image.Image IMAGE_TICK -
IMAGE_CAMERA
public static final javafx.scene.image.Image IMAGE_CAMERA -
FONT_MONOSPACE_FAMILY
-
FONT_MONOSPACE_SIZE
-
ADD_CLOSE_DECORATION
public static final boolean ADD_CLOSE_DECORATION
-
-
Constructor Details
-
UserInterfaceUtil
private UserInterfaceUtil()
-
-
Method Details
-
configureLocale
-
createButton
public static javafx.scene.control.Button createButton(String langKey, javafx.beans.value.ObservableValue<?>... observables) -
createCheckBox
-
createLabel
-
createTableColumn
-
loadResource
-
getSnapshotButton
public static javafx.scene.control.Button getSnapshotButton(javafx.scene.Scene scene, String filenamePrefix) -
takeSnapShot
-
getScene
public static javafx.scene.Scene getScene(javafx.scene.Parent rootNode, double width, double height) -
getColourForBytecodeAnnotation
-
fix
public static double fix(double pixel) -
initMacFonts
public static void initMacFonts()
-