|
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.AbstractInputComponent
com.sapportals.admin.wizardframework.components.AbstractSelectionComponent
public abstract class AbstractSelectionComponent
The base class that represents a selection component.
| Field Summary |
|---|
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractInputComponent |
|---|
captionWidth, DEFAULT_PADDING, defaultCaption, defaultTooltip, defaultValue, filledIncompletely, INPUT_COMPONENT, inputComponent, label, layout, padding, VALUE, valueTargetPath |
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Constructor Summary | |
|---|---|
protected |
AbstractSelectionComponent(String iDefaultCaption,
boolean iIsMultiValue,
List iDefaultChoiceList,
List iDefaultChoiceTitleList,
List iDefaultChoiceTooltipList,
String iChoiceListPath,
String iChoiceTitleListPath,
String iChoiceTooltipListPath,
String iDefaultSingleValue,
List iDefaultMultiValue)
Deprecated. A class constructor that sets a default caption, whether the component allows multiple values, a default choice list, a default list of titles for choices, a default list of tooltips for choices, a choice list path, a choice list title path, a choice list tooltip path, and a default single value. |
| Method Summary | |
|---|---|
protected com.sapportals.htmlb.Component |
createCheckboxGroupInputComponent(IBasicEditingContext context)
Deprecated. Creates a checkbox group input component. |
protected com.sapportals.htmlb.Component |
createDropDownInputComponent(IBasicEditingContext context)
Deprecated. Creates a dropdown input component. |
protected com.sapportals.htmlb.Component |
createListBoxInputComponent(IBasicEditingContext context)
Deprecated. Creates a listbox input component. |
protected com.sapportals.htmlb.Component |
createRadioButtonInputComponent(IBasicEditingContext context)
Deprecated. Creates a radio button input component. |
protected List |
getCheckboxGroupValuesFromForm(IWizardContext context)
Deprecated. Gets the checkbox group values from the HTMLB display. |
List |
getChoices(IBasicEditingContext context)
Deprecated. Gets the list of choices for this component. |
List |
getChoiceTitles(IBasicEditingContext context)
Deprecated. Gets the list of titles for the choices for this component. |
List |
getChoiceTooltips(IBasicEditingContext context)
Deprecated. Gets the list of tooltips for the choices for this component. |
protected String |
getDropdownValueFromForm(IWizardContext context)
Deprecated. Gets the dropdown value from the HTMLB display. |
protected List |
getListBoxValuesFromForm(IWizardContext context)
Deprecated. Gets the listbox values from the HTMLB display. |
protected List |
getMultiValue(IBasicEditingContext context)
Deprecated. Gets the list of the selected values. |
protected String |
getRadioButtonInputValueFromForm(IWizardContext context)
Deprecated. Gets a radio button input value from the HTMLB display. |
protected String |
getSingleValue(IBasicEditingContext context)
Deprecated. Gets the value of a single selection. |
protected String |
getSingleValueTitle(IWizardContext context)
Deprecated. Gets the title of a single selection. |
protected String |
getSingleValueTooltip(IWizardContext context)
Deprecated. Gets the tooltip of a single selection. |
boolean |
isComplete(IWizardContext ctx)
Deprecated. Indicates whether a choice has been selected in the component. |
boolean |
isMultiValue()
Deprecated. Indicates whether a selection component enables multiple values. |
abstract void |
processInput(IWizardContext context)
Deprecated. Saves to the data model the values entered into wizard controls by the administrator. |
void |
setChoices(List choices,
IWizardContext context)
Deprecated. Sets a list of choices for this component. |
void |
setChoicesTitles(List titles,
IWizardContext context)
Deprecated. Sets a list of titles for the choices for this component. |
void |
setChoicesTooltips(List tooltips,
IWizardContext context)
Deprecated. Sets a list of tooltips for the choices for this component. |
protected boolean |
setMultiValue(List selections,
IWizardContext context)
Deprecated. Sets multiple values as the selection. |
protected boolean |
setSingleValue(String selection,
IWizardContext context)
Deprecated. |
void |
setWidth(String iWidth)
Deprecated. Sets a width for a selection component. |
protected void |
updateInputComponent(IWizardContext context)
Deprecated. Updates the input component. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractInputComponent |
|---|
clear, clearIfInconsistent, createInputComponent, getCaption, getCaptionComponent, getDisplay, getErrorMessages, getInputComponentGeneric, getMissingFieldErrorMessage, getTooltip, getValueGeneric, setCaption, setCaptionWidth, setCustomErrorMessage, setLayout, setPath, setTooltip, setupComponent, setValueGeneric, setValueTargetPath |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
doAfterSubmit, doBeforeDisplay, getControlInFocus, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSelectionComponent(String iDefaultCaption,
boolean iIsMultiValue,
List iDefaultChoiceList,
List iDefaultChoiceTitleList,
List iDefaultChoiceTooltipList,
String iChoiceListPath,
String iChoiceTitleListPath,
String iChoiceTooltipListPath,
String iDefaultSingleValue,
List iDefaultMultiValue)
iDefaultCaption - a default captioniIsMultiValue - true enables multiple
selectioniDefaultChoiceList - a default list of choicesiDefaultChoiceTitleList - a default list of titlesiDefaultChoiceTooltipList - a default list of tooltipsiChoiceListPath - a path for the choices listiChoiceTitleListPath - a path for the title listiChoiceTooltipListPath - a path for the tooltip listiDefaultSingleValue - a default single value| Method Detail |
|---|
public List getChoices(IBasicEditingContext context)
context - the current editing context
public List getChoiceTitles(IBasicEditingContext context)
context - the current editing context
public List getChoiceTooltips(IBasicEditingContext context)
context - the current editing context
public void setChoices(List choices,
IWizardContext context)
choices - a list of choicescontext - the current wizard context
public void setChoicesTitles(List titles,
IWizardContext context)
titles - a list of titlescontext - the current wizard context
public void setChoicesTooltips(List tooltips,
IWizardContext context)
tooltips - a list of tooltipscontext - the current wizard contexxtpublic void setWidth(String iWidth)
iWidth - a widthpublic boolean isMultiValue()
true enables multiple values,
false disables multiple valuesprotected void updateInputComponent(IWizardContext context)
context - the current wizard contextpublic abstract void processInput(IWizardContext context)
myProcessInput method, and then calls
processInput on all the wizard components within the pane.
processInput in interface IWizardComponentprocessInput in class AbstractInputComponentcontext - the current wizard context
protected boolean setSingleValue(String selection,
IWizardContext context)
protected boolean setMultiValue(List selections,
IWizardContext context)
selections - a list of selectionscontext - the current wizard contextprotected String getSingleValue(IBasicEditingContext context)
context - the current editing context
protected String getSingleValueTitle(IWizardContext context)
context - the current wizard context
protected String getSingleValueTooltip(IWizardContext context)
context - the current wizard context
protected List getMultiValue(IBasicEditingContext context)
context - the current editing context
protected com.sapportals.htmlb.Component createRadioButtonInputComponent(IBasicEditingContext context)
context - the current editing context
protected String getRadioButtonInputValueFromForm(IWizardContext context)
context - the current wizard context
protected com.sapportals.htmlb.Component createListBoxInputComponent(IBasicEditingContext context)
context - the current editing context
protected List getListBoxValuesFromForm(IWizardContext context)
context - the current wizard context
protected com.sapportals.htmlb.Component createDropDownInputComponent(IBasicEditingContext context)
context - the current editing context
protected String getDropdownValueFromForm(IWizardContext context)
context - the current wizard context
protected com.sapportals.htmlb.Component createCheckboxGroupInputComponent(IBasicEditingContext context)
context - the current editing context
protected List getCheckboxGroupValuesFromForm(IWizardContext context)
context - the current wizard context
public boolean isComplete(IWizardContext ctx)
true.
isComplete in class AbstractInputComponentctx - the current wizard context
true if there is a selection,
false no selection| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
[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 | |||||||||