|
|||||||||
| Home >> All >> org >> cantaloop >> tools >> [ layout overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.cantaloop.tools.layout
Class TableLayoutConstraints

java.lang.Objectorg.cantaloop.tools.layout.TableLayoutConstraints
- All Implemented Interfaces:
- TableLayoutConstants
- Direct Known Subclasses:
- TableLayout.Entry
- public class TableLayoutConstraints
- extends java.lang.Object
- implements TableLayoutConstants
- extends java.lang.Object
The following inner class is used to bind components to their constraints.
| Field Summary | |
int |
col1
Cell in which the upper left corner of the component lays |
int |
col2
Cell in which the lower right corner of the component lays |
int |
hAlign
Horizontal justification if component occupies just one cell |
int |
row1
Cell in which the upper left corner of the component lays |
int |
row2
Cell in which the lower right corner of the component lays |
int |
vAlign
Verical justification if component occupies just one cell |
| Fields inherited from interface org.cantaloop.tools.layout.TableLayoutConstants |
BOTTOM, CENTER, FILL, FULL, LEFT, MAX_ALIGN, MIN_ALIGN, MINIMUM, PREFERRED, RIGHT, TOP |
| Constructor Summary | |
TableLayoutConstraints()
Constructs an TableLayoutConstraints with the default settings. |
|
TableLayoutConstraints(int col1,
int row1,
int col2,
int row2,
int hAlign,
int vAlign)
Constructs an TableLayoutConstraints a set of constraints. |
|
TableLayoutConstraints(java.lang.String constraints)
Constructs an TableLayoutConstraints from a string. |
|
| Method Summary | |
java.lang.String |
toString()
Gets a string representation of this TableLayoutConstraints. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
col1
public int col1
- Cell in which the upper left corner of the component lays
row1
public int row1
- Cell in which the upper left corner of the component lays
col2
public int col2
- Cell in which the lower right corner of the component lays
row2
public int row2
- Cell in which the lower right corner of the component lays
hAlign
public int hAlign
- Horizontal justification if component occupies just one cell
vAlign
public int vAlign
- Verical justification if component occupies just one cell
| Constructor Detail |
TableLayoutConstraints
public TableLayoutConstraints()
- Constructs an TableLayoutConstraints with the default settings. This
constructor is equivalent to TableLayoutConstraints(0, 0, 0, 0, FULL, FULL).
TableLayoutConstraints
public TableLayoutConstraints(java.lang.String constraints)
- Constructs an TableLayoutConstraints from a string.
TableLayoutConstraints
public TableLayoutConstraints(int col1,
int row1,
int col2,
int row2,
int hAlign,
int vAlign)
- Constructs an TableLayoutConstraints a set of constraints.
| Method Detail |
toString
public java.lang.String toString()
- Gets a string representation of this TableLayoutConstraints.
|
|||||||||
| Home >> All >> org >> cantaloop >> tools >> [ layout overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.cantaloop.tools.layout.TableLayoutConstraints