|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.GridLayoutCell
Title: GridLayoutCell Description: GridLayoutCell defines a cell of a grid
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
| Constructor Summary | |
GridLayoutCell(Component component)
Constructor for a GridLayoutCell object. |
|
GridLayoutCell(Component component,
int colSpan)
Constructor for a GridLayoutCell object. |
|
GridLayoutCell(String text)
Constructor for a GridLayoutCell object. |
|
GridLayoutCell(String text,
int colSpan)
Constructor for a GridLayoutCell object. |
|
| Method Summary | |
GridCellBackgroundDesign |
getCellBackgroundDesign()
Return the design, which should be used to display the cell. |
int |
getColSpan()
Return the used column span for the cell. |
Object |
getContent()
Return the content of the cell (i.e. a component of a simple text). |
CellHAlign |
getHAlignment()
Return the horizontal aligment, which should be used to display the cell. |
String |
getHeight()
Return the used height of the cell. |
int |
getHeightPercentage()
Return the used height of the cell. |
String |
getStyle()
Return the style, which should be used to display the cell. |
String |
getUI()
get a identification String for the renderer that is unique across all supported components. |
CellVAlign |
getVAlignment()
Return the vertical aligment, which should be used to display the cell. |
String |
getWidth()
Return the width of the cell. |
boolean |
requiresForm()
check if a special component really requires a form around it. |
void |
setCellBackgroundDesign(GridCellBackgroundDesign design)
Set the design, which should be used to display the cell. |
void |
setColSpan(int colSpan)
Set the used column span for the cell. |
void |
setContent(Component component)
Set the component, which sould be displayed in the cell. |
void |
setContent(String text)
Set the text, which sould be displayed in the cell. |
void |
setHAlignment(CellHAlign align)
Set the horizontal aligment, which should be used to display the cell. |
void |
setHeightPercentage(int height)
Set the used height of the cell. |
void |
setStyle(String style)
Set the style, which should be used to display the cell. |
void |
setVAlignment(CellVAlign valign)
Set the vertical aligment, which should be used to display the cell. |
void |
setWidth(String width)
Set the width of the cell. |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, preRender, render, renderAsString, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UI_ID
| Constructor Detail |
public GridLayoutCell(Component component)
component - the component, which should be displayed in the cellpublic GridLayoutCell(String text)
text - the text, which should be displayed in the cell
public GridLayoutCell(Component component,
int colSpan)
component - the component, which should be displayed in the cellcolSpan - the used column span for the cell
public GridLayoutCell(String text,
int colSpan)
text - the text, which should be displayed in the cellcolSpan - the used column span for the cell| Method Detail |
public void setColSpan(int colSpan)
colSpan - the used column span for the cellpublic int getColSpan()
public void setWidth(String width)
width - the width of the cellpublic String getWidth()
public void setHeightPercentage(int height)
height - the used height of the cellpublic int getHeightPercentage()
public String getHeight()
public Object getContent()
public void setContent(Component component)
component - the component, which should be displayed in the cellpublic void setContent(String text)
text - the text, which should be displayed in the cellpublic void setStyle(String style)
style - the style, which should be used to display the cellpublic String getStyle()
public void setCellBackgroundDesign(GridCellBackgroundDesign design)
design - the design, which should be used to display the cellpublic GridCellBackgroundDesign getCellBackgroundDesign()
public void setHAlignment(CellHAlign align)
align - the horizontal alignment, which should be used to display the cellpublic CellHAlign getHAlignment()
public void setVAlignment(CellVAlign valign)
valign - the vertical alignment, which should be used to display the cellpublic CellVAlign getVAlignment()
public boolean requiresForm()
ComponentBasically, any Component that is capable of firing a server side event or that contains user input must be placed in a form.
requiresForm in class Componentpublic String getUI()
Component
getUI in class Component
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||