Example usage for java.awt LayoutManager interface-usage

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

Introduction

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

Usage

From source file StackLayout.java

/**
 * Special simple layout used in TabbedContainer. Shows component in the
 * "stack", it means that only one component is visible at any time, others are
 * always hidden "below" the visible one. Use method showComponent to select
 * visible component.
 *

From source file TreeLinkTest.java

/**
 * Simple layout manager that arranges its children in a tree. The tree always
 * expands to fill the available area, and the internal components are resized
 * to fit the area proportional to their preferred size and the actual available
 * size.
 * 

From source file Main.java

class DiagonalLayout implements LayoutManager {
    private int vgap;
    private int minWidth = 0, minHeight = 0;
    private int preferredWidth = 0, preferredHeight = 0;
    private boolean sizeUnknown = true;

From source file FormatLayout.java

/**
 * A layout manager that spaces components over six columns in seven different 
 * formats.
 *
 * @author David Gilbert
 */

From source file CustomLayoutDemo.java

class DiagonalLayout implements LayoutManager {
    private int vgap;
    private int minWidth = 0, minHeight = 0;
    private int preferredWidth = 0, preferredHeight = 0;
    private boolean sizeUnknown = true;

From source file ar.com.fdvs.dj.core.layout.AbstractLayoutManager.java

/**
 * Abstract Class used as base for the different Layout Managers.</br>
 * </br>
 * A Layout Manager is always invoked after the entities registration stage.</br>
 * A subclass should be created whenever we want to give the users the chance to </br>
 * easily apply global layout changes to their reports. Example: Ignore groups </br>

From source file BeanContainer.java

    /**
       DialogLayout
    */
    class DialogLayout implements LayoutManager {
        protected int m_divider = -1;
        protected int m_hGap = 10;

From source file CircleOfSquares.java

class GridSnapLayout implements LayoutManager {

    // rows and cols are the number of rows and columns of the grid upon
    // which the components are placed. Components are always one row
    // in height, but may be more than one column in width. The number
    // of columns width of each component is stored in hComponentCellWidths.

From source file JVMSimulator.java

class GridSnapLayout implements LayoutManager {

    // rows and cols are the number of rows and columns of the grid upon
    // which the components are placed. Components are always one row
    // in height, but may be more than one column in width. The number
    // of columns width of each component is stored in hComponentCellWidths.