com.sapportals.admin.wizardframework.components

Class ListSelectionComponent

java.lang.Object
  extended by com.sapportals.admin.wizardframework.components.AbstractWizardComponent
      extended by com.sapportals.admin.wizardframework.components.AbstractInputComponent
          extended by com.sapportals.admin.wizardframework.components.AbstractSelectionComponent
              extended by com.sapportals.admin.wizardframework.components.ListSelectionComponent
All Implemented Interfaces:
IDependencyObject, IWizardComponent

Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com).

public class ListSelectionComponent
extends AbstractSelectionComponent

The class that represents the list 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
ListSelectionComponent(String caption, List choices, List choiceTitles, List defaultSelection, boolean isMandatory)
          Deprecated. A constructor that sets a caption, a fixed list of choices, titles for the choices, a default selection, and sets the component to mandatory.
ListSelectionComponent(String caption, List choices, List choiceTitles, List defaultSelection, boolean isMandatory, int iLayout, int iPadding)
          Deprecated. A constructor that sets a caption, a fixed list of choices, titles for the choices, a default selection, sets the component to mandatory, and sets a layout and a padding for a component.
ListSelectionComponent(String caption, List choices, List choiceTitles, List defaultSelection, boolean isMandatory, int iLayout, int iPadding, String captionWidth, String fieldWidth, int componentHeight)
          Deprecated. A constructor that sets a caption, a fixed list of choices, titles for the choices, a default selection, sets the component to mandatory, sets a layout, padding, a caption width, a field width, and a height for the component.
ListSelectionComponent(String iDefaultCaption, String iChoiceListPath, List iDefaultSelection, int iWidth)
          Deprecated. A constructor that sets a caption, a path for the list of choices, a default selection, and a fixed width for a component.
ListSelectionComponent(String iDefaultCaption, String iChoiceListPath, List iDefaultSelection, int iLayout, int iPadding, int iWidth)
          Deprecated. A constructor that sets a caption, a path for the list of choices, a default selection, a layout, a padding and a fixed width for a component.
ListSelectionComponent(String caption, String choicesPath, String choiceTitlesPath, List defaultSelection, boolean isMandatory)
          Deprecated. A constructor that sets a caption, a path for the list of choices, a path for the titles of the choices, a default selection, and sets the component to mandatory.
ListSelectionComponent(String caption, String choicesPath, String choiceTitlesPath, List defaultSelection, boolean isMandatory, int iLayout, int iPadding)
          Deprecated. A constructor that sets a caption, a path for the list of choices, a path for the titles of the choices, a default selection, sets the component to mandatory and sets a layout, and padding for a component.
ListSelectionComponent(String caption, String choicesPath, String choiceTitlesPath, List defaultSelection, boolean isMandatory, int iLayout, int iPadding, String captionWidth, String fieldWidth, int componentHeight)
          Deprecated. A constructor that sets a caption, a path for the list of choices, a path for the titles of the choices, a default selection, sets the component to mandatory, sets a caption width, a field width, a layout and padding and a height for a component.
ListSelectionComponent(String iDefaultCaption, String iChoiceListPath, String iChoiceTitleListPath, List iDefaultSelection, int iLayout, int iPadding, int iWidth)
          Deprecated. A constructor that sets a caption, a path for the list of choices, a path for the titles of the choices, a default selection, a layout, padding and a fixed width for a component.
 
Method Summary
protected  com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext context)
          Deprecated. Creates a list selection component.
 com.sapportals.htmlb.ListBox getInputComponent(IBasicEditingContext context)
          Deprecated. Gets the input component.
 com.sapportals.htmlb.ListBox getListComponent(IBasicEditingContext context)
          Deprecated. Gets the list selection component.
 List getValue(IWizardContext context)
          Deprecated. Gets the current value of the component.
 void processInput(IWizardContext context)
          Deprecated. Saves to the data model the values entered into the control by the administrator.
 void setFieldWidth(String fieldWidth)
          Deprecated. Sets the field width for the component.
 boolean setValue(List newValue, IWizardContext context)
          Deprecated. Sets the component value to the specified value.
 
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, 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

