public class InfoBoxRenderer extends AbstractNavigationAreaSectionRenderer implements SimpleRenderer
| Constructor and Description |
|---|
InfoBoxRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected Component |
createHeaderInfo(java.util.List<ValuePair<java.lang.String,java.lang.Integer>> tokens)
Returns a component for an additional header info string, seperated by '/' or null, if tokens is empty.
|
protected Component |
createHeaderTokenComponent(ValuePair<java.lang.String,java.lang.Integer> token) |
CockpitCommentService |
getCockpitCommentService() |
CommunicationBrowserModel |
getCommunicationBrowserModel() |
protected java.lang.String |
getLanguage() |
SectionPanelModel |
getSectionPanelModel() |
protected java.lang.String |
getUserName() |
java.util.List<java.lang.String> |
getWorkflowAttClassNames() |
WorkflowService |
getWorkflowService()
Deprecated.
since 6.3
|
void |
render(Component parent) |
void |
render(SectionPanel panel,
Component parent,
Component captionComponent,
Section section) |
protected void |
renderAdditionalContent(Component parent,
java.util.List<ValuePair<java.lang.String,java.lang.Integer>> tokens)
Could be overidden in a subclass to add additional content to the infobox.
|
void |
setWorkflowAttClassNames(java.util.List<java.lang.String> workflowAttClassNames) |
createBrowserItemTooltip, createList, getNavigationArea, setNavigationAreapublic void render(SectionPanel panel, Component parent, Component captionComponent, Section section)
render in interface SectionRendererrender in class AbstractNavigationAreaSectionRendererpublic void render(Component parent)
render in interface SimpleRendererprotected void renderAdditionalContent(Component parent,
java.util.List<ValuePair<java.lang.String,java.lang.Integer>> tokens)
parent - The container component, append your custom components to it.tokens - The tokens that are rendered in the section header. Add ValuePairs containing a string and an
integer to this list if you want to display them.protected Component createHeaderInfo(java.util.List<ValuePair<java.lang.String,java.lang.Integer>> tokens)
tokens - a valuepair representing a label and a number, like e.g. 'C' for comments and the number of commentsprotected Component createHeaderTokenComponent(ValuePair<java.lang.String,java.lang.Integer> token)
public SectionPanelModel getSectionPanelModel()
getSectionPanelModel in class AbstractNavigationAreaSectionRenderer@Deprecated public WorkflowService getWorkflowService()
public java.util.List<java.lang.String> getWorkflowAttClassNames()
public void setWorkflowAttClassNames(java.util.List<java.lang.String> workflowAttClassNames)
workflowAttClassNames - the workflowAttClassNames to setprotected java.lang.String getUserName()
protected java.lang.String getLanguage()
public CockpitCommentService getCockpitCommentService()
public CommunicationBrowserModel getCommunicationBrowserModel()
Copyright © 2018 SAP SE. All Rights Reserved.