Lines Matching refs:hgap
108 int hgap;
187 * @param hgap the horizontal gap
193 public GridLayout(int rows, int cols, int hgap, int vgap) {
199 this.hgap = hgap;
260 return hgap;
265 * @param hgap the horizontal gap between components
268 public void setHgap(int hgap) {
269 this.hgap = hgap;
349 return new Dimension(insets.left + insets.right + ncols*w + (ncols-1)*hgap,
398 return new Dimension(insets.left + insets.right + ncols*w + (ncols-1)*hgap,
442 int totalGapsWidth = (ncols - 1) * hgap;
452 for (int c = 0, x = insets.left + extraWidthAvailable; c < ncols ; c++, x += widthOnComponent + hgap) {
461 for (int c = 0, x = (parent.width - insets.right - widthOnComponent) - extraWidthAvailable; c < ncols ; c++, x -= widthOnComponent + hgap) {
478 return getClass().getName() + "[hgap=" + hgap + ",vgap=" + vgap +