ListSelectionComponent

public ListSelectionComponent(String iDefaultCaption,
                              String iChoiceListPath,
                              List iDefaultSelection,
                              int iWidth)
Deprecated. 
A constructor that sets a caption, a path for the list of choices, a default selection, and a fixed width for a component.

Parameters:
iDefaultCaption - a default caption
iChoiceListPath - a path for the list of choices
iDefaultSelection - a default selection
iWidth - a width

ListSelectionComponent

public ListSelectionComponent(String iDefaultCaption,
                              String iChoiceListPath,
                              List iDefaultSelection,
                              int iLayout,
                              int iPadding,
                              int iWidth)
Deprecated. 
A constructor that sets a caption, a path for the list of choices, a default selection, a layout, a padding and a fixed width for a component.

Parameters:
iDefaultCaption - a default caption
iChoiceListPath - a path for the list of choices
iDefaultSelection - a default selection
iLayout - a layout
iPadding - padding
iWidth - a width

ListSelectionComponent

public ListSelectionComponent(String iDefaultCaption,
                              String iChoiceListPath,
                              String iChoiceTitleListPath,
                              List iDefaultSelection,
                              int iLayout,
                              int iPadding,
                              int iWidth)
Deprecated. 
A constructor that sets a caption, a path for the list of choices, a path for the titles of the choices, a default selection, a layout, padding and a fixed width for a component.

Parameters:
iDefaultCaption - a default caption
iChoiceListPath - a path for the list of choices
iChoiceTitleListPath - a path for the titles of the choices
iDefaultSelection - a default selection
iLayout - a layout
iPadding - a padding
iWidth - a width

ListSelectionComponent

public ListSelectionComponent(String caption,
                              List choices,
                              List choiceTitles,
                              List defaultSelection,
                              boolean isMandatory)
Deprecated. 
A constructor that sets a caption, a fixed list of choices, titles for the choices, a default selection, and sets the component to mandatory.

Parameters:
caption - a caption
choices - a list of choices
choiceTitles - titles for the choices
defaultSelection - a default selection
isMandatory - true sets the component to mandatory

ListSelectionComponent

public ListSelectionComponent(String caption,
                              String choicesPath,
                              String choiceTitlesPath,
                              List defaultSelection,
                              boolean isMandatory)
Deprecated. 
A constructor that sets a caption, a path for the list of choices, a path for the titles of the choices, a default selection, and sets the component to mandatory.

Parameters:
caption - a caption
choicesPath - a path for the list of choices
choiceTitlesPath - a path for the titles of the choices
defaultSelection - a default selection
isMandatory - true sets the component to mandatory

ListSelectionComponent

public ListSelectionComponent(String caption,
                              List choices,
                              List choiceTitles,
                              List defaultSelection,
                              boolean isMandatory,
                              int iLayout,
                              int iPadding)
Deprecated. 
A constructor that sets a caption, a fixed list of choices, titles for the choices, a default selection, sets the component to mandatory, and sets a layout and a padding for a component.

Parameters:
caption - a caption
choices - a list of choices
choiceTitles - titles for the choices
defaultSelection - a default selection
isMandatory - true sets the component to mandatory
iLayout - a layout
iPadding - padding

ListSelectionComponent

public ListSelectionComponent(String caption,
                              String choicesPath,
                              String choiceTitlesPath,
                              List defaultSelection,
                              boolean isMandatory,
                              int iLayout,
                              int iPadding)
Deprecated. 
A constructor that sets a caption, a path for the list of choices, a path for the titles of the choices, a default selection, sets the component to mandatory and sets a layout, and padding for a component.

Parameters:
caption - a caption
choicesPath - a path for the list of choices
choiceTitlesPath - a path for the titles of the choices
defaultSelection - a default selection
isMandatory - true sets the component to mandatory
iLayout - a layout
iPadding - padding

