+ "58.857 220.286z", null); ((SVGGlyph) arrow).setFill(timePicker.getDefaultColor()); ((SVGGlyph) arrow).setSize(20, 20); arrowButton.getChildren().setAll(arrow);
+ " 960h-832v-704h832v704z", null); ((SVGGlyph) arrow).setFill(jfxDatePicker.getDefaultColor()); ((SVGGlyph) arrow).setSize(20, 20); arrowButton.getChildren().setAll(arrow);
shape.setContent(svgPathContent); setShape(shape); setFill(fill);
private void refreshView() { if (glyph.getValue() == null) { idLabel.setText(""); nameLabel.setText(""); return; } sizeSlider.valueProperty().addListener(observable -> glyph.get().setSize(sizeSlider.getValue())); idLabel.setText(String.format("%04d", glyph.get().getGlyphId())); nameLabel.setText(glyph.get().getName()); glyph.get().setFill(colorPicker.getValue()); glyph.get().fillProperty().bind(colorPicker.valueProperty()); centeredGlyph.getChildren().setAll(glyph.get()); }
"m 1099,704 q 0,-52 -37,-91 L 410,-38 q -37,-37 -90,-37 -53,0 -90,37 l -76,75 q -37,39 -37,91 0,53 37,90 l 486,486 -486,485 q -37,39 -37,91 0,53 37,90 l 76,75 q 36,38 90,38 54,0 90,-38 l 652,-651 q 37,-37 37,-90 z", Color.GRAY); leftChevron.setFill(DEFAULT_COLOR); leftChevron.setSize(6, 11); rightChevron.setFill(DEFAULT_COLOR); rightChevron.setSize(6, 11);
pickerDecorator.lookupAll(".jfx-decorator-button").forEach(button -> { ((JFXButton) button).setRipplerFill(fontColor); ((SVGGlyph) ((JFXButton) button).getGraphic()).setFill(fontColor); });
shape.setContent(svgPathContent); setShape(shape); setFill(fill);
"m 1099,704 q 0,-52 -37,-91 L 410,-38 q -37,-37 -90,-37 -53,0 -90,37 l -76,75 q -37,39 -37,91 0,53 37,90 l 486,486 -486,485 q -37,39 -37,91 0,53 37,90 l 76,75 q 36,38 90,38 54,0 90,-38 l 652,-651 q 37,-37 37,-90 z", Color.GRAY); leftChevron.setFill(DEFAULT_COLOR); leftChevron.setSize(6, 11); rightChevron.setFill(DEFAULT_COLOR); rightChevron.setSize(6, 11);
pickerDecorator.lookupAll(".jfx-decorator-button").forEach(button -> { ((JFXButton) button).setRipplerFill(fontColor); ((SVGGlyph) ((JFXButton) button).getGraphic()).setFill(fontColor); });