|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.library.layout.RowLayout.Constraint
public static class RowLayout.Constraint
RowLayout's component constraint object. You must pass it as the constraint when you add a component to a container.
Field Summary | |
---|---|
int |
row
The component's row number. |
float |
weight
The component's weight. |
Constructor Summary | |
---|---|
RowLayout.Constraint()
|
Method Summary | |
---|---|
void |
set(int row,
float weight)
A convenience method to set the constraints. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int row
public float weight
Constructor Detail |
---|
public RowLayout.Constraint()
Method Detail |
---|
public void set(int row, float weight)
row
- The row number, starting at 0.weight
- A weight value between 0f and 1f.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |