Example usage for java.awt LayoutManager2 interface-usage

List of usage examples for java.awt LayoutManager2 interface-usage

Introduction

In this page you can find the example usage for java.awt LayoutManager2 interface-usage.

Usage

From source file XYLayout.java

public class XYLayout implements LayoutManager2, Serializable {

    private static final long serialVersionUID = 200L;

    int width;

From source file TableLayout.java

public class TableLayout implements LayoutManager2 {
    private int colCount;
    private ArrayList contents; // of Component[]
    private int curRow;
    private int curCol;
    private Dimension prefs;

From source file DividerLayout.java

/**
 * <p>
 * <code>DividerLayout</code> is layout that divides two components with the
 * column of actions. It is especially usefull for components that contains
 * two lists of elements and buttons for transfering elements between these
 * two lists.

From source file ColumnLayout.java

/**
 * This LayoutManager arranges the components into a column. Components are
 * always given their preferred size.
 * 
 * When you create a ColumnLayout, you may specify four values: margin_height --
 * how much space to leave on top and bottom margin_width -- how much space to

From source file ColumnLayout.java

/**
 * This LayoutManager arranges the components into a column. Components are
 * always given their preferred size.
 * 
 * When you create a ColumnLayout, you may specify four values: margin_height --
 * how much space to leave on top and bottom margin_width -- how much space to

From source file TileLayout.java

/**
 * A rather unique LayoutManager. In addition to laying out components relative
 * to the container, it also supports layout relative to components <i>within</i>
 * the container. Its purpose is to support arbitrarily complex component
 * layouts, of an unlimited number of components, within a single container. It
 * can easily create complex layouts that would otherwise require many

From source file EdgeLayoutExample.java

class EdgeLayout implements LayoutManager2, java.io.Serializable {
    private List components = new ArrayList();
    private HashMap constraints = new HashMap();

    public static final String CENTER = "center";
    public static final String NORTH = "north";

From source file TableLayout.java

/**
 * Table layout manager, with the flexibity of GridBagLayout but the ease of
 * use of HTML table declarations.
 *
 * <p>use like:   </br>
 *    new TableLayout(cols) </br>

From source file layout.GraphPaperLayout.java

/**
 * The <code>GraphPaperLayout</code> class is a layout manager that
 * lays out a container's components in a rectangular grid, similar
 * to GridLayout.  Unlike GridLayout, however, components can take
 * up multiple rows and/or columns.  The layout manager acts as a
 * sheet of graph paper.  When a component is added to the layout

From source file GraphPaperLayout.java

/**
 * The <code>GraphPaperLayout</code> class is a layout manager that lays out a
 * container's components in a rectangular grid, similar to GridLayout. Unlike
 * GridLayout, however, components can take up multiple rows and/or columns. The
 * layout manager acts as a sheet of graph paper. When a component is added to
 * the layout manager, the location and relative size of the component are