@Override
    public void addLayoutComponent(String s, Component component) {
      actionButtons.add(Pair.pair(component, s));
    }
@Override
    public void addLayoutComponent(String s, Component component)