code: private ToggleButton buildFilterButton(final String name, final ColorItem colorItem) {
          final ToggleButton tb = new ToggleButton(name);
          tb.getStyleClass().add("filterButton");
          // tb.setPrefSize(120, 30);
          tb.setBackground(new Background(new BackgroundFill(colorItem.get(), new CornerRadii(6.0), Insets.EMPTY)));
          return tb;
      }
docs: .
  
  @return