|
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
com.sapportals.admin.wizardframework.components.MultiSelectionComponent
public class MultiSelectionComponent
The class that represents the multi-selection input component.
A multi-selection component is composed of two lists:
| Field Summary | |
|---|---|
static String |
VALUE
Deprecated. A constant that indicates a value. |
static String |
VALUE_TITLES
Deprecated. A constant that indicates a title value. |
| Fields inherited from class com.sapportals.admin.wizardframework.components.GridContainer |
|---|
GRID |
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Constructor Summary | |
|---|---|
MultiSelectionComponent(String iPathOfListToChooseFrom,
int iWidth)
Deprecated. A constructor that sets a path for the available choices list, and a width. |
|
MultiSelectionComponent(String iPathOfListToChooseFrom,
int iWidth,
int iHeight)
Deprecated. |
|
MultiSelectionComponent(String iPathOfListToChooseFrom,
int iWidth,
int iHeight,
String iChoiceCaption,
String iSelectionCaption)
Deprecated. |
|
MultiSelectionComponent(String iPathOfListToChooseFrom,
int iWidth,
String iChoiceCaption,
String iSelectionCaption)
Deprecated. A constructor that sets a path for the available choices list, a width, a caption for the choices, and a caption for the selection list. |
|
MultiSelectionComponent(String iPathOfListToChooseFrom,
String iPathOfChoiceTitles,
int iWidth,
int iHeight,
String iChoiceCaption,
String iSelectionCaption)
Deprecated. |
|
MultiSelectionComponent(String iPathOfListToChooseFrom,
String iPathOfChoiceTitles,
int iWidth,
String iChoiceCaption,
String iSelectionCaption)
Deprecated. A constructor that sets a path for the available choices list, a path for the titles of the choices, a width, a caption for the choices, and a caption for the selection list. |
|
| Method Summary | |
|---|---|
void |
clearIfInconsistent(String changedObjectKey,
IWizardContext ctx)
Deprecated. Clears all values from the object and its subtree when the object this object depends on was changed. |
void |
doAfterProcess(IWizardContext ctx)
Deprecated. Performs myProcessInput(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent. |
com.sapportals.htmlb.Component |
getDisplay(IWizardContext ctx)
Deprecated. Gets the HTMLB component to display. |
List |
getErrorMessages(IWizardContext context)
Deprecated. Validates the data for the pane. |
boolean |
isComplete(IWizardContext context)
Deprecated. Indicates whether there is input in the component ( true). |
void |
myProcessInput(IWizardContext ctx)
Deprecated. Saves to the data model the data from any HTMLB controls created in the pane. |
void |
mySetupComponent(IWizardContext ctx)
Deprecated. Implement this method to create your own setup for a component. |
void |
setCustomErrorMessage(String errorMessage)
Deprecated. use of this function causes inconsistencies in the error handling of different wizards, it will be removed for MS1 |
void |
setDefaultValue(List defaultValue)
Deprecated. Sets a list of default values for the component. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.GridContainer |
|---|
addComponent, addComponent, delegateDoBeforeDisplay, delegateProcessInput, delegateSetupComponent, doAfterSubmit, doBeforeDisplay, getCell, getComponent, getControlInFocus, getGrid, getPath, init, isInitialized, myDoBeforeDisplay, processInput, setPath, setSize, setupComponent, wasChanged |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
getDescription, getProperty, getTitle, isMandatory, setMandatory, setProperty, setTempProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VALUE
value
public static final String VALUE_TITLES
valueTitles
| Constructor Detail |
|---|
public MultiSelectionComponent(String iPathOfListToChooseFrom,
int iWidth,
int iHeight)
iPathOfListToChooseFrom - a path for the list of available
choicesiWidth - a width for the listiHeight - a height for the list
public MultiSelectionComponent(String iPathOfListToChooseFrom,
int iWidth,
int iHeight,
String iChoiceCaption,
String iSelectionCaption)
iPathOfListToChooseFrom - a path for the list of available
choicesiWidth - a width for the listiHeight - a height for the listiChoiceCaption - a caption for the available choice listiSelectionCaption - a caption for the selection list
public MultiSelectionComponent(String iPathOfListToChooseFrom,
String iPathOfChoiceTitles,
int iWidth,
int iHeight,
String iChoiceCaption,
String iSelectionCaption)
iPathOfListToChooseFrom - a path for the list of available
choicesiPathOfChoiceTitles - path for the titles of the choicesiWidth - a width for the listiHeight - a height for the listiChoiceCaption - a caption for the available choice listiSelectionCaption - a caption for the selection list
public MultiSelectionComponent(String iPathOfListToChooseFrom,
int iWidth)
iPathOfListToChooseFrom - a path for the list of available
choicesiWidth - a width for the list
public MultiSelectionComponent(String iPathOfListToChooseFrom,
int iWidth,
String iChoiceCaption,
String iSelectionCaption)
iPathOfListToChooseFrom - a path for the list of available
choicesiWidth - a width for the listiChoiceCaption - a caption for the choicesiSelectionCaption - a caption for the selection list
public MultiSelectionComponent(String iPathOfListToChooseFrom,
String iPathOfChoiceTitles,
int iWidth,
String iChoiceCaption,
String iSelectionCaption)
iPathOfListToChooseFrom - a path for the list of available
choicesiPathOfChoiceTitles - a path for the titles of the choicesiWidth - a width for the listiChoiceCaption - a caption for the choicesiSelectionCaption - a caption for the selection list| Method Detail |
|---|
public void mySetupComponent(IWizardContext ctx)
mySetupComponent in class GridContainerctx - the current wizard contextpublic void setDefaultValue(List defaultValue)
defaultValue - a list of default values for the selection listpublic com.sapportals.htmlb.Component getDisplay(IWizardContext ctx)
AbstractDisplayComponent or
AbstractInputComponent. The default implementation
returns null.
getDisplay in interface IWizardComponentgetDisplay in class GridContainerctx - the current wizard context
public void myProcessInput(IWizardContext ctx)
myProcessInput in class GridContainerctx - the current wizard contextpublic void doAfterProcess(IWizardContext ctx)
myProcessInput(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent.
ctx - the current wizard contextpublic boolean isComplete(IWizardContext context)
true).
The default implementation returns true.
isComplete in class AbstractWizardComponentcontext - the current wizard context
true if there is input,
false no inputpublic List getErrorMessages(IWizardContext context)
getErrorMessages in interface IWizardComponentgetErrorMessages in class GridContainercontext - the current wizard context
public void setCustomErrorMessage(String errorMessage)
errorMessage - the error message
public void clearIfInconsistent(String changedObjectKey,
IWizardContext ctx)
clearIfInconsistent in interface IDependencyObjectclearIfInconsistent in class GridContainerchangedObjectKey - a changed objectctx - 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 | |||||||||