forked from rhyzue/KettleLog
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBlankCell.java
More file actions
25 lines (18 loc) · 703 Bytes
/
Copy pathBlankCell.java
File metadata and controls
25 lines (18 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import Item.*;
import javafx.util.*;
import javafx.scene.control.*;
import javafx.scene.control.cell.PropertyValueFactory;
public class BlankCell extends TableCell<Item, String> implements Callback<TableColumn<Item, String>, TableCell<Item, String>> {
@Override
public TableCell call(final TableColumn<Item, String> param) {
//System.out.println("===============hereCell");
return new TableCell<Item, String>() {
@Override
public void updateItem(String item, boolean empty) {
super.updateItem(item, empty);
setGraphic(null);
setText(null);
}
};
}
}