org.springframework.richclient.util
Class GridBagCellConstraints

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.util.GridBagCellConstraints

public class GridBagCellConstraints
extends Object

Utility functions to assist using the horridly complex Grid bag layout.

Author:
Keith Donald

Field Summary
static Insets BOTTOM_INSETS
           
static Insets EVEN_INSETS
           
static Insets LEFT_INSETS
           
static Insets RIGHT_INSETS
           
static Insets RIGHT_INSETS_TWO_SPACES
           
static Insets TITLE_LABEL_INSETS
           
static Insets TOP_INSETS
           
 
Constructor Summary
GridBagCellConstraints()
           
 
Method Summary
 GridBagConstraints label(int x, int y)
           
 GridBagConstraints label(int x, int y, Insets insets)
           
 GridBagConstraints textField(int x, int y)
           
 GridBagConstraints textField(int x, int y, Insets insets)
           
 GridBagConstraints title(int x, int y)
           
 GridBagConstraints xy(int x, int y)
           
 GridBagConstraints xya(int x, int y, int anchor)
           
 GridBagConstraints xyaf(int x, int y, int anchor, int fill)
           
 GridBagConstraints xyaf(int x, int y, int anchor, int fill, Insets insets)
           
 GridBagConstraints xyf(int x, int y, int fill)
           
 GridBagConstraints xyfi(int x, int y, int fill, Insets insets)
           
 GridBagConstraints xywh(int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_INSETS

public static Insets RIGHT_INSETS

LEFT_INSETS

public static Insets LEFT_INSETS

TOP_INSETS

public static Insets TOP_INSETS

BOTTOM_INSETS

public static Insets BOTTOM_INSETS

TITLE_LABEL_INSETS

public static Insets TITLE_LABEL_INSETS

RIGHT_INSETS_TWO_SPACES

public static Insets RIGHT_INSETS_TWO_SPACES

EVEN_INSETS

public static Insets EVEN_INSETS
Constructor Detail

GridBagCellConstraints

public GridBagCellConstraints()
Method Detail

xy

public GridBagConstraints xy(int x,
                             int y)

xywh

public GridBagConstraints xywh(int x,
                               int y,
                               int width,
                               int height)

xyf

public GridBagConstraints xyf(int x,
                              int y,
                              int fill)

xyfi

public GridBagConstraints xyfi(int x,
                               int y,
                               int fill,
                               Insets insets)

xya

public GridBagConstraints xya(int x,
                              int y,
                              int anchor)

xyaf

public GridBagConstraints xyaf(int x,
                               int y,
                               int anchor,
                               int fill)

xyaf

public GridBagConstraints xyaf(int x,
                               int y,
                               int anchor,
                               int fill,
                               Insets insets)

title

public GridBagConstraints title(int x,
                                int y)

label

public GridBagConstraints label(int x,
                                int y)

label

public GridBagConstraints label(int x,
                                int y,
                                Insets insets)

textField

public GridBagConstraints textField(int x,
                                    int y)

textField

public GridBagConstraints textField(int x,
                                    int y,
                                    Insets insets)


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.