private void addGridLayoutComponentConstraints(Constraints constraints) {
    Grid grid = constraints.getGrid();

    myProperties.add(new PropertyBean("GridLayout component constraints", null));
    addSubValue("grid", grid.getClass().getSimpleName() + "@" + System.identityHashCode(grid));
    addSubValue("Cell coordinate", new Point(constraints.getX(), constraints.getY()));
    addSubValue("Cell size", new Dimension(constraints.getWidth(), constraints.getHeight()));
    addSubValue("gaps", constraints.getGaps());
    addSubValue("visualPaddings", constraints.getVisualPaddings());
    addSubValue("horizontalAlign", constraints.getHorizontalAlign().name());
    addSubValue("verticalAlign", constraints.getVerticalAlign().name());
    addSubValue("baselineAlign", constraints.getBaselineAlign());
  }
private void addGridLayoutComponentConstraints(Constraints constraints)