|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.common.swing.AbstractLayout
org.crosswire.common.swing.FieldLayout
public class FieldLayout
Layout Components along with labels that describe them. We ought to consider the Form layout idea that I dreamt up earlier when considering updates to this.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormField Summary | |
---|---|
private static long |
serialVersionUID
Serialization ID |
Fields inherited from class org.crosswire.common.swing.AbstractLayout |
---|
hgap, vgap |
Constructor Summary | |
---|---|
FieldLayout()
A default FieldLayout with intercomponent spacing of 0. |
|
FieldLayout(int hgap,
int vgap)
FieldLayout with specified intercomponent spacings. |
Method Summary | |
---|---|
void |
layoutContainer(Container target)
layout the specified container |
Dimension |
minimumLayoutSize(Container target)
The minimum layout size for a given container |
Dimension |
preferredLayoutSize(Container target)
The preferred layout size for a given container |
Methods inherited from class org.crosswire.common.swing.AbstractLayout |
---|
addLayoutComponent, addLayoutComponent, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getVgap, invalidateLayout, maximumLayoutSize, removeLayoutComponent, setHgap, setVgap, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public FieldLayout()
public FieldLayout(int hgap, int vgap)
hgap
- The horizontal gapsvgap
- The vertical gapsMethod Detail |
---|
public Dimension minimumLayoutSize(Container target)
public Dimension preferredLayoutSize(Container target)
public void layoutContainer(Container target)
|
Copyright ยจ 2003-2007 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |