Class BuildConstraints
java.lang.Object
icecube.testdaq.display.BuildConstraints
public class BuildConstraints
BuildConstraints is a simple class with one method whose purpose is to simplify building GridBagConstraints for GridBagLayouts.
Method Summary
|
static public void |
build(GridBagConstraints build(GridBagConstraints gbc, int gx, int gy, int gw, int gh, int wx, int wy)
Sets the constraints according to the variables passed to the method: gbc.gridx = gx; gbc.gridy = gy; gbc.gridwidth = gw; gbc.gridheight = gh; gbc.weightx = wx; gbc.weighty = wy; |