TablePane.Column tablePaneColumn = new TablePane.Column(); tablePaneColumn.setWidth(tableViewArgument.getColumnBounds(i).width); tablePaneColumns.add(tablePaneColumn);
TablePane.Column tablePaneColumn = new TablePane.Column(); tablePaneColumn.setWidth(tableView.getColumnBounds(i).width); tablePaneColumns.add(tablePaneColumn);
public MenuItemDataRenderer() { getStyles().put("padding", new Insets(2)); getColumns().add(new TablePane.Column(1, true)); getColumns().add(new TablePane.Column()); BoxPane boxPane = new BoxPane(); boxPane.add(imageView); boxPane.add(textLabel); boxPane.getStyles().put("verticalAlignment", VerticalAlignment.CENTER); boxPane.getStyles().put("padding", new Insets(0, 0, 0, 6)); TablePane.Row row = new TablePane.Row(); row.add(boxPane); row.add(keyboardShortcutLabel); getRows().add(row); imageView.getStyles().put("backgroundColor", null); }
public MenuItemDataRenderer() { getStyles().put("padding", new Insets(2)); getColumns().add(new TablePane.Column(1, true)); getColumns().add(new TablePane.Column()); BoxPane boxPane = new BoxPane(); boxPane.add(imageView); boxPane.add(textLabel); boxPane.getStyles().put("verticalAlignment", VerticalAlignment.CENTER); boxPane.getStyles().put("padding", new Insets(0, 0, 0, 6)); TablePane.Row row = new TablePane.Row(); row.add(boxPane); row.add(keyboardShortcutLabel); getRows().add(row); imageView.getStyles().put("backgroundColor", null); }
public LinkButtonDataRenderer() { getStyles().put("horizontalSpacing", 4); getColumns().add(new TablePane.Column()); getColumns().add(new TablePane.Column(1, true)); TablePane.Row row = new TablePane.Row(); row.add(imageView); row.add(label); getRows().add(row); label.getStyles().put("wrapText", true); }
public LinkButtonDataRenderer() { getStyles().put("horizontalSpacing", 4); getColumns().add(new TablePane.Column()); getColumns().add(new TablePane.Column(1, true)); TablePane.Row row = new TablePane.Row(); row.add(imageView); row.add(label); getRows().add(row); label.getStyles().put("wrapText", true); }