protected ImageView imageView = new ImageView();
protected Label textLabel = new Label();
protected Label keyboardShortcutLabel = new Label();
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);