org.apache.batik.util.gui

Class ExtendedGridBagConstraints

public class ExtendedGridBagConstraints extends GridBagConstraints

This class extends the java.awt.GridBagConstraints in order to provide some utility methods.
Method Summary
voidsetGridBounds(int x, int y, int width, int height)
Modifies gridx, gridy, gridwidth, gridheight.
voidsetWeight(double weightx, double weighty)
Modifies the weightx and weighty.

Method Detail

setGridBounds

public void setGridBounds(int x, int y, int width, int height)
Modifies gridx, gridy, gridwidth, gridheight.

Parameters: x The value for gridx. y The value for gridy. width The value for gridwidth. height The value for gridheight.

setWeight

public void setWeight(double weightx, double weighty)
Modifies the weightx and weighty.

Parameters: weightx The value for weightx weighty The value for weighty

Copyright B) 2007 Apache Software Foundation. All Rights Reserved.