|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.app.layout.CellLayoutData
nextapp.echo.app.layout.GridLayoutData
public class GridLayoutData
A LayoutData object used to describe how a
Component is rendered within a Grid.
| Field Summary | |
|---|---|
static int |
SPAN_FILL
A constant value for column and row spans indicating that a cell should fill all remaining cells. |
| Constructor Summary | |
|---|---|
GridLayoutData()
Creates a new >GridLayoutData instance with no column span/row span. |
|
GridLayoutData(int columnSpan,
int rowSpan)
Creates a new GridLayoutData instance with the specified column and row spans. |
|
| Method Summary | |
|---|---|
int |
getColumnSpan()
Returns the column span of the cell. |
int |
getRowSpan()
Returns the row span of the cell. |
void |
setColumnSpan(int newValue)
Sets the column span of the cell. |
void |
setRowSpan(int newValue)
Sets the row span of the cell. |
| Methods inherited from class nextapp.echo.app.layout.CellLayoutData |
|---|
getAlignment, getBackground, getBackgroundImage, getInsets, setAlignment, setBackground, setBackgroundImage, setInsets |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SPAN_FILL
WARNING: This value may ONLY be used for spans in the
direction of the layout of the Grid, i.e., it may only be
used for column-spans if the orientation is horizontal, and it may only
be used for row-spans if the orientation is vertical.
| Constructor Detail |
|---|
public GridLayoutData()
>GridLayoutData instance with no column span/row span.
public GridLayoutData(int columnSpan,
int rowSpan)
GridLayoutData instance with the specified column and row spans.
columnSpan - the columnSpan (a value of 1 indicates only one column is occupied)rowSpan - the rowSpan (a value of 1 indicates only one row is occupied)| Method Detail |
|---|
public int getColumnSpan()
public int getRowSpan()
public void setColumnSpan(int newValue)
newValue - the new column spanpublic void setRowSpan(int newValue)
newValue - the new row span
|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||