net.sf.arise.awt
Class GBConstraints

java.lang.Object
  |
  +--java.awt.GridBagConstraints
        |
        +--net.sf.arise.awt.GBConstraints
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class GBConstraints
extends java.awt.GridBagConstraints

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.GridBagConstraints
anchor, BOTH, CENTER, EAST, fill, FIRST_LINE_END, FIRST_LINE_START, gridheight, gridwidth, gridx, gridy, HORIZONTAL, insets, ipadx, ipady, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, NONE, NORTH, NORTHEAST, NORTHWEST, PAGE_END, PAGE_START, RELATIVE, REMAINDER, SOUTH, SOUTHEAST, SOUTHWEST, VERTICAL, weightx, weighty, WEST
 
Constructor Summary
GBConstraints()
           
 
Method Summary
static GBCComponent anchor(int a)
           
static GBConstraints create(GBCComponent c1)
           
static GBConstraints create(GBCComponent c1, GBCComponent c2)
           
static GBConstraints create(GBCComponent c1, GBCComponent c2, GBCComponent c3)
           
static GBConstraints create(GBCComponent c1, GBCComponent c2, GBCComponent c3, GBCComponent c4)
           
static GBConstraints create(GBCComponent c1, GBCComponent c2, GBCComponent c3, GBCComponent c4, GBCComponent c5)
           
static GBConstraints create(GBCComponent c1, GBCComponent c2, GBCComponent c3, GBCComponent c4, GBCComponent c5, GBCComponent c6)
           
static GBConstraints create(GBCComponent c1, GBCComponent c2, GBCComponent c3, GBCComponent c4, GBCComponent c5, GBCComponent c6, GBCComponent c7)
           
static GBCComponent fill(int f)
           
static GBCComponent gridPos(int x, int y)
           
static GBCComponent gridSize(int w, int h)
           
static GBCComponent insets(java.awt.Insets i)
           
static GBCComponent insets(int all)
           
static GBCComponent insets(int top, int left, int bottom, int right)
           
static GBCComponent pad(int x, int y)
           
static GBCComponent weight(int x, int y)
           
 
Methods inherited from class java.awt.GridBagConstraints
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GBConstraints

public GBConstraints()
Method Detail

gridPos

public static GBCComponent gridPos(int x,
                                   int y)

gridSize

public static GBCComponent gridSize(int w,
                                    int h)

pad

public static GBCComponent pad(int x,
                               int y)

weight

public static GBCComponent weight(int x,
                                  int y)

fill

public static GBCComponent fill(int f)

insets

public static GBCComponent insets(java.awt.Insets i)

insets

public static GBCComponent insets(int top,
                                  int left,
                                  int bottom,
                                  int right)

insets

public static GBCComponent insets(int all)

anchor

public static GBCComponent anchor(int a)

create

public static GBConstraints create(GBCComponent c1)

create

public static GBConstraints create(GBCComponent c1,
                                   GBCComponent c2)

create

public static GBConstraints create(GBCComponent c1,
                                   GBCComponent c2,
                                   GBCComponent c3)

create

public static GBConstraints create(GBCComponent c1,
                                   GBCComponent c2,
                                   GBCComponent c3,
                                   GBCComponent c4)

create

public static GBConstraints create(GBCComponent c1,
                                   GBCComponent c2,
                                   GBCComponent c3,
                                   GBCComponent c4,
                                   GBCComponent c5)

create

public static GBConstraints create(GBCComponent c1,
                                   GBCComponent c2,
                                   GBCComponent c3,
                                   GBCComponent c4,
                                   GBCComponent c5,
                                   GBCComponent c6)

create

public static GBConstraints create(GBCComponent c1,
                                   GBCComponent c2,
                                   GBCComponent c3,
                                   GBCComponent c4,
                                   GBCComponent c5,
                                   GBCComponent c6,
                                   GBCComponent c7)


All code and documentation is

Copyright (c) : 2000-2003 Kjetil Valstadsve & Maja S. Bratseth