List of usage examples for java.awt LayoutManager interface-usage
From source file CircleLayoutTest.java
class CircleLayout implements LayoutManager { private int minWidth = 0; private int minHeight = 0; private int preferredWidth = 0, preferredHeight = 0;
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 OverlayLayout.java
/**
* A simple layoutmanager to overlay all components of a parent.
* <p/>
* This layout manager acts similiar to the card layout, but all
* childs of the parent band have the same size and all childs can
* be visible at the same time.
From source file layout.DiagonalLayout.java
public 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 CenterLayout.java
/**
* A layout manager that displays a single component in the center of its
* container.
*
* @author David Gilbert
*/
From source file CircleLayoutTest.java
/** * A layout manager that lays out components along a circle. */ class CircleLayout implements LayoutManager { public void addLayoutComponent(String name, Component comp) { }
From source file LCBLayout.java
/** * Specialised layout manager for a grid of components. * * @author David Gilbert */ public class LCBLayout implements LayoutManager, Serializable {
From source file RadialLayout.java
/**
* RadialLayout is a component layout manager. Compents are laid out in a
* circle. If only one component is contained in the layout it is positioned
* centrally, otherwise components are evenly spaced around the centre with
* the first component placed to the North.
*<P>
From source file EntryLayout.java
/**
* A simple layout manager, for "Entry" areas ith e.g., a list of labels and
* their corresponding JTextFields. These typically look like:
*
* <PRE>
*
From source file RelativeLayout.java
/**
* <p>
* RelativeLayout, a Relative Layout Manager for Java J2SE. Mainly for porting
* tired old code that uses x,y locations. You really can't just assign x,y
* locations to components in Java Java J2SE - it breaks badly when the user
* resizes (and you can <em>not</em> mandate that the user can't resize you --