public abstract class AbstractSelectionComponent extends AbstractInputComponent
captionWidth, DEFAULT_PADDING, defaultCaption, defaultTooltip, defaultValue, filledIncompletely, INPUT_COMPONENT, inputComponent, label, layout, padding, VALUE, valueTargetPathHORIZONTAL_LAYOUT, VERTICAL_LAYOUT| Modifier | Constructor and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clear, clearIfInconsistent, createInputComponent, getCaption, getCaptionComponent, getDisplay, getErrorMessages, getInputComponentGeneric, getMissingFieldErrorMessage, getTooltip, getValueGeneric, setCaption, setCaptionWidth, setCustomErrorMessage, setLayout, setPath, setTooltip, setupComponent, setValueGeneric, setValueTargetPathdoAfterSubmit, doBeforeDisplay, getControlInFocus, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChangedprotected 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 valueiDefaultMultiValue - a default multiple valuepublic List getChoices(IBasicEditingContext context)
context - the current editing contextpublic List getChoiceTitles(IBasicEditingContext context)
context - the current editing contextpublic List getChoiceTooltips(IBasicEditingContext context)
context - the current editing contextpublic void setChoices(List choices, IWizardContext context)
choices - a list of choicescontext - the current wizard contextpublic void setChoicesTitles(List titles, IWizardContext context)
titles - a list of titlescontext - the current wizard contextpublic 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 contextprotected boolean setSingleValue(String selection, IWizardContext context)
protected boolean setMultiValue(List selections, IWizardContext context)
selections - a list of selectionscontext - the current wizard contexttrue else returns falseprotected String getSingleValue(IBasicEditingContext context)
context - the current editing contextprotected String getSingleValueTitle(IWizardContext context)
context - the current wizard contextprotected String getSingleValueTooltip(IWizardContext context)
context - the current wizard contextprotected List getMultiValue(IBasicEditingContext context)
context - the current editing contextprotected com.sapportals.htmlb.Component createRadioButtonInputComponent(IBasicEditingContext context)
context - the current editing contextprotected String getRadioButtonInputValueFromForm(IWizardContext context)
context - the current wizard contextprotected com.sapportals.htmlb.Component createListBoxInputComponent(IBasicEditingContext context)
context - the current editing contextprotected List getListBoxValuesFromForm(IWizardContext context)
context - the current wizard contextprotected com.sapportals.htmlb.Component createDropDownInputComponent(IBasicEditingContext context)
context - the current editing contextprotected String getDropdownValueFromForm(IWizardContext context)
context - the current wizard contextprotected com.sapportals.htmlb.Component createCheckboxGroupInputComponent(IBasicEditingContext context)
context - the current editing contextprotected List getCheckboxGroupValuesFromForm(IWizardContext context)
context - the current wizard contextpublic boolean isComplete(IWizardContext ctx)
true.isComplete in class AbstractInputComponentctx - the current wizard contexttrue if there is a selection,
false no selection| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice