public class TypeSelectorSectionRenderer extends AbstractNavigationAreaSectionRenderer
| Constructor and Description |
|---|
TypeSelectorSectionRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
addSubtypes(Collection<String> typeCodes) |
protected Listitem |
createOpenBrowserComponent(String typeCode) |
TypeService |
getCockpitTypeService() |
String |
getDisplayType() |
int |
getPageSize() |
protected TreeModel |
getTreeModel(Section section) |
protected TreeUtils.TreeState |
getTreeState(Section section) |
boolean |
isIncludeSubtypes() |
protected boolean |
isRootType(String typeCode) |
boolean |
isSearchable() |
protected boolean |
isShowTypeCode(Section section) |
protected void |
openSearchBrowser(String rootTypeCode) |
void |
render(SectionPanel panel,
Component parent,
Component captionComponent,
Section section) |
protected void |
renderList(SectionPanel panel,
Component parent,
Component captionComponent,
Section section)
Renders a type list
|
protected void |
renderTree(SectionPanel panel,
Component parent,
Component captionComponent,
Section section)
Renders a type tree
|
void |
setAllowDuplicates(boolean allowDuplicates) |
void |
setBrowserModelFactory(BrowserModelFactory browserModelFactory) |
void |
setCockpitTypeService(TypeService cockpitTypeService) |
void |
setDisplayType(String type) |
void |
setInactiveTypeCodes(String[] inactiveTypeCodes) |
void |
setIncludeSubtypes(boolean includeSubtypes) |
void |
setPageSize(int pageSize) |
void |
setSearchable(boolean searchable) |
protected void |
setTreeModel(Tree tree,
TreeModel model,
Section section) |
void |
setTypeCodes(String[] typeCodes) |
void |
setTypeDefinitionDao(TypeDefinitionDao typeDefinitionDao) |
protected void |
showTypeCode(boolean value,
Section section) |
createBrowserItemTooltip, createList, getNavigationArea, getSectionPanelModel, setNavigationAreapublic void render(SectionPanel panel, Component parent, Component captionComponent, Section section)
render in interface SectionRendererrender in class AbstractNavigationAreaSectionRendererprotected void renderTree(SectionPanel panel, Component parent, Component captionComponent, Section section)
panel - the section panel which triggered the renderingcaptionComponent - the caption component of the sectionsection - the sectionprotected void setTreeModel(Tree tree,
TreeModel model,
Section section)
protected TreeModel getTreeModel(Section section)
protected boolean isShowTypeCode(Section section)
protected void showTypeCode(boolean value,
Section section)
protected TreeUtils.TreeState getTreeState(Section section)
protected void renderList(SectionPanel panel, Component parent, Component captionComponent, Section section)
panel - the section panel which triggered the renderingcaptionComponent - the caption component of the sectionsection - the sectionprotected boolean isRootType(String typeCode)
protected Collection<String> addSubtypes(Collection<String> typeCodes)
protected Listitem createOpenBrowserComponent(String typeCode)
protected void openSearchBrowser(String rootTypeCode)
public void setTypeCodes(String[] typeCodes)
public void setInactiveTypeCodes(String[] inactiveTypeCodes)
public void setIncludeSubtypes(boolean includeSubtypes)
public boolean isIncludeSubtypes()
public void setDisplayType(String type)
public String getDisplayType()
public void setCockpitTypeService(TypeService cockpitTypeService)
public TypeService getCockpitTypeService()
public void setPageSize(int pageSize)
public int getPageSize()
public void setSearchable(boolean searchable)
public boolean isSearchable()
public void setBrowserModelFactory(BrowserModelFactory browserModelFactory)
public void setTypeDefinitionDao(TypeDefinitionDao typeDefinitionDao)
public void setAllowDuplicates(boolean allowDuplicates)
Copyright © 2017 SAP SE. All Rights Reserved.