|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| 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
com.sapportals.admin.wizardframework.components.DropdownSelectionComponent
public class DropdownSelectionComponent
The class that represents a dropdown selection input 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 | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractSelectionComponent |
|---|
createCheckboxGroupInputComponent, createDropDownInputComponent, createListBoxInputComponent, createRadioButtonInputComponent, getCheckboxGroupValuesFromForm, getChoices, getChoiceTitles, getChoiceTooltips, getDropdownValueFromForm, getListBoxValuesFromForm, getMultiValue, getRadioButtonInputValueFromForm, getSingleValue, getSingleValueTitle, getSingleValueTooltip, isComplete, isMultiValue, setChoices, setChoicesTitles, setChoicesTooltips, setMultiValue, setSingleValue, setWidth, updateInputComponent |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractInputComponent |
|---|
clear, clearIfInconsistent, 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, 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 |
|---|
public DropdownSelectionComponent()
public DropdownSelectionComponent(String iCaption)
iCaption - a caption
public DropdownSelectionComponent(String iCaption,
List iChoiceList)
iCaption - a captioniChoiceList - a list of choices
public DropdownSelectionComponent(String iCaption,
List iChoiceList,
String iDefaultSelection)
iCaption - a captioniChoiceList - a list of choicesiDefaultSelection - a default selection
public 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 selection
public DropdownSelectionComponent(String iCaption,
List iChoiceList,
String iDefaultSelection,
int iLayout,
int iPadding)
iCaption - a captioniChoiceList - a list of choicesiDefaultSelection - a default selectioniLayout - a layoutiPadding - padding
public 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 - padding
public 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 width
public 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 width
public DropdownSelectionComponent(String iDefaultCaption,
String iChoiceListPath)
iDefaultCaption - a default captioniChoiceListPath - a path for the choices
public DropdownSelectionComponent(String iDefaultCaption,
String iChoiceListPath,
String iDefaultSelection)
iDefaultCaption - a default captioniChoiceListPath - a path for the choicesiDefaultSelection - a default selection
public 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 selection
public 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 - padding
public 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 - padding
public 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 choicesdefaultSelection - a default selectionisMandatory - true sets the component to
mandatory
public DropdownSelectionComponent(String caption,
String choicesPath,
String choiceTitlesPath,
String choiceTooltipsPath,
String defaultSelection,
boolean isMandatory)
choicesPath - 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
mandatory
public 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 width
public 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 width| Method Detail |
|---|
public com.sapportals.htmlb.DropdownListBox getListComponent(IWizardContext context)
getDisplay function.
getDisplay
to define a different component layout.
context - the current wizard context
public 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 context
public String getValue(IWizardContext context)
context - the current wizard context
public String getValueTitle(IWizardContext context)
context - the current wizard context
public boolean setValue(String newValue,
IWizardContext context)
true.
newValue - a valuecontext - the current wizard context
truepublic 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 context
public 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
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||