|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro GridLayout API.
GridLayout is a container layout that arranges its elements in a grid.
The number of grid columns is given by property colCount.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static int |
DEFAULT_CELL_PADDING
Default value of property cellPadding. |
static int |
DEFAULT_CELL_SPACING
Default value of property cellSpacing. |
static int |
DEFAULT_COL_COUNT
Default value of property colCount. |
static boolean |
DEFAULT_STRETCHED_HORIZONTALLY
Default value of property stretchedHorizontally. |
static boolean |
DEFAULT_STRETCHED_VERTICALLY
Default value of property stretchedVertically. |
| Method Summary | |
int |
getCellPadding()
Returns the value of the cellPadding property. |
int |
getCellSpacing()
Returns the value of the cellSpacing property. |
int |
getColCount()
Returns the value of the colCount property. |
boolean |
getStretchedHorizontally()
Returns the value of the stretchedHorizontally property. |
boolean |
getStretchedVertically()
Returns the value of the stretchedVertically property. |
void |
setCellPadding(int cellPadding)
Sets property cellPadding to the given value. |
void |
setCellSpacing(int cellSpacing)
Sets property cellSpacing to the given value. |
void |
setColCount(int colCount)
Sets property colCount to the given value. |
void |
setStretchedHorizontally(boolean stretchedHorizontally)
Sets property stretchedHorizontally to the given value. |
void |
setStretchedVertically(boolean stretchedVertically)
Sets property stretchedVertically to the given value. |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDLayout |
getUIElementContainer |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final int DEFAULT_CELL_PADDING
cellPadding.public static final int DEFAULT_CELL_SPACING
cellSpacing.public static final int DEFAULT_COL_COUNT
colCount.public static final boolean DEFAULT_STRETCHED_HORIZONTALLY
stretchedHorizontally.public static final boolean DEFAULT_STRETCHED_VERTICALLY
stretchedVertically.| Method Detail |
public int getCellPadding()
cellPadding property.
The initial value is 0.
Determines the cell padding (in pixels) used for all cells in the grid.setCellPadding(int)public void setCellPadding(int cellPadding)
cellPadding to the given value.cellPadding - the new cellPadding valuegetCellPadding()public int getCellSpacing()
cellSpacing property.
The initial value is 0.
Determines the cell spacing (in pixels) used for all cells in the grid.setCellSpacing(int)public void setCellSpacing(int cellSpacing)
cellSpacing to the given value.cellSpacing - the new cellSpacing valuegetCellSpacing()public int getColCount()
colCount property.
The initial value is 1.
Determines the number of grid columns.setColCount(int)public void setColCount(int colCount)
colCount to the given value.colCount - the new colCount valuegetColCount()public boolean getStretchedHorizontally()
stretchedHorizontally property.
The initial value is true.
Determines if the elements managed by this layout are stretched to their container“s size.setStretchedHorizontally(boolean)public void setStretchedHorizontally(boolean stretchedHorizontally)
stretchedHorizontally to the given value.stretchedHorizontally - the new stretchedHorizontally valuegetStretchedHorizontally()public boolean getStretchedVertically()
stretchedVertically property.
The initial value is true.
setStretchedVertically(boolean)public void setStretchedVertically(boolean stretchedVertically)
stretchedVertically to the given value.stretchedVertically - the new stretchedVertically valuegetStretchedVertically()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||