public class CheckboxChoiceComponent extends AbstractInputComponent
captionWidth, DEFAULT_PADDING, defaultCaption, defaultTooltip, filledIncompletely, INPUT_COMPONENT, inputComponent, label, layout, padding, VALUE, valueTargetPathHORIZONTAL_LAYOUT, VERTICAL_LAYOUT| Constructor and Description |
|---|
CheckboxChoiceComponent()
Deprecated.
A blank constructor.
|
CheckboxChoiceComponent(String caption)
Deprecated.
A constructor that sets a caption.
|
CheckboxChoiceComponent(String caption,
boolean iDefaultValue)
Deprecated.
A constructor that sets a caption and whether to use a default
value.
|
CheckboxChoiceComponent(String caption,
boolean iDefaultValue,
int iLayout,
int iPadding)
Deprecated.
A constructor that sets a caption, whether to use a default value,
a layout and padding.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.sapportals.htmlb.Component |
createInputComponent(IBasicEditingContext context)
Deprecated.
Creates a checkbox component.
|
com.sapportals.htmlb.Checkbox |
getCheckboxComponent(IBasicEditingContext context)
|
com.sapportals.htmlb.Checkbox |
getInputComponent(IBasicEditingContext context)
Deprecated.
Gets the checkbox component.
|
boolean |
getSelected(IBasicEditingContext context)
|
boolean |
getValue(IWizardContext context)
Deprecated.
Gets the value from a checkbox component.
|
void |
processInput(IWizardContext context)
Deprecated.
Saves to the data model the values entered into wizard controls by the
administrator.
|
void |
setLayout(int iLayout)
Deprecated.
Sets a layout for the checkbox component.
|
void |
setSelected(boolean selected,
IWizardContext context)
|
void |
setValue(boolean selected,
IWizardContext context)
Deprecated.
Sets a value for the checkbox component.
|
clear, clearIfInconsistent, getCaption, getCaptionComponent, getDisplay, getErrorMessages, getInputComponentGeneric, getMissingFieldErrorMessage, getTooltip, getValueGeneric, isComplete, setCaption, setCaptionWidth, setCustomErrorMessage, setPath, setTooltip, setupComponent, setValueGeneric, setValueTargetPathdoAfterSubmit, doBeforeDisplay, getControlInFocus, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChangedpublic CheckboxChoiceComponent()
public CheckboxChoiceComponent(String caption)
caption - a captionpublic CheckboxChoiceComponent(String caption, boolean iDefaultValue)
caption - a captioniDefaultValue - true uses a default value,
false does notpublic CheckboxChoiceComponent(String caption, boolean iDefaultValue, int iLayout, int iPadding)
caption - a captioniDefaultValue - true uses a default value,
false does notiLayout - a layoutiPadding - paddingpublic void setSelected(boolean selected,
IWizardContext context)
selected - is selectedcontext - wizard contextpublic void setValue(boolean selected,
IWizardContext context)
selected - true if the checkbox is selected,
false if not selectedcontext - the current wizard contextpublic void setLayout(int iLayout)
setLayout in class AbstractInputComponentiLayout - a layoutpublic boolean getSelected(IBasicEditingContext context)
context - the current editing contextpublic boolean getValue(IWizardContext context)
context - the current wizard contexttrue if the checkbox is selected,
false if not selectedpublic com.sapportals.htmlb.Checkbox getCheckboxComponent(IBasicEditingContext context)
context - the current editing contextpublic com.sapportals.htmlb.Checkbox getInputComponent(IBasicEditingContext context)
context - the current editing contextprotected com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext context)
createInputComponent in class AbstractInputComponentcontext - the current editing 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 AbstractInputComponentcontext - the current wizard 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