Web Dynpro API Documentation

com.sap.tc.webdynpro.clientserver.uielib.standard.api
Interface IWDGridLayout

All Superinterfaces:
IWDLayout, IWDViewElement

public interface IWDGridLayout
extends IWDLayout

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

DEFAULT_CELL_PADDING

public static final int DEFAULT_CELL_PADDING
Default value of property cellPadding.

DEFAULT_CELL_SPACING

public static final int DEFAULT_CELL_SPACING
Default value of property cellSpacing.

DEFAULT_COL_COUNT

public static final int DEFAULT_COL_COUNT
Default value of property colCount.

DEFAULT_STRETCHED_HORIZONTALLY

public static final boolean DEFAULT_STRETCHED_HORIZONTALLY
Default value of property stretchedHorizontally.

DEFAULT_STRETCHED_VERTICALLY

public static final boolean DEFAULT_STRETCHED_VERTICALLY
Default value of property stretchedVertically.
Method Detail

getCellPadding

public int getCellPadding()
Returns the value of the cellPadding property. The initial value is 0. Determines the cell padding (in pixels) used for all cells in the grid.
Returns:
the value of the cellPadding property
See Also:
setCellPadding(int)

setCellPadding

public void setCellPadding(int cellPadding)
Sets property cellPadding to the given value.
Parameters:
cellPadding - the new cellPadding value
See Also:
getCellPadding()

getCellSpacing

public int getCellSpacing()
Returns the value of the cellSpacing property. The initial value is 0. Determines the cell spacing (in pixels) used for all cells in the grid.
Returns:
the value of the cellSpacing property
See Also:
setCellSpacing(int)

setCellSpacing

public void setCellSpacing(int cellSpacing)
Sets property cellSpacing to the given value.
Parameters:
cellSpacing - the new cellSpacing value
See Also:
getCellSpacing()

getColCount

public int getColCount()
Returns the value of the colCount property. The initial value is 1. Determines the number of grid columns.
Returns:
the value of the colCount property
See Also:
setColCount(int)

setColCount

public void setColCount(int colCount)
Sets property colCount to the given value.
Parameters:
colCount - the new colCount value
See Also:
getColCount()

getStretchedHorizontally

public boolean getStretchedHorizontally()
Returns the value of the stretchedHorizontally property. The initial value is true. Determines if the elements managed by this layout are stretched to their container“s size.
Returns:
the value of the stretchedHorizontally property
See Also:
setStretchedHorizontally(boolean)

setStretchedHorizontally

public void setStretchedHorizontally(boolean stretchedHorizontally)
Sets property stretchedHorizontally to the given value.
Parameters:
stretchedHorizontally - the new stretchedHorizontally value
See Also:
getStretchedHorizontally()

getStretchedVertically

public boolean getStretchedVertically()
Returns the value of the stretchedVertically property. The initial value is true.
Returns:
the value of the stretchedVertically property
See Also:
setStretchedVertically(boolean)

setStretchedVertically

public void setStretchedVertically(boolean stretchedVertically)
Sets property stretchedVertically to the given value.
Parameters:
stretchedVertically - the new stretchedVertically value
See Also:
getStretchedVertically()

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15