ListSelectionComponent

public ListSelectionComponent(String caption,
                              List choices,
                              List choiceTitles,
                              List defaultSelection,
                              boolean isMandatory,
                              int iLayout,
                              int iPadding,
                              String captionWidth,
                              String fieldWidth,
                              int componentHeight)
Deprecated. 
A constructor that sets a caption, a fixed list of choices, titles for the choices, a default selection, sets the component to mandatory, sets a layout, padding, a caption width, a field width, and a height for the component.

Parameters:
caption - a caption
choices - a list of choices
choiceTitles - titles for the choices
defaultSelection - a default selection
isMandatory - true sets the component to mandatory
iLayout - a layout
iPadding - padding
captionWidth - a caption width
fieldWidth - a field width
componentHeight - a height

ListSelectionComponent

public ListSelectionComponent(String caption,
                              String choicesPath,
                              String choiceTitlesPath,
                              List defaultSelection,
                              boolean isMandatory,
                              int iLayout,
                              int iPadding,
                              String captionWidth,
                              String fieldWidth,
                              int componentHeight)
Deprecated. 
A constructor that sets a caption, a path for the list of choices, a path for the titles of the choices, a default selection, sets the component to mandatory, sets a caption width, a field width, a layout and padding and a height for a component.

Parameters:
caption - a caption
choicesPath - a path for the choices
choiceTitlesPath - a path for the titles of the choices
defaultSelection - a default selection
isMandatory - true sets the component to mandatory
iLayout - a layout
iPadding - padding
captionWidth - a caption width
fieldWidth - a field width
componentHeight - a height
Method Detail

getListComponent

public com.sapportals.htmlb.ListBox getListComponent(IBasicEditingContext context)
Deprecated. 
Gets the list selection component. Returns the same component in the same request. If this HTMLB component is modified (for example, change its graphic appearance, define client events, etc) before it is displayed, it affects the component when it is displayed by the getDisplay function.
Use this HTMLB component if you override getDisplay to define a different component layout.

Parameters:
context - the current editing context
Returns:
a dropdown listbox component

getInputComponent

public com.sapportals.htmlb.ListBox getInputComponent(IBasicEditingContext context)
Deprecated. 
Gets the input component. Returns the same component in the same request. If this HTMLB component is modified (for example, change its graphic appearance, define client events, etc) before it is displayed, it affects the component when it is displayed by the getDisplay function.
Use this HTMLB component if you override getDisplay to define a different component layout.

Parameters:
context - the current editing context
Returns:
the input component

processInput

public void processInput(IWizardContext context)
Deprecated. 
Saves to the data model the values entered into the control by the administrator. The default implementation calls the pane�s myProcessInput method, and then calls processInput on all the wizard components within the pane.
Implement this method to save to the data model the data from any HTMLB controls that you created in the pane.
This method is called after a user clicks a toolbar button, causing a new request to be made to the wizard component.

Specified by:
processInput in interface IWizardComponent
Specified by:
processInput in class AbstractSelectionComponent
Parameters:
context - the current wizard context

createInputComponent

protected com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext context)
Deprecated. 
Creates a list selection component.

Specified by:
createInputComponent in class AbstractInputComponent
Parameters:
context - the current editing context
Returns:
the component object

getValue

public List getValue(IWizardContext context)
Deprecated. 
Gets the current value of the component.

Parameters:
context - the current wizard context
Returns:
the current value of this component

setValue

public boolean setValue(List newValue,
                        IWizardContext context)
Deprecated. 
Sets the component value to the specified value. The value can be true or false

Parameters:
newValue - a value for the component
context - the current wizard context

setFieldWidth

public void setFieldWidth(String fieldWidth)
Deprecated. 
Sets the field width for the component.

Parameters:
fieldWidth - a field width
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated - EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated api EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice