com.sapportals.admin.wizardframework.components

Class CheckboxSelectionComponent

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.CheckboxSelectionComponent
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 CheckboxSelectionComponent
extends AbstractSelectionComponent

The class that represents a checkbox 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
CheckboxSelectionComponent(String caption, List choices, List choiceTitles, List choiceTooltips, List defaultValue)
          Deprecated. A constructor that sets a caption, a fixed list of choices, titles for the choices, titles for the tooltips for the choices, and a default value.
CheckboxSelectionComponent(String caption, String choicesPath, String choiceTitlesPath, String choiceTooltipsPath, List defaultValue)
          Deprecated. A constructor that sets a caption, a default value, and the path for the following: choices, titles for the choices, titles for the tooltips for the choices.
 
Method Summary
protected  com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext context)
          Deprecated. Creates a checkbox selection component.
 List getValue(IWizardContext context)
          Deprecated. Gets the values from a checkbox selection component.
 void processInput(IWizardContext context)
          Deprecated. Saves to the data model the values entered into wizard controls by the administrator.
 
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

CheckboxSelectionComponent

public CheckboxSelectionComponent(String caption,
                                  List choices,
                                  List choiceTitles,
                                  List choiceTooltips,
                                  List defaultValue)
Deprecated. 
A constructor that sets a caption, a fixed list of choices, titles for the choices, titles for the tooltips for the choices, and a default value.

Parameters:
caption - a caption
choices - a list of choices
choiceTitles - titles for the choices
choiceTooltips - tooltips for the titles
defaultValue - a default value

CheckboxSelectionComponent

public CheckboxSelectionComponent(String caption,
                                  String choicesPath,
                                  String choiceTitlesPath,
                                  String choiceTooltipsPath,
                                  List defaultValue)
Deprecated. 
A constructor that sets a caption, a default value, and the path for the following: choices, titles for the choices, titles for the tooltips for the choices.

Parameters:
caption - a caption
choicesPath - a path for the choices
choiceTitlesPath - a path for the titles for the choices
choiceTooltipsPath - a path for the tooltips for the titles
defaultValue - a default value
Method Detail

createInputComponent

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

Specified by:
createInputComponent in class AbstractInputComponent
Parameters:
context - the current editing context
Returns:
a checkbox selection component

processInput

public void processInput(IWizardContext context)
Deprecated. 
Saves to the data model the values entered into wizard controls 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

getValue

public List getValue(IWizardContext context)
Deprecated. 
Gets the values from a checkbox selection component.

Parameters:
context - the current wizard context
Returns:
a list of values
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