public class DropdownSelectionComponent extends AbstractSelectionComponent
captionWidth, DEFAULT_PADDING, defaultCaption, defaultTooltip, defaultValue, filledIncompletely, INPUT_COMPONENT, inputComponent, label, layout, padding, VALUE, valueTargetPathHORIZONTAL_LAYOUT, VERTICAL_LAYOUT| Constructor and Description |
|---|
DropdownSelectionComponent()
Deprecated.
A blank constructor.
|
DropdownSelectionComponent(String iCaption)
Deprecated.
A constructor that sets a caption.
|
DropdownSelectionComponent(String iCaption,
List iChoiceList)
Deprecated.
A constructor that sets a caption and a fixed list of choices.
|
DropdownSelectionComponent(String caption,
List choices,
List choiceTitles,
List choiceTooltips,
String defaultSelection,
boolean isMandatory)
Deprecated.
A constructor that sets a caption, a list of choices, titles for the
choices, tooltips, a default selection and sets the
component to mandatory.
|
DropdownSelectionComponent(String caption,
List choices,
List choiceTitles,
List choiceTooltips,
String defaultSelection,
boolean isMandatory,
int iLayout,
int iPadding,
String captionWidth,
String fieldWidth)
Deprecated.
A constructor that sets a caption, a list of choices, titles for the
choices, tooltips, a default selection, sets the component to mandatory,
a layout, padding, sets a caption width, and a field width.
|
DropdownSelectionComponent(String iCaption,
List iChoiceList,
List iChoiceTitleList,
String iDefaultSelection)
Deprecated.
A constructor that sets a caption, a fixed list of choices, titles
for the choices, and a default selection for the drop down.
|
DropdownSelectionComponent(String iCaption,
List iChoiceList,
List iChoiceTitleList,
String iDefaultSelection,
int iLayout,
int iPadding)
Deprecated.
A constructor that sets a caption, a fixed list of choices, titles
for the choices, a default selection for the drop down, a layout, and
padding.
|
DropdownSelectionComponent(String caption,
List choices,
List choiceTitles,
String defaultSelection,
int iLayout,
int iPadding,
String captionWidth,
String fieldWidth)
Deprecated.
A constructor that sets a caption, a fixed list of choices, titles
for the choices, a default selection for the drop down, a layout,
padding, a caption width, and a field width.
|
DropdownSelectionComponent(String iCaption,
List iChoiceList,
String iDefaultSelection)
Deprecated.
A constructor that sets a caption, a fixed list of choices and a
default selection for the drop down.
|
DropdownSelectionComponent(String iCaption,
List iChoiceList,
String iDefaultSelection,
int iLayout,
int iPadding)
Deprecated.
A constructor that sets a caption, a fixed list of choices, a default
selection for the drop down, a layout, and padding.
|
DropdownSelectionComponent(String iDefaultCaption,
String iChoiceListPath)
Deprecated.
A constructor that sets a default caption, and a path for the choices.
|
DropdownSelectionComponent(String iDefaultCaption,
String iChoiceListPath,
String iDefaultSelection)
Deprecated.
A constructor that sets a default caption, a path for the choices,
and a default selection.
|
DropdownSelectionComponent(String iDefaultCaption,
String iChoiceListPath,
String iDefaultSelection,
int iLayout,
int iPadding)
Deprecated.
A constructor that sets a default caption, a path for the choices,
a default selection, a layout, and padding
|
DropdownSelectionComponent(String iDefaultCaption,
String iChoiceListPath,
String iChoiceTitleListPath,
String iDefaultSelection)
Deprecated.
A constructor that sets a default caption, a path for the choices,
a path for the titles of the choices, and a default selection.
|
DropdownSelectionComponent(String iDefaultCaption,
String iChoiceListPath,
String iChoiceTitleListPath,
String iDefaultSelection,
int iLayout,
int iPadding)
Deprecated.
A constructor that sets a default caption, a path for the choices,
a path for the titles of the choices, a default selection, a layout and
padding
|
DropdownSelectionComponent(String caption,
String choicesPath,
String choiceTitlesPath,
String defaultSelection,
int iLayout,
int iPadding,
String captionWidth,
String fieldWidth)
Deprecated.
A constructor that sets a caption, a path for the choices, a path
for the titles of the choices, a default selection for the drop down,
a layout, padding, a caption width, and a field width.
|
DropdownSelectionComponent(String caption,
String choicesPath,
String choiceTitlesPath,
String choiceTooltipsPath,
String defaultSelection,
boolean isMandatory)
Deprecated.
A constructor that sets a caption, a path for the choices, a path for
the titles of the choices, a path for the tooltips, a default
selection, and sets the component to mandatory.
|
DropdownSelectionComponent(String caption,
String choicesPath,
String choiceTitlesPath,
String choiceTooltipsPath,
String defaultSelection,
boolean isMandatory,
int iLayout,
int iPadding,
String captionWidth,
String fieldWidth)
Deprecated.
A constructor that sets a caption, a path for a list of the choices,
a path for the titles for the choices, a path for tooltips, a default
selection, sets the component to mandatory, a layout, padding,
sets a caption width, and a field width.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.sapportals.htmlb.Component |
createInputComponent(IBasicEditingContext context)
Deprecated.
Creates a dropdown listbox object.
|
com.sapportals.htmlb.Component |
getControlInFocus(IWizardContext ctx)
Deprecated.
Gets the component that currently has the focus.
|
com.sapportals.htmlb.DropdownListBox |
getInputComponent(IBasicEditingContext ctx)
Deprecated.
Gets the dropdown list box object.
|
com.sapportals.htmlb.DropdownListBox |
getListComponent(IWizardContext context)
Deprecated.
Gets the input component.
|
String |
getValue(IWizardContext context)
Deprecated.
Gets the current value of a component.
|
String |
getValueTitle(IWizardContext context)
Deprecated.
Gets the title of the current value of the component.
|
void |
processInput(IWizardContext context)
Deprecated.
Saves to the data model the values entered into wizard controls by the
administrator.
|
void |
setFieldWidth(String fieldWidth)
Deprecated.
Sets the field width for the component.
|
boolean |
setValue(String newValue,
IWizardContext context)
Deprecated.
Sets the value of the dropdown selection component.
|
createCheckboxGroupInputComponent, createDropDownInputComponent, createListBoxInputComponent, createRadioButtonInputComponent, getCheckboxGroupValuesFromForm, getChoices, getChoiceTitles, getChoiceTooltips, getDropdownValueFromForm, getListBoxValuesFromForm, getMultiValue, getRadioButtonInputValueFromForm, getSingleValue, getSingleValueTitle, getSingleValueTooltip, isComplete, isMultiValue, setChoices, setChoicesTitles, setChoicesTooltips, setMultiValue, setSingleValue, setWidth, updateInputComponentclear, clearIfInconsistent, getCaption, getCaptionComponent, getDisplay, getErrorMessages, getInputComponentGeneric, getMissingFieldErrorMessage, getTooltip, getValueGeneric, setCaption, setCaptionWidth, setCustomErrorMessage, setLayout, setPath, setTooltip, setupComponent, setValueGeneric, setValueTargetPathdoAfterSubmit, doBeforeDisplay, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChangedpublic DropdownSelectionComponent()
public DropdownSelectionComponent(String iCaption)
iCaption - a captionpublic DropdownSelectionComponent(String iCaption, List iChoiceList)
iCaption - a captioniChoiceList - a list of choicespublic DropdownSelectionComponent(String iCaption, List iChoiceList, String iDefaultSelection)
iCaption - a captioniChoiceList - a list of choicesiDefaultSelection - a default selectionpublic DropdownSelectionComponent(String iCaption, List iChoiceList, List iChoiceTitleList, String iDefaultSelection)
iCaption - a captioniChoiceList - a list of choicesiChoiceTitleList - a list of titles for the choicesiDefaultSelection - a default selectionpublic DropdownSelectionComponent(String iCaption, List iChoiceList, String iDefaultSelection, int iLayout, int iPadding)
iCaption - a captioniChoiceList - a list of choicesiDefaultSelection - a default selectioniLayout - a layoutiPadding - paddingpublic DropdownSelectionComponent(String iCaption, List iChoiceList, List iChoiceTitleList, String iDefaultSelection, int iLayout, int iPadding)
iCaption - a captioniChoiceList - a list of choicesiChoiceTitleList - a list of titles for the choicesiDefaultSelection - a default selectioniLayout - a layoutiPadding - paddingpublic DropdownSelectionComponent(String caption, List choices, List choiceTitles, String defaultSelection, int iLayout, int iPadding, String captionWidth, String fieldWidth)
caption - a captionchoices - a list of choiceschoiceTitles - a list of titles for the choicesdefaultSelection - a default selectioniLayout - a layoutiPadding - paddingcaptionWidth - a caption widthfieldWidth - a field widthpublic DropdownSelectionComponent(String caption, String choicesPath, String choiceTitlesPath, String defaultSelection, int iLayout, int iPadding, String captionWidth, String fieldWidth)
caption - a captionchoicesPath - a path for the choiceschoiceTitlesPath - a path for the titles for the choicesdefaultSelection - a default selectioniLayout - a layoutiPadding - paddingcaptionWidth - a caption widthfieldWidth - a field widthpublic DropdownSelectionComponent(String iDefaultCaption, String iChoiceListPath)
iDefaultCaption - a default captioniChoiceListPath - a path for the choicespublic DropdownSelectionComponent(String iDefaultCaption, String iChoiceListPath, String iDefaultSelection)
iDefaultCaption - a default captioniChoiceListPath - a path for the choicesiDefaultSelection - a default selectionpublic DropdownSelectionComponent(String iDefaultCaption, String iChoiceListPath, String iChoiceTitleListPath, String iDefaultSelection)
iDefaultCaption - a default captioniChoiceListPath - a path for the choicesiChoiceTitleListPath - a path for the titles of the choicesiDefaultSelection - a default selectionpublic DropdownSelectionComponent(String iDefaultCaption, String iChoiceListPath, String iDefaultSelection, int iLayout, int iPadding)
iDefaultCaption - a default captioniChoiceListPath - a path for the choicesiDefaultSelection - a default selectioniLayout - a layoutiPadding - paddingpublic DropdownSelectionComponent(String iDefaultCaption, String iChoiceListPath, String iChoiceTitleListPath, String iDefaultSelection, int iLayout, int iPadding)
iDefaultCaption - a default captioniChoiceListPath - a path for the choicesiChoiceTitleListPath - a path for the titles of the choicesiDefaultSelection - a default selectioniLayout - a layoutiPadding - paddingpublic DropdownSelectionComponent(String caption, List choices, List choiceTitles, List choiceTooltips, String defaultSelection, boolean isMandatory)
caption - a default captionchoices - a list of choiceschoiceTitles - a list of titles for the choiceschoiceTooltips - a list of TooltipsdefaultSelection - a default selectionisMandatory - true sets the component to
mandatorypublic DropdownSelectionComponent(String caption, String choicesPath, String choiceTitlesPath, String choiceTooltipsPath, String defaultSelection, boolean isMandatory)
caption - a default captionchoicesPath - a path for the choiceschoiceTitlesPath - a path for the titles of the choiceschoiceTooltipsPath - a path for the tooltipsdefaultSelection - a default selectionisMandatory - true sets the component to
mandatorypublic DropdownSelectionComponent(String caption, List choices, List choiceTitles, List choiceTooltips, String defaultSelection, boolean isMandatory, int iLayout, int iPadding, String captionWidth, String fieldWidth)
caption - a default captionchoices - a list of choiceschoiceTitles - a list of titles for the choiceschoiceTooltips - a list of tooltipsdefaultSelection - a default selectionisMandatory - true sets the component to
mandatoryiLayout - a layoutiPadding - paddingcaptionWidth - a caption widthfieldWidth - a field widthpublic DropdownSelectionComponent(String caption, String choicesPath, String choiceTitlesPath, String choiceTooltipsPath, String defaultSelection, boolean isMandatory, int iLayout, int iPadding, String captionWidth, String fieldWidth)
caption - a default captionchoicesPath - a path for the choiceschoiceTitlesPath - a path for the titles of the choiceschoiceTooltipsPath - a path for tooltipsdefaultSelection - a default selectionisMandatory - true sets the component to
mandatoryiLayout - a layoutiPadding - paddingcaptionWidth - a caption widthfieldWidth - a field widthpublic com.sapportals.htmlb.DropdownListBox getListComponent(IWizardContext context)
getDisplay function.
getDisplay
to define a different component layout.context - the current wizard contextpublic void processInput(IWizardContext context)
myProcessInput method, and then calls
processInput on all the wizard components within the pane.
processInput in interface IWizardComponentprocessInput in class AbstractSelectionComponentcontext - the current wizard contextprotected com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext context)
createInputComponent in class AbstractInputComponentcontext - the current editing contextpublic String getValue(IWizardContext context)
context - the current wizard contextpublic String getValueTitle(IWizardContext context)
context - the current wizard contextpublic boolean setValue(String newValue, IWizardContext context)
true.newValue - a valuecontext - the current wizard contexttruepublic void setFieldWidth(String fieldWidth)
fieldWidth - a field widthpublic com.sapportals.htmlb.Component getControlInFocus(IWizardContext ctx)
getControlInFocus in interface IWizardComponentgetControlInFocus in class AbstractWizardComponentctx - the current wizard contextpublic com.sapportals.htmlb.DropdownListBox getInputComponent(IBasicEditingContext ctx)
ctx - the current editing context| 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