@Override
    public Double getValue(final RadComponent component) {
      if (component.getCustomLayoutConstraints() instanceof GridBagConstraints gbc) {
        return myIsWeightX ? gbc.weightx : gbc.weighty;
      }
      return 0.0;
    }
@Override
    public Double getValue(final RadComponent component)