posted 18 years ago
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
package suncertify.client;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{
private static GridBagConstraints constraint = new GridBagConstraints();
{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
[ April 01, 2005: Message edited by: Mark Spritzler ]