de.infinityloop.util.gui
Class ParagraphLayout
java.lang.Object
de.infinityloop.util.gui.ConstraintLayout
de.infinityloop.util.gui.ParagraphLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2
public class ParagraphLayout
- extends ConstraintLayout
Method Summary |
protected void |
layoutRow(java.awt.Container target,
java.awt.Dimension[] sizes,
int start,
int end,
int y,
int rowWidth,
int rowHeight,
boolean paragraph,
int type,
java.lang.Integer paragraphType)
|
void |
measureLayout(java.awt.Container target,
java.awt.Dimension dimension,
int type)
|
Methods inherited from class de.infinityloop.util.gui.ConstraintLayout |
addLayoutComponent, addLayoutComponent, calcLayoutSize, getComponentSize, getConstraint, getIncludeInvisible, getLayoutAlignmentX, getLayoutAlignmentY, includeComponent, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setConstraint, setIncludeInvisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
hGapMajor
protected int hGapMajor
vGapMajor
protected int vGapMajor
hGapMinor
protected int hGapMinor
vGapMinor
protected int vGapMinor
rows
protected int rows
colWidth1
protected int colWidth1
colWidth2
protected int colWidth2
ParagraphLayout
public ParagraphLayout()
ParagraphLayout
public ParagraphLayout(int hMargin,
int vMargin,
int hGapMajor,
int vGapMajor,
int hGapMinor,
int vGapMinor)
measureLayout
public void measureLayout(java.awt.Container target,
java.awt.Dimension dimension,
int type)
- Overrides:
measureLayout
in class ConstraintLayout
layoutRow
protected void layoutRow(java.awt.Container target,
java.awt.Dimension[] sizes,
int start,
int end,
int y,
int rowWidth,
int rowHeight,
boolean paragraph,
int type,
java.lang.Integer paragraphType)