public class ListSectionComponent extends AbstractSectionComponent implements DesktopRemovalAwareComponent
| Modifier and Type | Field and Description |
|---|---|
protected Div |
captionContainer |
protected ColumnModelListener |
columnModelListener |
protected Div |
groupBoxContent |
protected ObjectTemplate |
lastResultType |
protected static java.lang.String |
LIST_VIEW_CONFIG_CODE |
protected UIListView |
listView |
protected DefaultListModel<TypedObject> |
resultModel |
protected ComponentController |
tableController |
EMPTY_TEXT| Constructor and Description |
|---|
ListSectionComponent(ListSectionModel sectionModel) |
| Modifier and Type | Method and Description |
|---|---|
protected AdvancedGroupbox |
createSectionView() |
protected AbstractTableController |
createTableController(ListSectionModel listSectionModel,
MutableTableModel mutableTableModel,
UIListView listView) |
void |
desktopRemoved(Desktop desktop) |
void |
detach() |
protected ColumnModelListener |
getColumnModelListener() |
protected ListViewConfiguration |
getListViewConfiguration(ObjectTemplate objectTemplate,
java.lang.String code) |
protected java.lang.String |
getListViewConfigurationCode() |
protected DefaultListModel<TypedObject> |
getResultModel() |
protected ObjectTemplate |
getRootType() |
protected AdvancedGroupbox |
getSectionGroupbox() |
ListSectionModel |
getSectionModel() |
protected MutableTableModel |
getTableModel() |
protected UIConfigurationService |
getUIConfigurationService() |
boolean |
initialize()
Initializes this browser component i.e.
|
protected UIListView |
loadListView() |
void |
setActiveItem(TypedObject activeItem)
Sets the active item of this browser component to
activeItem. |
void |
setParent(Component parent) |
protected void |
setTableModel(MutableTableModel tableModel) |
protected void |
storeListViewConfiguration() |
boolean |
update()
Updates this browser component i.e.
|
void |
updateActiveItems()
Re-renders the currently active item(s).
|
void |
updateItem(TypedObject item,
java.util.Set<PropertyDescriptor> modifiedProperties)
Re-renders the items specified.
|
protected void |
updateResult() |
void |
updateSelectedItems()
Re-renders the currently selected item(s).
|
protected static final java.lang.String LIST_VIEW_CONFIG_CODE
protected ObjectTemplate lastResultType
protected final DefaultListModel<TypedObject> resultModel
protected transient UIListView listView
protected transient Div groupBoxContent
protected ComponentController tableController
protected ColumnModelListener columnModelListener
protected Div captionContainer
public ListSectionComponent(ListSectionModel sectionModel)
protected UIListView loadListView()
public boolean update()
CockpitComponentupdate in interface CockpitComponenttrue if this browser was successfully updated, false otherwisepublic ListSectionModel getSectionModel()
getSectionModel in interface SectionComponentgetSectionModel in class AbstractSectionComponentpublic boolean initialize()
CockpitComponentinitialize in interface CockpitComponenttrue if initialization was successful, false otherwiseprotected AdvancedGroupbox createSectionView()
public void setActiveItem(TypedObject activeItem)
CockpitComponentactiveItem.setActiveItem in interface CockpitComponentactiveItem - the new active itempublic void updateActiveItems()
CockpitComponentupdateActiveItems in interface CockpitComponentpublic void updateItem(TypedObject item, java.util.Set<PropertyDescriptor> modifiedProperties)
CockpitComponentupdateItem in interface CockpitComponentitem - the item to be re-renderedmodifiedProperties - modified propertiespublic void updateSelectedItems()
CockpitComponentupdateSelectedItems in interface CockpitComponentpublic void desktopRemoved(Desktop desktop)
desktopRemoved in interface DesktopRemovalAwareComponentpublic void detach()
public void setParent(Component parent)
protected DefaultListModel<TypedObject> getResultModel()
protected void updateResult()
protected java.lang.String getListViewConfigurationCode()
protected AbstractTableController createTableController(ListSectionModel listSectionModel, MutableTableModel mutableTableModel, UIListView listView)
protected MutableTableModel getTableModel()
protected void setTableModel(MutableTableModel tableModel)
protected ObjectTemplate getRootType()
protected ListViewConfiguration getListViewConfiguration(ObjectTemplate objectTemplate, java.lang.String code)
protected UIConfigurationService getUIConfigurationService()
protected ColumnModelListener getColumnModelListener()
protected void storeListViewConfiguration()
protected AdvancedGroupbox getSectionGroupbox()
Copyright © 2018 SAP SE. All Rights Reserved.