public abstract class SelectionWithDynamicSectionPanel<ElementType> extends Object
SelectionWithDynamicSectionSelectionHandler instance.| Modifier and Type | Class and Description |
|---|---|
static interface |
SelectionWithDynamicSectionPanel.SelectionModelProvider<T>
Represents a component that is able to provide TypedSelectionModel instances.
|
| Modifier and Type | Field and Description |
|---|---|
protected Div |
dynamicSection |
protected SelectionWithDynamicSectionPanelModel<ElementType> |
model |
| Constructor and Description |
|---|
SelectionWithDynamicSectionPanel(Component parent,
String emptyElementLabel,
SelectionWithDynamicSectionPanelModel<ElementType> model) |
SelectionWithDynamicSectionPanel(Component parent,
String emptyElementLabel,
SelectionWithDynamicSectionPanelModel<ElementType> model,
BTGExpressionComponentModel componentModel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearDynamicSection() |
protected String |
constructItemDescription(ElementType element)
Provides a description for the given element.
|
protected abstract String |
constructItemLabel(ElementType element)
Provides a label for given ElementType instance.
|
void |
disable() |
protected abstract void |
displayDynamicSection()
Displays dynamic section for the selected ElementType element
|
void |
displayExistingData()
Used to initialize display in edit mode
|
void |
enable() |
BTGExpressionComponentModel |
getComponentModel() |
Combobox |
getElementSelectionCombobox()
Combobox has been exposed to make it possible to assign a test id for it.
|
protected Collection<ElementType> |
getEmptyOperandCollection() |
SelectionWithDynamicSectionSelectionHandler<ElementType> |
getSelectionHandler() |
protected ComboitemRenderer |
prepareItemRenderer(String emptyElementLabel) |
protected EventListener |
prepareSelectEventListener() |
void |
setSelectionHandler(SelectionWithDynamicSectionSelectionHandler<ElementType> selectionHandler) |
protected final Div dynamicSection
protected final SelectionWithDynamicSectionPanelModel<ElementType> model
public SelectionWithDynamicSectionPanel(Component parent,
String emptyElementLabel,
SelectionWithDynamicSectionPanelModel<ElementType> model,
BTGExpressionComponentModel componentModel)
public SelectionWithDynamicSectionPanel(Component parent,
String emptyElementLabel,
SelectionWithDynamicSectionPanelModel<ElementType> model)
protected ComboitemRenderer prepareItemRenderer(String emptyElementLabel)
protected abstract String constructItemLabel(ElementType element)
protected String constructItemDescription(ElementType element)
element - protected abstract void displayDynamicSection()
protected EventListener prepareSelectEventListener()
public void disable()
public void enable()
public void displayExistingData()
protected Collection<ElementType> getEmptyOperandCollection()
protected void clearDynamicSection()
public SelectionWithDynamicSectionSelectionHandler<ElementType> getSelectionHandler()
public void setSelectionHandler(SelectionWithDynamicSectionSelectionHandler<ElementType> selectionHandler)
selectionHandler - the selectionHandler to setpublic BTGExpressionComponentModel getComponentModel()
public Combobox getElementSelectionCombobox()
Copyright © 2017 SAP SE. All Rights Reserved.