|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evanmclean.evlib.tablelayout.TableLayoutConstraintFactory.Builder
public class TableLayoutConstraintFactory.Builder
This is the builder that actually performs the assembly of constraints.
Method Summary | |
---|---|
TableLayoutConstraintFactory.Builder |
align(TLHA halign)
Sets the horizontal alignment to the specified enumerated value. |
TableLayoutConstraintFactory.Builder |
align(TLVA valign)
Sets the vertical alignment to the specified enumerated value. |
TableLayoutConstraintFactory.Builder |
bottom()
Sets the vertical alignment to the bottom of the cell. |
TableLayoutConstraintFactory.Builder |
col(int col)
Set the cell column, keeping the effective width constant. |
TableLayoutConstraintFactory.Builder |
col1(int col)
Sets the value for col1, without modifying col2 — You would probably prefer to use col(int) |
TableLayoutConstraintFactory.Builder |
col2(int col)
Sets the value for col2, without modifying col1 — You would probably prefer to use col(int) |
TableLayoutConstraintFactory.Builder |
hcenter()
Sets the horizontal alignment to center. |
TableLayoutConstraintFactory.Builder |
hcentre()
Sets the horizontal alignment to centre. |
TableLayoutConstraintFactory.Builder |
height(int height)
Sets the number of rows that will be spanned. |
TableLayoutConstraintFactory.Builder |
hfull()
Sets the horizontal alignment to full. |
TableLayoutConstraintFactory.Builder |
hleading()
Sets the horizontal alignment to leading. |
TableLayoutConstraintFactory.Builder |
hleft()
Sets the horizontal alignment to left. |
TableLayoutConstraintFactory.Builder |
hright()
Sets the horizontal alignment to right. |
TableLayoutConstraintFactory.Builder |
htrailing()
Sets the horizontal alignment to trailing. |
TableLayoutConstraintFactory.Builder |
leading()
Sets the horizontal alignment to leading. |
TableLayoutConstraintFactory.Builder |
left()
Sets the horizontal alignment to left. |
info.clearthought.layout.TableLayoutConstraints |
make()
Make the table layout constraint object based on the current settings in the builder. |
TableLayoutConstraintFactory.Builder |
right()
Sets the horizontal alignment to right. |
TableLayoutConstraintFactory.Builder |
row(int row)
Set the cell row, keeping the effective height constant. |
TableLayoutConstraintFactory.Builder |
row1(int row)
Sets the value for row1, without modifying row2 — You would probably prefer to use row(int) |
TableLayoutConstraintFactory.Builder |
row2(int row)
Sets the value for row2, without modifying row1 — You would probably prefer to use row(int) |
TableLayoutConstraintFactory.Builder |
top()
Sets the vertical alignment to the top of the cell. |
String |
toString()
Returns a textual representation of the settings in the builder (useful for debugging). |
TableLayoutConstraintFactory.Builder |
trailing()
Sets the horizontal alignment to trailing. |
TableLayoutConstraintFactory.Builder |
vbottom()
Sets the vertical alignment to the bottom of the cell. |
TableLayoutConstraintFactory.Builder |
vcenter()
Sets the vertical alignment to center. |
TableLayoutConstraintFactory.Builder |
vcentre()
Sets the vertical alignment to centre. |
TableLayoutConstraintFactory.Builder |
vfull()
Sets the vertical alignment to full. |
TableLayoutConstraintFactory.Builder |
vtop()
Sets the vertical alignment to the top of the cell. |
TableLayoutConstraintFactory.Builder |
width(int width)
Sets the number of columns that will be spanned. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public TableLayoutConstraintFactory.Builder align(TLHA halign)
halign
-
public TableLayoutConstraintFactory.Builder align(TLVA valign)
valign
-
public TableLayoutConstraintFactory.Builder bottom()
public TableLayoutConstraintFactory.Builder col(int col)
col
-
public TableLayoutConstraintFactory.Builder col1(int col)
col(int)
col
-
col(int)
public TableLayoutConstraintFactory.Builder col2(int col)
col(int)
col
-
col(int)
public TableLayoutConstraintFactory.Builder hcenter()
public TableLayoutConstraintFactory.Builder hcentre()
public TableLayoutConstraintFactory.Builder height(int height)
height
-
public TableLayoutConstraintFactory.Builder hfull()
public TableLayoutConstraintFactory.Builder hleading()
public TableLayoutConstraintFactory.Builder hleft()
public TableLayoutConstraintFactory.Builder hright()
public TableLayoutConstraintFactory.Builder htrailing()
public TableLayoutConstraintFactory.Builder leading()
public TableLayoutConstraintFactory.Builder left()
public info.clearthought.layout.TableLayoutConstraints make()
TLCFException
will be thrown if the constraints do
not make sense (e.g., col2 less than col1, the column range is exceeded,
and such.)
TLCFException
- if the constraints to not make sense.public TableLayoutConstraintFactory.Builder right()
public TableLayoutConstraintFactory.Builder row(int row)
row
-
public TableLayoutConstraintFactory.Builder row1(int row)
row(int)
row
-
row(int)
public TableLayoutConstraintFactory.Builder row2(int row)
row(int)
row
-
row(int)
public TableLayoutConstraintFactory.Builder top()
public String toString()
toString
in class Object
public TableLayoutConstraintFactory.Builder trailing()
public TableLayoutConstraintFactory.Builder vbottom()
public TableLayoutConstraintFactory.Builder vcenter()
public TableLayoutConstraintFactory.Builder vcentre()
public TableLayoutConstraintFactory.Builder vfull()
public TableLayoutConstraintFactory.Builder vtop()
public TableLayoutConstraintFactory.Builder width(int width)
width
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |