public class OperatorModelImpl extends AbstractSelectionWithDynamicSectionPanelModel<String>
| Modifier and Type | Class and Description |
|---|---|
static interface |
OperatorModelImpl.AllowedOperatorProvider |
SelectionWithDynamicSectionPanelModel.ModelUpdatedListener| Constructor and Description |
|---|
OperatorModelImpl(OperatorModelImpl.AllowedOperatorProvider allowedOperatorProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeSelectedElement(String selectedElement)
Changes currently selected element.
|
String |
getLeftOperandType() |
String |
getSelectedElement()
Gets an element that was chosen by the user
|
TypedSelectionModel<String> |
getSelectionModel()
Returns an instance of TypedSelectionModel that contains elements representing possible choices for the user.
|
void |
reset()
Resets the model.
|
void |
setLeftOperandType(String leftOperandType) |
void |
setSelectedOperator(String selectedOperator)
Setter for the selectedOperator field.
|
getModelChangeListenerProvider, getModelUpdatedListener, modelUpdated, setModelChangeListenerProvider, setModelUpdatedListenerpublic OperatorModelImpl(OperatorModelImpl.AllowedOperatorProvider allowedOperatorProvider)
public void setSelectedOperator(String selectedOperator)
public String getSelectedElement()
SelectionWithDynamicSectionPanelModelpublic void changeSelectedElement(String selectedElement)
SelectionWithDynamicSectionPanelModelpublic TypedSelectionModel<String> getSelectionModel()
SelectionWithDynamicSectionPanel.SelectionModelProviderpublic void reset()
SelectionWithDynamicSectionPanelModelpublic String getLeftOperandType()
public void setLeftOperandType(String leftOperandType)
Copyright © 2017 SAP SE. All Rights Reserved.