.htaccess
.ssh/config
.vimrc
a2dismod
a2enmod
Alert
apache
Apache2
Apache Commons Codec
Apache Commons HttpClient
apache poi
ArgoUML
array
Background
barcode
BCrypt
BigDecimal
Boolean
branch
CellFactory
Certbot
CheckBox
checksum
cherry-pick
cmd
code runner
color
ComboBox
command.com
cookie
cron
crontab
css
cursor
data
datagrid
Date
DatePicker
DateTimeFormat
DateTimeFormatter
Debian
Dialog
DigestUtils
Docker
Dropdown
drukowanie
du
error_reporting
escape
file
FileChooser
find
FireFox
font
FOP Apache
Format
formatowanie
g+1
Generator
Git
GitLab
Google
GWT
GWT Maven Plugin
gzip
HashMap
HashSet
HashTable
html
import
Jackcess
Java
java.beans
JavaFx
jbutton
JDialog
JFileChooser
jquery
katalog
kernel.shmmax
keyword.url
Klucze
KMail
kod kreskowy
Let's Encrypt
li
Linuks
linux
LocalDate
LocalDateTime
logger
logging
logging.properties
loop
ls
Maven
Maven War plugin
mb_strtolower
md5hex
mdb
Menu
merge
mimeinfo.cache
Mobile
mouse
msaccess
MySQL
mysqldump
NetBeans
OpenSSH
parametr
parse
pdf
pdftk
pg_dump
php
php_flag
plik hosts
post
PostgreSQL
proxy
psql
quota
React
Replikacja
resources
revert
rmdir
RowFactory
rsync
runner
Samba
Scenic View
shell
SimpleDateFormat
skype
SLF4J
smbpasswd
Spam
Spam Free WordPress
span
Spinner
SpinnerValueFactory
split
sql
ssh
sshd_config
ssl
STDERR
STDOUT
string
StringEscapeUtils
swing
sysctl
TableColumn
TableView
Tailwind
template
test
TestFX
TextField
TextInput
TextInputDialog
Tomcat
Tomcat6
TreeCell
TreeTableView
twitter
TypeScript
ul
umask
UML
unit test
update-rc.d
url
user
useradd
vi
vim
Vite
vscode
wagon-maven-plugin
wagon-ssh
war
WebdriverIO
wiki
Windows
Wordpress
xls
xml
zebra
zpl
zxing |
JavaFx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
TextInputDialog dialog = new TextInputDialog("42"); dialog.setHeaderText("Input your favourite int."); dialog.setTitle("Favourite number?"); dialog.setContentText("Your favourite int: "); Optional<String> result = dialog.showAndWait(); String s = result.map(r -> { try { Integer n = Integer.valueOf(r); return MessageFormat.format("Nice! I like {0} too!", n); } catch (NumberFormatException ex) { return MessageFormat.format("Unfortunately \"{0}\" is not a int!", r); } }).orElse("You really don't want to tell me, huh?"); System.out.println(s); |
gprzezdz
3 grudnia, 2020
Możliwość komentowania JavaFX prosty TextInputDialog została wyłączona
https://docs.oracle.com/javafx/2/ui_controls/tree-view.htm#BABEJCHA
gprzezdz
1 sierpnia, 2018
Możliwość komentowania Edycja w TreeTableView TreeCell została wyłączona
Link http://programmingtipsandtraps.blogspot.com/2015/10/drag-and-drop-in-treetableview-with.html
gprzezdz
1 sierpnia, 2018
Możliwość komentowania Drag and Drop w TreeTableView TreeCell została wyłączona
|
public class OpenDefaultProgram extends Application { @Override public void start(Stage primaryStage) throws Exception { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } public void openURL(String url) { getHostServices().showDocument(url); } (new OpenDefaultProgram ()).openURL(xlsFile.getAbsolutePath()); |
gprzezdz
8 czerwca, 2018
Możliwość komentowania Otwieranie dowolnego pliku z URL’a / AbsolutePath’a JavaFx została wyłączona
|
tableColumn.setCellFactory(TextFieldTableCell.<Faktura, Number>forTableColumn(new NumberStringConverter())); tableColumn.setOnEditCommit(new EventHandler<CellEditEvent<Faktura, Number>>() { @Override public void handle(CellEditEvent<AltaviaZamowienie, Number> value) { int oldValue = value.getOldValue().intValue(); Faktura faktura = ((Faktura) value.getTableView().getItems().get(value.getTablePosition().getRow())); faktura.setLiczba(value.getNewValue().intValue()); try { FakturaDAO.FakturaZapisz(faktura); } catch (Exception ex) { ex.printStackTrace(); ErrorWindow.showAndWait(ex, primaryStage); faktura.setLiczba(oldValue); } } }); |
>>> Link do dokumentacji
gprzezdz
7 czerwca, 2018
Możliwość komentowania Edycja wartości w TableColumn parametr Number / integer została wyłączona
Według źródła
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Alert alert = new Alert(AlertType.CONFIRMATION); alert.setTitle("Confirmation Dialog with Custom Actions"); alert.setHeaderText("Look, a Confirmation Dialog with Custom Actions"); alert.setContentText("Choose your option."); ButtonType buttonTypeOne = new ButtonType("One"); ButtonType buttonTypeTwo = new ButtonType("Two"); ButtonType buttonTypeThree = new ButtonType("Three"); ButtonType buttonTypeCancel = new ButtonType("Cancel", ButtonData.CANCEL_CLOSE); alert.getButtonTypes().setAll(buttonTypeOne, buttonTypeTwo, buttonTypeThree, buttonTypeCancel); Optional<ButtonType> result = alert.showAndWait(); if (result.get() == buttonTypeOne){ // ... user chose "One" } else if (result.get() == buttonTypeTwo) { // ... user chose "Two" } else if (result.get() == buttonTypeThree) { // ... user chose "Three" } else { // ... user chose CANCEL or closed the dialog } |
gprzezdz
30 maja, 2018
Możliwość komentowania Okno/Dialog Yes,No,Cancel i więcej w JavaFX została wyłączona
Standardowo pokazuje się ścieżka obiektu ale jak zrobimy tak to jest ok
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
@FXML protected ComboBox<TypPaczka> comboBoxTypPaczki; Callback<ListView<TypPaczka>, ListCell<TypPaczka>> cellFactory = new Callback<ListView<TypPaczka>, ListCell<TypPaczka>>() { @Override public ListCell<TypPaczka> call(ListView<TypPaczka> l) { return new ListCell<TypPaczka>() { @Override protected void updateItem(TypPaczka item, boolean empty) { super.updateItem(item, empty); if (item == null || empty) { setGraphic(null); } else { setText(item.getDesc()); } } }; } }; // Just set the button cell here: comboBoxTypPaczki.setButtonCell(cellFactory.call(null)); comboBoxTypPaczki.setCellFactory(cellFactory); |
gprzezdz
23 marca, 2018
Możliwość komentowania ComboBox z wyborem obiektu z pominięciem toString() i opakowania w inną metodą toSting() została wyłączona
Poniżej.
|
@FXML TableColumn<Plik, Boolean> columnWyslane; columnWyslane.setCellValueFactory(cellData -> { return new SimpleBooleanProperty(cellData.getValue().isWyslane()); }); columnWyslane.setCellFactory(tc -> new CheckBoxTableCell<>()); |
gprzezdz
5 stycznia, 2018
Możliwość komentowania Proste wyświetlenie wartości boolean w tabeli dla Javafx została wyłączona
j.w
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Dialog<String> dialog = new Dialog<>(); TextArea textArea = new TextArea("text"); ButtonType zmianButton = new ButtonType("OK", ButtonData.OK_DONE); dialog.getDialogPane().getButtonTypes().addAll(zmianButton, ButtonType.CANCEL); dialog.setTitle("Lista"); dialog.getDialogPane().setContent(textArea); Platform.runLater(() -> textArea.requestFocus()); dialog.setResultConverter(dialogButton -> { if (dialogButton == zmianButton) { return textArea.getText().trim(); } return null; }); Optional<String> result = dialog.showAndWait(); result.ifPresent((t) -> { System.out.println("t:" + t); }); |
gprzezdz
18 grudnia, 2017
Możliwość komentowania Prosty Dialog pobraniem danych z TextArea została wyłączona
Scenic View is a JavaFX application designed to make it simple to understand the current state of your application scenegraph, and to also easily manipulate properties of the scenegraph without having to keep editing your code. This lets you find bugs, and get things pixel perfect without having to do the compile-check-compile dance. http://fxexperience.com/scenic-view/
gprzezdz
23 listopada, 2017
Możliwość komentowania Scenic View is a JavaFX application została wyłączona
|