gui.layouts
Class ParagraphLayout

java.lang.Object
  extended by gui.layouts.ConstraintLayout
      extended by gui.layouts.ParagraphLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2

public class ParagraphLayout
extends ConstraintLayout


Field Summary
static java.lang.Integer NEW_LINE
           
static java.lang.Integer NEW_LINE_STRETCH_H
           
static java.lang.Integer NEW_LINE_STRETCH_HV
           
static java.lang.Integer NEW_LINE_STRETCH_V
           
static int NEW_LINE_VALUE
           
static java.lang.Integer NEW_PARAGRAPH
           
static java.lang.Integer NEW_PARAGRAPH_TOP
           
static int NEW_PARAGRAPH_TOP_VALUE
           
static int NEW_PARAGRAPH_VALUE
           
static java.lang.Integer STRETCH_H
           
static int STRETCH_H_MASK
           
static java.lang.Integer STRETCH_HV
           
static java.lang.Integer STRETCH_V
           
static int STRETCH_V_MASK
           
static int TYPE_MASK
           
 
Constructor Summary
ParagraphLayout()
           
ParagraphLayout(int hMargin, int vMargin, int hGapMajor, int vGapMajor, int hGapMinor, int vGapMinor)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void measureLayout(java.awt.Container target, java.awt.Dimension dimension, int type)
           
 
Methods inherited from class gui.layouts.ConstraintLayout
addLayoutComponent, addLayoutComponent, calcLayoutSize, getConstraint, getIncludeInvisible, getLayoutAlignmentX, getLayoutAlignmentY, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setConstraint, setIncludeInvisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_MASK

public static final int TYPE_MASK
See Also:
Constant Field Values

STRETCH_H_MASK

public static final int STRETCH_H_MASK
See Also:
Constant Field Values

STRETCH_V_MASK

public static final int STRETCH_V_MASK
See Also:
Constant Field Values

NEW_PARAGRAPH_VALUE

public static final int NEW_PARAGRAPH_VALUE
See Also:
Constant Field Values

NEW_PARAGRAPH_TOP_VALUE

public static final int NEW_PARAGRAPH_TOP_VALUE
See Also:
Constant Field Values

NEW_LINE_VALUE

public static final int NEW_LINE_VALUE
See Also:
Constant Field Values

NEW_PARAGRAPH

public static final java.lang.Integer NEW_PARAGRAPH

NEW_PARAGRAPH_TOP

public static final java.lang.Integer NEW_PARAGRAPH_TOP

NEW_LINE

public static final java.lang.Integer NEW_LINE

STRETCH_H

public static final java.lang.Integer STRETCH_H

STRETCH_V

public static final java.lang.Integer STRETCH_V

STRETCH_HV

public static final java.lang.Integer STRETCH_HV

NEW_LINE_STRETCH_H

public static final java.lang.Integer NEW_LINE_STRETCH_H

NEW_LINE_STRETCH_V

public static final java.lang.Integer NEW_LINE_STRETCH_V

NEW_LINE_STRETCH_HV

public static final java.lang.Integer NEW_LINE_STRETCH_HV
Constructor Detail

ParagraphLayout

public ParagraphLayout()

ParagraphLayout

public ParagraphLayout(int hMargin,
                       int vMargin,
                       int hGapMajor,
                       int vGapMajor,
                       int hGapMinor,
                       int vGapMinor)
Method Detail

measureLayout

public void measureLayout(java.awt.Container target,
                          java.awt.Dimension dimension,
                          int type)
Overrides:
measureLayout in class ConstraintLayout

main

public static void main(java.lang.String[] args)