|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.lwuit.table.TableLayout.Constraint
public static class TableLayout.Constraint
Represents the layout constraint for an entry within the table indicating the desired position/behavior of the component.
Constructor Summary | |
---|---|
TableLayout.Constraint()
|
Method Summary | |
---|---|
int |
getColumn()
|
int |
getHeightPercentage()
|
int |
getHorizontalAlign()
|
int |
getHorizontalSpan()
|
int |
getRow()
|
int |
getVerticalAlign()
|
int |
getVerticalSpan()
|
int |
getWidthPercentage()
|
void |
setHeightPercentage(int height)
Sets the row height based on percentage of the parent |
void |
setHorizontalAlign(int align)
Sets the horizontal alignment of the table cell |
void |
setHorizontalSpan(int span)
Sets the cells to span horizontally, this number must never be smaller than 1 |
void |
setVerticalAlign(int valign)
Sets the vertical alignment of the table cell |
void |
setVerticalSpan(int span)
Sets the cells to span vertically, this number must never be smaller than 1 |
void |
setWidthPercentage(int width)
Sets the column width based on percentage of the parent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableLayout.Constraint()
Method Detail |
---|
public void setVerticalSpan(int span)
span
- a number larger than 1public void setHorizontalSpan(int span)
span
- a number larger than 1public void setWidthPercentage(int width)
width
- negative number indicates ignoring this memberpublic void setHeightPercentage(int height)
height
- negative number indicates ignoring this memberpublic void setHorizontalAlign(int align)
align
- Component.LEFT/RIGHT/CENTERpublic void setVerticalAlign(int valign)
valign
- Component.TOP/BOTTOM/CENTERpublic int getRow()
public int getColumn()
public int getWidthPercentage()
public int getHeightPercentage()
public int getHorizontalSpan()
public int getVerticalSpan()
public int getHorizontalAlign()
public int getVerticalAlign()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |