summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/gui/layout/HLayout.java
blob: 977cb152ca62e79757dfcc84661a897c25220d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package bjc.utils.gui.layout;

import java.awt.GridLayout;

/**
 * A layout manager that lays out its components horizontally, evenly sizing
 * them.
 *
 * @author ben
 */
public class HLayout extends GridLayout {
	/* Version ID for serialization. */
	private static final long serialVersionUID = 1244964456966270026L;

	/**
	 * Create a new horizontal layout with the specified number of columns.
	 *
	 * @param columns
	 *                The number of columns in this layout.
	 */
	public HLayout(final int columns) {
		super(1, columns);
	}
}