|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.admin.wizardframework.components.AbstractWizardComponent
com.sapportals.admin.wizardframework.components.GridContainer
public class GridContainer
The class that represents a container grid. A grid is a two dimensional arrangement of data in rows and columns.
| Field Summary | |
|---|---|
protected String |
GRID
Deprecated. A constant that indicates the grid. |
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Constructor Summary | |
|---|---|
GridContainer()
Deprecated. A blank constructor. |
|
GridContainer(int iPadding)
Deprecated. A constructor that sets padding. |
|
GridContainer(int iPadding,
String iWidth,
String iHeight)
Deprecated. A constructor that sets the padding, width and height. |
|
| Method Summary | |
|---|---|
void |
addComponent(String key,
com.sapportals.htmlb.Component component,
int line,
int column)
Deprecated. Adds a component specified by a key to the specified line and column in the grid. |
void |
addComponent(String key,
IWizardComponent component,
int line,
int column,
boolean isMandatoryField)
Deprecated. Adds a component specified by a key, to the specified line and column in the grid, and sets the component to mandatory. |
void |
clearIfInconsistent(String changedObjectKey,
IWizardContext context)
Deprecated. Clears all values from the object and its subtree when the object this object depends on was changed. |
protected void |
delegateDoBeforeDisplay(IWizardContext context)
Deprecated. Performs doBeforeDisplay(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent. |
protected void |
delegateProcessInput(IWizardContext ctx)
Deprecated. Performs #ProcessInput on each subcomponent. |
protected void |
delegateSetupComponent(IWizardContext context)
Deprecated. Performs setupComponent(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent. |
void |
doAfterSubmit(IWizardContext context)
Deprecated. Performs any actions on the data after user input is collected. |
void |
doBeforeDisplay(IWizardContext context)
Deprecated. Performs synchronization between the data model and the pane. |
com.sapportals.htmlb.GridLayoutCell |
getCell(int row,
int column,
IWizardContext ctx)
Deprecated. Gets the cell object in this container specified by the row and column. |
IWizardComponent |
getComponent(String key)
Deprecated. Gets the component specified by a key. |
com.sapportals.htmlb.Component |
getControlInFocus(IWizardContext ctx)
Deprecated. Gets the component that currently has the focus. |
com.sapportals.htmlb.Component |
getDisplay(IWizardContext context)
Deprecated. Gets the HTMLB component to display. |
List |
getErrorMessages(IWizardContext context)
Deprecated. Validates the data for the pane. |
com.sapportals.htmlb.GridLayout |
getGrid(IWizardContext ctx)
Deprecated. Gets the grid layout object for this container. |
String |
getPath()
Deprecated. Gets the path of a component. |
void |
init(IWizardContext context)
Deprecated. Implement this method to initialize a component. |
boolean |
isInitialized(IWizardContext context)
Deprecated. Indicates whether the component is initialized. |
protected void |
myDoBeforeDisplay(IWizardContext ctx)
Deprecated. Sets the values of the HTMLB controls in the pane based on the data model. |
protected void |
myProcessInput(IWizardContext ctx)
Deprecated. Saves to the data model the data from any HTMLB controls created in the pane. |
protected void |
mySetupComponent(IWizardContext context)
Deprecated. Implement this method to create your own setup for a component. |
void |
processInput(IWizardContext ctx)
Deprecated. Saves to the data model the values entered into wizard controls by the administrator. |
void |
setPath(String iPath)
Deprecated. Sets a component path. |
void |
setSize(String iWidth,
String iHeight)
Deprecated. Sets the width and height of a container. |
void |
setupComponent(IWizardContext context)
Deprecated. Configures a component. |
void |
wasChanged(IWizardContext context)
Deprecated. Clears all objects dependent on this object or its parent objects. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
getDescription, getProperty, getTitle, isComplete, isMandatory, setMandatory, setProperty, setTempProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final String GRID
| Constructor Detail |
|---|
public GridContainer()
public GridContainer(int iPadding)
iPadding - padding
public GridContainer(int iPadding,
String iWidth,
String iHeight)
iPadding - paddingiWidth - a widthiHeight - a height| Method Detail |
|---|
public void setSize(String iWidth,
String iHeight)
iWidth - a widthiHeight - a height
public final void addComponent(String key,
com.sapportals.htmlb.Component component,
int line,
int column)
key - a keycomponent - a com.sapportals.htmlb.Component componentline - a line numbercolumn - a column number
public final void addComponent(String key,
IWizardComponent component,
int line,
int column,
boolean isMandatoryField)
key - a keycomponent - a componentline - a line numbercolumn - a column numberisMandatoryField - true sets the component to
mandatorypublic final IWizardComponent getComponent(String key)
getComponent in interface IWizardComponentContainerkey - a key
public void setupComponent(IWizardContext context)
setupComponent in interface IWizardComponentsetupComponent in class AbstractWizardComponentcontext - the current wizard contextprotected void delegateSetupComponent(IWizardContext context)
setupComponent(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent.
context - the current wizard contextprotected void mySetupComponent(IWizardContext context)
context - the current wizard contextpublic boolean isInitialized(IWizardContext context)
true. Override this method if the component requires
dynamic initialization.
isInitialized in interface IWizardComponentisInitialized in class AbstractWizardComponentcontext - the current wizard context
true
public void init(IWizardContext context)
init in interface IWizardComponentinit in class AbstractWizardComponentcontext - the current wizard contextpublic void doBeforeDisplay(IWizardContext context)
myDoBeforeDisplay method, and then calls
doBeforeDisplay on all the wizard components within
the pane.
doBeforeDisplay in interface IWizardComponentdoBeforeDisplay in class AbstractWizardComponentcontext - the current wizard contextprotected void delegateDoBeforeDisplay(IWizardContext context)
doBeforeDisplay(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent.
context - the current wizard contextprotected void myDoBeforeDisplay(IWizardContext ctx)
ctx - the current wizard contextpublic void processInput(IWizardContext ctx)
myProcessInput method, and then calls
processInput on all the wizard components within the
pane.
processInput in interface IWizardComponentprocessInput in class AbstractWizardComponentctx - the current wizard contextprotected void delegateProcessInput(IWizardContext ctx)
#ProcessInput on each subcomponent.
ctx - the current wizard contextprotected void myProcessInput(IWizardContext ctx)
ctx - the current wizard contextpublic void doAfterSubmit(IWizardContext context)
doAfterSubmit in interface IWizardComponentdoAfterSubmit in class AbstractWizardComponentcontext - the current wizard contextpublic final String getPath()
getPath in interface IWizardComponentgetPath in class AbstractWizardComponentpublic final void setPath(String iPath)
IWizardSession.PATH_DELIMITER.
pane1.nameComponent.firstNameInputField.
If this container contains subcomponents, the path for the subcomponents
is also set.
setPath in interface IWizardComponentsetPath in class AbstractWizardComponentiPath - a container pathpublic final com.sapportals.htmlb.GridLayout getGrid(IWizardContext ctx)
ctx - the current wizard context
public final com.sapportals.htmlb.GridLayoutCell getCell(int row,
int column,
IWizardContext ctx)
row - a row numbercolumn - a column numberctx - the current wizard context
public com.sapportals.htmlb.Component getDisplay(IWizardContext context)
AbstractDisplayComponent or
AbstractInputComponent. The default implementation
returns null.
getDisplay in interface IWizardComponentgetDisplay in class AbstractWizardComponentcontext - the current wizard context
public void wasChanged(IWizardContext context)
wasChanged in interface IDependencyObjectwasChanged in class AbstractWizardComponentcontext - the current wizard context
public void clearIfInconsistent(String changedObjectKey,
IWizardContext context)
clearIfInconsistent in interface IDependencyObjectclearIfInconsistent in class AbstractWizardComponentchangedObjectKey - a changed objectcontext - the current wizard contextpublic List getErrorMessages(IWizardContext context)
getErrorMessages in interface IWizardComponentgetErrorMessages in class AbstractWizardComponentcontext - the current wizard context
public com.sapportals.htmlb.Component getControlInFocus(IWizardContext ctx)
getControlInFocus in interface IWizardComponentgetControlInFocus in class AbstractWizardComponentctx - the current wizard context
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||