use of javafx.scene.control.ComboBox in project RichTextFX by FXMisc.
the class RichText method start.
@Override
public void start(Stage primaryStage) {
mainStage = primaryStage;
Button loadBtn = createButton("loadfile", this::loadDocument, "Load document.\n\n" + "Note: the demo will load only previously-saved \"" + RTFX_FILE_EXTENSION + "\" files. " + "This file format is abitrary and may change across versions.");
Button saveBtn = createButton("savefile", this::saveDocument, "Save document.\n\n" + "Note: the demo will save the area's content to a \"" + RTFX_FILE_EXTENSION + "\" file. " + "This file format is abitrary and may change across versions.");
CheckBox wrapToggle = new CheckBox("Wrap");
wrapToggle.setSelected(true);
area.wrapTextProperty().bind(wrapToggle.selectedProperty());
Button undoBtn = createButton("undo", area::undo, "Undo");
Button redoBtn = createButton("redo", area::redo, "Redo");
Button cutBtn = createButton("cut", area::cut, "Cut");
Button copyBtn = createButton("copy", area::copy, "Copy");
Button pasteBtn = createButton("paste", area::paste, "Paste");
Button boldBtn = createButton("bold", this::toggleBold, "Bold");
Button italicBtn = createButton("italic", this::toggleItalic, "Italic");
Button underlineBtn = createButton("underline", this::toggleUnderline, "Underline");
Button strikeBtn = createButton("strikethrough", this::toggleStrikethrough, "Strike Trough");
Button insertImageBtn = createButton("insertimage", this::insertImage, "Insert Image");
ToggleGroup alignmentGrp = new ToggleGroup();
ToggleButton alignLeftBtn = createToggleButton(alignmentGrp, "align-left", this::alignLeft, "Align left");
ToggleButton alignCenterBtn = createToggleButton(alignmentGrp, "align-center", this::alignCenter, "Align center");
ToggleButton alignRightBtn = createToggleButton(alignmentGrp, "align-right", this::alignRight, "Align right");
ToggleButton alignJustifyBtn = createToggleButton(alignmentGrp, "align-justify", this::alignJustify, "Justify");
ColorPicker paragraphBackgroundPicker = new ColorPicker();
ComboBox<Integer> sizeCombo = new ComboBox<>(FXCollections.observableArrayList(5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 18, 20, 22, 24, 28, 32, 36, 40, 48, 56, 64, 72));
sizeCombo.getSelectionModel().select(Integer.valueOf(12));
sizeCombo.setTooltip(new Tooltip("Font size"));
ComboBox<String> familyCombo = new ComboBox<>(FXCollections.observableList(Font.getFamilies()));
familyCombo.getSelectionModel().select("Serif");
familyCombo.setTooltip(new Tooltip("Font family"));
ColorPicker textColorPicker = new ColorPicker(Color.BLACK);
ColorPicker backgroundColorPicker = new ColorPicker();
paragraphBackgroundPicker.setTooltip(new Tooltip("Paragraph background"));
textColorPicker.setTooltip(new Tooltip("Text color"));
backgroundColorPicker.setTooltip(new Tooltip("Text background"));
paragraphBackgroundPicker.valueProperty().addListener((o, old, color) -> updateParagraphBackground(color));
sizeCombo.setOnAction(evt -> updateFontSize(sizeCombo.getValue()));
familyCombo.setOnAction(evt -> updateFontFamily(familyCombo.getValue()));
textColorPicker.valueProperty().addListener((o, old, color) -> updateTextColor(color));
backgroundColorPicker.valueProperty().addListener((o, old, color) -> updateBackgroundColor(color));
undoBtn.disableProperty().bind(area.undoAvailableProperty().map(x -> !x));
redoBtn.disableProperty().bind(area.redoAvailableProperty().map(x -> !x));
BooleanBinding selectionEmpty = new BooleanBinding() {
{
bind(area.selectionProperty());
}
@Override
protected boolean computeValue() {
return area.getSelection().getLength() == 0;
}
};
cutBtn.disableProperty().bind(selectionEmpty);
copyBtn.disableProperty().bind(selectionEmpty);
area.beingUpdatedProperty().addListener((o, old, beingUpdated) -> {
if (!beingUpdated) {
boolean bold, italic, underline, strike;
Integer fontSize;
String fontFamily;
Color textColor;
Color backgroundColor;
IndexRange selection = area.getSelection();
if (selection.getLength() != 0) {
StyleSpans<TextStyle> styles = area.getStyleSpans(selection);
bold = styles.styleStream().anyMatch(s -> s.bold.orElse(false));
italic = styles.styleStream().anyMatch(s -> s.italic.orElse(false));
underline = styles.styleStream().anyMatch(s -> s.underline.orElse(false));
strike = styles.styleStream().anyMatch(s -> s.strikethrough.orElse(false));
int[] sizes = styles.styleStream().mapToInt(s -> s.fontSize.orElse(-1)).distinct().toArray();
fontSize = sizes.length == 1 ? sizes[0] : -1;
String[] families = styles.styleStream().map(s -> s.fontFamily.orElse(null)).distinct().toArray(String[]::new);
fontFamily = families.length == 1 ? families[0] : null;
Color[] colors = styles.styleStream().map(s -> s.textColor.orElse(null)).distinct().toArray(Color[]::new);
textColor = colors.length == 1 ? colors[0] : null;
Color[] backgrounds = styles.styleStream().map(s -> s.backgroundColor.orElse(null)).distinct().toArray(i -> new Color[i]);
backgroundColor = backgrounds.length == 1 ? backgrounds[0] : null;
} else {
int p = area.getCurrentParagraph();
int col = area.getCaretColumn();
TextStyle style = area.getStyleAtPosition(p, col);
bold = style.bold.orElse(false);
italic = style.italic.orElse(false);
underline = style.underline.orElse(false);
strike = style.strikethrough.orElse(false);
fontSize = style.fontSize.orElse(-1);
fontFamily = style.fontFamily.orElse(null);
textColor = style.textColor.orElse(null);
backgroundColor = style.backgroundColor.orElse(null);
}
int startPar = area.offsetToPosition(selection.getStart(), Forward).getMajor();
int endPar = area.offsetToPosition(selection.getEnd(), Backward).getMajor();
List<Paragraph<ParStyle, Either<String, LinkedImage>, TextStyle>> pars = area.getParagraphs().subList(startPar, endPar + 1);
@SuppressWarnings("unchecked") Optional<TextAlignment>[] alignments = pars.stream().map(p -> p.getParagraphStyle().alignment).distinct().toArray(Optional[]::new);
Optional<TextAlignment> alignment = alignments.length == 1 ? alignments[0] : Optional.empty();
@SuppressWarnings("unchecked") Optional<Color>[] paragraphBackgrounds = pars.stream().map(p -> p.getParagraphStyle().backgroundColor).distinct().toArray(Optional[]::new);
Optional<Color> paragraphBackground = paragraphBackgrounds.length == 1 ? paragraphBackgrounds[0] : Optional.empty();
updatingToolbar.suspendWhile(() -> {
if (bold) {
if (!boldBtn.getStyleClass().contains("pressed")) {
boldBtn.getStyleClass().add("pressed");
}
} else {
boldBtn.getStyleClass().remove("pressed");
}
if (italic) {
if (!italicBtn.getStyleClass().contains("pressed")) {
italicBtn.getStyleClass().add("pressed");
}
} else {
italicBtn.getStyleClass().remove("pressed");
}
if (underline) {
if (!underlineBtn.getStyleClass().contains("pressed")) {
underlineBtn.getStyleClass().add("pressed");
}
} else {
underlineBtn.getStyleClass().remove("pressed");
}
if (strike) {
if (!strikeBtn.getStyleClass().contains("pressed")) {
strikeBtn.getStyleClass().add("pressed");
}
} else {
strikeBtn.getStyleClass().remove("pressed");
}
if (alignment.isPresent()) {
TextAlignment al = alignment.get();
switch(al) {
case LEFT:
alignmentGrp.selectToggle(alignLeftBtn);
break;
case CENTER:
alignmentGrp.selectToggle(alignCenterBtn);
break;
case RIGHT:
alignmentGrp.selectToggle(alignRightBtn);
break;
case JUSTIFY:
alignmentGrp.selectToggle(alignJustifyBtn);
break;
}
} else {
alignmentGrp.selectToggle(null);
}
paragraphBackgroundPicker.setValue(paragraphBackground.orElse(null));
if (fontSize != -1) {
sizeCombo.getSelectionModel().select(fontSize);
} else {
sizeCombo.getSelectionModel().clearSelection();
}
if (fontFamily != null) {
familyCombo.getSelectionModel().select(fontFamily);
} else {
familyCombo.getSelectionModel().clearSelection();
}
if (textColor != null) {
textColorPicker.setValue(textColor);
}
backgroundColorPicker.setValue(backgroundColor);
});
}
});
ToolBar toolBar1 = new ToolBar(loadBtn, saveBtn, new Separator(Orientation.VERTICAL), wrapToggle, new Separator(Orientation.VERTICAL), undoBtn, redoBtn, new Separator(Orientation.VERTICAL), cutBtn, copyBtn, pasteBtn, new Separator(Orientation.VERTICAL), boldBtn, italicBtn, underlineBtn, strikeBtn, new Separator(Orientation.VERTICAL), alignLeftBtn, alignCenterBtn, alignRightBtn, alignJustifyBtn, new Separator(Orientation.VERTICAL), insertImageBtn, new Separator(Orientation.VERTICAL), paragraphBackgroundPicker);
ToolBar toolBar2 = new ToolBar(sizeCombo, familyCombo, textColorPicker, backgroundColorPicker);
VirtualizedScrollPane<GenericStyledArea<ParStyle, Either<String, LinkedImage>, TextStyle>> vsPane = new VirtualizedScrollPane<>(area);
VBox vbox = new VBox();
VBox.setVgrow(vsPane, Priority.ALWAYS);
vbox.getChildren().addAll(toolBar1, toolBar2, vsPane);
Scene scene = new Scene(vbox, 600, 400);
scene.getStylesheets().add(RichText.class.getResource("rich-text.css").toExternalForm());
primaryStage.setScene(scene);
area.requestFocus();
primaryStage.setTitle("Rich Text Demo");
primaryStage.show();
}
use of javafx.scene.control.ComboBox in project selenium_java by sergueik.
the class ConfigFormEx method start.
@SuppressWarnings("restriction")
@Override
public void start(Stage primaryStage) {
Map<String, String> browserOptions = new HashMap<>();
for (String browser : new ArrayList<String>(Arrays.asList(new String[] { "Chrome", "Firefox", "Internet Explorer", "Edge", "Safari" }))) {
browserOptions.put(browser, "unused");
}
configOptions.put("Browser", browserOptions);
// offer templates embedded in the application jar and
// make rest up to customer
configData.put("Template", "Core Selenium Java (embedded)");
configOptions.put("Template", new HashMap<String, String>());
templates = configOptions.get("Template");
primaryStage.setTitle("Session Configuration");
BorderPane root = new BorderPane();
Scene scene = new Scene(root, 480, 250, Color.WHITE);
GridPane gridpane1 = new GridPane();
GridPane gridpane = new GridPane();
GridPane.setRowIndex(gridpane, 0);
GridPane.setColumnIndex(gridpane, 0);
HBox buttonbarHbox = new HBox(10);
buttonbarHbox.setPadding(new Insets(10));
// gridpane.setVgap(5);
GridPane.setRowIndex(buttonbarHbox, 1);
GridPane.setColumnIndex(buttonbarHbox, 0);
// Save button
Button saveButton = new Button("Save");
saveButton.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
System.out.println("Saved");
Stage stage = (Stage) ((Button) (event.getSource())).getScene().getWindow();
stage.close();
}
});
saveButton.setDefaultButton(true);
// Cancel button
Button cancelButton = new Button("Cancel");
cancelButton.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
System.out.println("Cancel");
Stage stage = (Stage) ((Button) (event.getSource())).getScene().getWindow();
stage.close();
}
});
buttonbarHbox.getChildren().addAll(saveButton, cancelButton);
gridpane1.getChildren().addAll(gridpane, buttonbarHbox);
// origin:
gridpane.setPadding(new Insets(5));
gridpane.setHgap(5);
gridpane.setVgap(5);
// https://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html
gridpane.setStyle("-fx-padding: 10; -fx-border-style: solid inside; -fx-border-width: 2; -fx-border-insets: 5; -fx-border-radius: 0; -fx-border-color: darkgray;");
// origin:
// http://www.java2s.com/Tutorials/Java/JavaFX/0340__JavaFX_GridPane.htm
// https://docs.oracle.com/javase/8/javafx/api/javafx/scene/layout/GridPane.html
ColumnConstraints column1 = new ColumnConstraints(150);
ColumnConstraints column2 = new ColumnConstraints(50, 300, 450);
column2.setHgrow(Priority.ALWAYS);
gridpane.getColumnConstraints().addAll(column1, column2);
// First name label
Label baseURLLbl = new Label("Base URL");
GridPane.setHalignment(baseURLLbl, HPos.RIGHT);
// Set one constraint at a time...
// Places the label at the first row and first column
GridPane.setRowIndex(baseURLLbl, 0);
GridPane.setColumnIndex(baseURLLbl, 0);
// Last name label
Label templateDirLabel = new Label("Template directory");
GridPane.setHalignment(templateDirLabel, HPos.RIGHT);
// Set column and row constraint at once...
// Places the label at the third row and first column
gridpane.add(templateDirLabel, 0, 2);
gridpane.getChildren().addAll(baseURLLbl);
// base URL field
TextField baseURLFld = new TextField();
GridPane.setHalignment(baseURLFld, HPos.LEFT);
gridpane.add(baseURLFld, 1, 0);
// tempalteDir field
TextField tempalteDirFld = new TextField();
GridPane.setHalignment(tempalteDirFld, HPos.LEFT);
tempalteDirFld.setMaxWidth(Double.MAX_VALUE);
Button browseButton = new Button("Browse");
GridPane.setHalignment(browseButton, HPos.RIGHT);
browseButton.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
System.out.println("Browse");
}
});
HBox browseButtonbarHbox = new HBox(10);
browseButtonbarHbox.setPadding(new Insets(10));
browseButtonbarHbox.getChildren().addAll(tempalteDirFld, browseButton);
gridpane.add(browseButtonbarHbox, 1, 2);
browseButtonbarHbox.setMaxWidth(Double.MAX_VALUE);
final String[] browsers = new String[] { "Chrome", "Firefox", "Edge", "Internet Explorer" };
ChoiceBox browserChoice = new ChoiceBox();
browserChoice.setItems(FXCollections.observableArrayList(Arrays.asList(browsers)));
browserChoice.getSelectionModel().selectedIndexProperty().addListener(new ChangeListener<Number>() {
public void changed(ObservableValue ov, Number index, Number new_index) {
System.err.println("Browser: " + browsers[new_index.intValue()]);
}
});
browserChoice.getSelectionModel().select(0);
browserChoice.setMaxWidth(Double.MAX_VALUE);
gridpane.add(browserChoice, 1, 1);
Label browserLabel = new Label("Browser");
GridPane.setHalignment(browserLabel, HPos.RIGHT);
gridpane.add(browserLabel, 0, 1);
final String[] templates = new String[] { "mockup 1", "mockup 2", "mockup 3" };
ComboBox templateChoice = new ComboBox();
templateChoice.getItems().addAll(Arrays.asList(templates));
templateChoice.setPromptText("template");
templateChoice.setEditable(true);
templateChoice.setOnAction(e -> {
String dummy = templateChoice.getSelectionModel().getSelectedItem().toString();
});
GridPane.setHalignment(templateChoice, HPos.RIGHT);
templateChoice.setValue("mockup 1");
templateChoice.setEditable(true);
templateChoice.getEditor().setEditable(false);
templateChoice.setStyle("-fx-background-color: gray");
templateChoice.setMaxWidth(Double.MAX_VALUE);
// setHgrow(Priority.ALWAYS);
gridpane.add(templateChoice, 1, 3);
Label templateLabel = new Label("Template");
GridPane.setHalignment(templateLabel, HPos.RIGHT);
gridpane.add(templateLabel, 0, 3);
root.setCenter(gridpane1);
primaryStage.setScene(scene);
primaryStage.show();
for (String configKey : Arrays.asList("Browser", "Base URL", "Template Directory", "Template")) {
if (configOptions.containsKey(configKey)) {
} else {
}
}
}
use of javafx.scene.control.ComboBox in project phoenicis by PhoenicisOrg.
the class ChooseRepositoryTypePanel method populate.
/**
* Populates the content of this component
*/
private void populate() {
choiceBox = new ComboBox<>(repositoryChoices);
choiceBox.setPromptText(tr("Please select the repository type you want to add"));
choiceBox.setConverter(new StringConverter<RepositoryType>() {
@Override
public String toString(RepositoryType repositoryType) {
return repositoryType.getLabel();
}
@Override
public RepositoryType fromString(String string) {
return Arrays.stream(RepositoryType.values()).filter(type -> type.getLabel().equals(string)).findAny().orElse(null);
}
});
choiceBox.setOnAction(event -> onRepositoryTypeSelection.accept(choiceBox.getSelectionModel().getSelectedItem()));
Label choiceBoxLabel = new Label(tr("Repository type:"));
choiceBoxLabel.setLabelFor(choiceBox);
HBox content = new HBox(choiceBoxLabel, choiceBox);
content.setId("repositoryTypeSelection");
HBox.setHgrow(choiceBox, Priority.ALWAYS);
this.setCenter(content);
}
use of javafx.scene.control.ComboBox in project phoenicis by PhoenicisOrg.
the class WinePrefixContainerDisplayTab method populate.
private void populate() {
final VBox displayPane = new VBox();
final Text title = new TextWithStyle(tr("Display settings"), TITLE_CSS_CLASS);
displayPane.getStyleClass().add(CONFIGURATION_PANE_CSS_CLASS);
displayPane.getChildren().add(title);
final GridPane displayContentPane = new GridPane();
displayContentPane.getStyleClass().add("grid");
final ComboBox<UseGLSL> glslComboBox = new ComboBox<>();
glslComboBox.setMaxWidth(Double.MAX_VALUE);
glslComboBox.setValue(container.getUseGlslValue());
glslComboBox.valueProperty().addListener((observable, oldValue, newValue) -> this.changeSettings(newValue));
addItems(glslComboBox, UseGLSL.class);
displayContentPane.add(new TextWithStyle(tr("GLSL support"), CAPTION_TITLE_CSS_CLASS), 0, 0);
displayContentPane.add(glslComboBox, 1, 0);
final ComboBox<DirectDrawRenderer> directDrawRendererComboBox = new ComboBox<>();
directDrawRendererComboBox.setMaxWidth(Double.MAX_VALUE);
directDrawRendererComboBox.setValue(container.getDirectDrawRenderer());
directDrawRendererComboBox.valueProperty().addListener((observable, oldValue, newValue) -> this.changeSettings(newValue));
addItems(directDrawRendererComboBox, DirectDrawRenderer.class);
displayContentPane.add(new TextWithStyle(tr("Direct Draw Renderer"), CAPTION_TITLE_CSS_CLASS), 0, 1);
displayContentPane.add(directDrawRendererComboBox, 1, 1);
final ComboBox<VideoMemorySize> videoMemorySizeComboBox = new ComboBox<>();
videoMemorySizeComboBox.setMaxWidth(Double.MAX_VALUE);
videoMemorySizeComboBox.setValue(container.getVideoMemorySize());
videoMemorySizeComboBox.valueProperty().addListener((observable, oldValue, newValue) -> this.changeSettings(newValue));
addItemsVideoMemorySize(videoMemorySizeComboBox);
displayContentPane.add(new TextWithStyle(tr("Video memory size"), CAPTION_TITLE_CSS_CLASS), 0, 2);
displayContentPane.add(videoMemorySizeComboBox, 1, 2);
final ComboBox<OffscreenRenderingMode> offscreenRenderingModeComboBox = new ComboBox<>();
offscreenRenderingModeComboBox.setMaxWidth(Double.MAX_VALUE);
offscreenRenderingModeComboBox.setValue(container.getOffscreenRenderingMode());
offscreenRenderingModeComboBox.valueProperty().addListener((observable, oldValue, newValue) -> this.changeSettings(newValue));
addItems(offscreenRenderingModeComboBox, OffscreenRenderingMode.class);
displayContentPane.add(new TextWithStyle(tr("Offscreen rendering mode"), CAPTION_TITLE_CSS_CLASS), 0, 3);
displayContentPane.add(offscreenRenderingModeComboBox, 1, 3);
final ComboBox<RenderTargetModeLock> renderTargetModeLockComboBox = new ComboBox<>();
renderTargetModeLockComboBox.setMaxWidth(Double.MAX_VALUE);
renderTargetModeLockComboBox.setValue(container.getRenderTargetModeLock());
renderTargetModeLockComboBox.valueProperty().addListener((observable, oldValue, newValue) -> this.changeSettings(newValue));
addItems(renderTargetModeLockComboBox, RenderTargetModeLock.class);
displayContentPane.add(new TextWithStyle(tr("Render target lock mode"), CAPTION_TITLE_CSS_CLASS), 0, 4);
displayContentPane.add(renderTargetModeLockComboBox, 1, 4);
final ComboBox<Multisampling> multisamplingComboBox = new ComboBox<>();
multisamplingComboBox.setMaxWidth(Double.MAX_VALUE);
multisamplingComboBox.setValue(container.getMultisampling());
multisamplingComboBox.valueProperty().addListener((observable, oldValue, newValue) -> this.changeSettings(newValue));
addItems(multisamplingComboBox, Multisampling.class);
displayContentPane.add(new TextWithStyle(tr("Multisampling"), CAPTION_TITLE_CSS_CLASS), 0, 5);
displayContentPane.add(multisamplingComboBox, 1, 5);
final ComboBox<StrictDrawOrdering> strictDrawOrderingComboBox = new ComboBox<>();
strictDrawOrderingComboBox.setMaxWidth(Double.MAX_VALUE);
strictDrawOrderingComboBox.setValue(container.getStrictDrawOrdering());
strictDrawOrderingComboBox.valueProperty().addListener((observable, oldValue, newValue) -> this.changeSettings(newValue));
addItems(strictDrawOrderingComboBox, StrictDrawOrdering.class);
displayContentPane.add(new TextWithStyle(tr("Strict Draw Ordering"), CAPTION_TITLE_CSS_CLASS), 0, 6);
displayContentPane.add(strictDrawOrderingComboBox, 1, 6);
final ComboBox<AlwaysOffscreen> alwaysOffscreenComboBox = new ComboBox<>();
alwaysOffscreenComboBox.setMaxWidth(Double.MAX_VALUE);
alwaysOffscreenComboBox.setValue(container.getAlwaysOffscreen());
alwaysOffscreenComboBox.valueProperty().addListener((observable, oldValue, newValue) -> this.changeSettings(newValue));
addItems(alwaysOffscreenComboBox, AlwaysOffscreen.class);
displayContentPane.add(new TextWithStyle(tr("Always Offscreen"), CAPTION_TITLE_CSS_CLASS), 0, 7);
displayContentPane.add(alwaysOffscreenComboBox, 1, 7);
Region spacer = new Region();
GridPane.setHgrow(spacer, Priority.ALWAYS);
displayContentPane.add(spacer, 2, 0);
displayPane.getChildren().addAll(displayContentPane);
this.setContent(displayPane);
lockableElements.addAll(Arrays.asList(glslComboBox, directDrawRendererComboBox, offscreenRenderingModeComboBox, renderTargetModeLockComboBox, multisamplingComboBox, strictDrawOrderingComboBox, alwaysOffscreenComboBox, videoMemorySizeComboBox));
}
use of javafx.scene.control.ComboBox in project phoenicis by PhoenicisOrg.
the class WinePrefixContainerInputTab method populate.
private void populate() {
final VBox inputPane = new VBox();
final Text title = new TextWithStyle(tr("Input settings"), TITLE_CSS_CLASS);
inputPane.getStyleClass().add(CONFIGURATION_PANE_CSS_CLASS);
inputPane.getChildren().add(title);
final GridPane inputContentPane = new GridPane();
inputContentPane.getStyleClass().add("grid");
final ComboBox<MouseWarpOverride> mouseWarpOverrideComboBox = new ComboBox<>();
mouseWarpOverrideComboBox.setValue(container.getMouseWarpOverride());
addItems(mouseWarpOverrideComboBox, MouseWarpOverride.class);
inputContentPane.add(new TextWithStyle(tr("Mouse Warp Override"), CAPTION_TITLE_CSS_CLASS), 0, 0);
inputContentPane.add(mouseWarpOverrideComboBox, 1, 0);
inputContentPane.getColumnConstraints().addAll(new ColumnConstraintsWithPercentage(30), new ColumnConstraintsWithPercentage(70));
inputPane.getChildren().addAll(inputContentPane);
this.setContent(inputPane);
lockableElements.add(mouseWarpOverrideComboBox);
}
Aggregations