public class ReportDashboardCaptionComponent extends AbstractBrowserComponent
| Modifier and Type | Field and Description |
|---|---|
protected Component |
leftCaptionCmp |
protected Component |
rightCaptionCmp |
ADV_QUERY_BTN_ACTIVE_IMG, ADV_QUERY_BTN_IMG, BROWSER_TOOLBAR_SCLASS, CLOSE_BTN_IMG, CONTENT_BROWSER_GB_SCLASS, CONTENT_BROWSER_STICKY_GB_SCLASS, DUPLICATE_BTN_IMG, initialized, MAIN_AREA_BL_SCLASS, MINIMIZE_BTN_IMG, SAVE_QUERY_BTN_IMG, SEARCH_MAGNIFIER_BTN_IMG, SPLIT_ACTIVE_BTN_IMG, SPLIT_INACTIVE_BTN_IMG| Constructor and Description |
|---|
ReportDashboardCaptionComponent(BrowserModel model,
AbstractContentBrowser contentBrowser) |
| Modifier and Type | Method and Description |
|---|---|
protected Component |
createRightCaptionComponent() |
boolean |
initialize()
Initializes this browser component i.e.
|
void |
resize()
Notifies this browser component that it should resize itself if possible, since the view state might require it.
|
void |
setActiveItem(TypedObject activeItem)
Sets the active item of this browser component to
activeItem. |
boolean |
update()
Updates this browser component i.e.
|
void |
updateActiveItems()
Re-renders the currently active item(s).
|
void |
updateItem(TypedObject item,
Set<PropertyDescriptor> modifiedProperties)
Re-renders the item.
|
void |
updateSelectedItems()
Re-renders the currently selected item(s).
|
getContentBrowser, getModel, setModel, updateItemprotected Component rightCaptionCmp
protected Component leftCaptionCmp
public ReportDashboardCaptionComponent(BrowserModel model, AbstractContentBrowser contentBrowser)
public boolean initialize()
AbstractBrowserComponentinitialized flag to true after this
method has been called.
Note: This method is automatically called when a model or browser controller is set.initialize in interface CockpitComponentinitialize in class AbstractBrowserComponenttrue if initialization was successful, false otherwiseAbstractBrowserComponent.setModel(BrowserModel)protected Component createRightCaptionComponent()
public void resize()
AbstractBrowserComponentBorderlayout components.resize in class AbstractBrowserComponentpublic void setActiveItem(TypedObject activeItem)
AbstractBrowserComponentactiveItem.setActiveItem in interface CockpitComponentsetActiveItem in class AbstractBrowserComponentactiveItem - the new active itempublic boolean update()
AbstractBrowserComponentupdate in interface CockpitComponentupdate in class AbstractBrowserComponenttrue if this browser was successfully updated, false otherwisepublic void updateActiveItems()
AbstractBrowserComponentupdateActiveItems in interface CockpitComponentupdateActiveItems in class AbstractBrowserComponentpublic void updateItem(TypedObject item, Set<PropertyDescriptor> modifiedProperties)
AbstractBrowserComponentupdateItem in interface CockpitComponentupdateItem in class AbstractBrowserComponentitem - the item to be re-renderedmodifiedProperties - modified propertiespublic void updateSelectedItems()
AbstractBrowserComponentupdateSelectedItems in interface CockpitComponentupdateSelectedItems in class AbstractBrowserComponentCopyright © 2017 SAP SE. All Rights Reserved.