public class DefaultAdvancedContentBrowser extends AbstractContentContextBrowser
AbstractContentBrowser.BrowserFocusDiv| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
COCKPIT_ID_BROWSERAREA_ITEMS_TOTAL |
protected boolean |
desktopInvalid |
protected static java.lang.String |
DND_ID |
protected Borderlayout |
mainBorderlayout |
protected java.util.Map<java.lang.String,MainAreaComponentFactory> |
viewModeMapping |
captionComponent, CONTENT_BROWSER_CHANGE, contextAreaComponent, DEFAULT_OVERLAY_SCLASS, DEFAULT_SCLASS, FOCUSED_OVERLAY_SCLASS, FOCUSED_SCLASS, initialized, mainAreaComponent, statusBar, toolbarComponent| Constructor and Description |
|---|
DefaultAdvancedContentBrowser() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractBrowserComponent |
createCaptionComponent()
Creates and returns the caption component of this content browser.
|
protected AbstractBrowserComponent |
createContextAreaComponent()
Creates and returns the context area component of this content browser.
|
HtmlBasedComponent |
createCustomPager(PageableBrowserModel pageableModel) |
protected AbstractBrowserComponent |
createDefaultViewModeComponent() |
protected AbstractBrowserComponent |
createMainAreaComponent()
Creates and returns the main area component of this content browser.
|
HtmlBasedComponent |
createPageSizeCombobox(PageableBrowserModel pageableModel) |
protected AbstractBrowserComponent |
createToolbarComponent()
Creates and returns the toolbar component of this content browser.
|
boolean |
currentViewHasOwnModel() |
void |
desktopRemoved(Desktop desktop) |
protected java.lang.String |
getDefaultPagingMold() |
AdvancedBrowserModel |
getModel() |
java.util.Map<java.lang.String,MainAreaComponentFactory> |
getViewModes() |
protected boolean |
initialize()
Initializes this content browser i.e.
|
void |
resize() |
void |
setModel(BrowserModel model) |
protected void |
showContextArea() |
boolean |
update()
Updates this content browser i.e.
|
void |
updateActivation()
This method makes it possible to force the view to get the currently active item(s) from its model, thus
synchronizing itself.
|
void |
updateActiveItems()
This method makes it possible to force the view to re-render the items which are considered "active".
|
void |
updateCaption() |
void |
updateContextArea() |
void |
updateContextArea(boolean cleanContextHeader) |
void |
updateItem(TypedObject item,
java.util.Set<PropertyDescriptor> modifiedProperties,
java.lang.Object reason)
This method makes it possible to force the view to re-render a list of items.
|
void |
updateMainArea() |
void |
updateSelectedItems()
This method makes it possible to force the view to re-render the items which are considered "selected".
|
void |
updateStatusBar() |
void |
updateToolbar() |
void |
updateViewMode() |
cleanup, detach, getActionConfiguration, getCaptionComponent, getContentBrowserComponent, getContextAreaComponent, getDDWrapper, getFocusComponent, getMainAreaComponent, getToolbarComponent, isActiveWhenUnfocused, isInitialized, setActiveWhenUnfocused, setContentBrowserComponent, setFocus, setFocusComponent, setParent, setRealSclass, setSclass, updateItemprotected java.util.Map<java.lang.String,MainAreaComponentFactory> viewModeMapping
protected static final java.lang.String DND_ID
protected static final java.lang.String COCKPIT_ID_BROWSERAREA_ITEMS_TOTAL
protected transient Borderlayout mainBorderlayout
protected boolean desktopInvalid
public void setModel(BrowserModel model)
setModel in class AbstractContentBrowserpublic AdvancedBrowserModel getModel()
getModel in class AbstractContentBrowserpublic void resize()
resize in class AbstractContentBrowserprotected boolean initialize()
AbstractContentBrowsermodel is set.
Implementation note: Do not forget to set the AbstractContentBrowser.initialized flag before returning.initialize in class AbstractContentBrowsertrue if initialization was successful, false otherwiseAbstractContentBrowser.setModel(BrowserModel)public void updateActiveItems()
AbstractContentBrowserupdateActiveItems in class AbstractContentBrowserAbstractContentBrowser.updateActivation()public void updateSelectedItems()
AbstractContentBrowserupdateSelectedItems in class AbstractContentBrowserpublic void updateItem(TypedObject item, java.util.Set<PropertyDescriptor> modifiedProperties, java.lang.Object reason)
AbstractContentBrowserupdateItem in class AbstractContentBrowseritem - the item which should be re-renderedmodifiedProperties - set of modified propertiesreason - the object that causes the update, can be nullpublic boolean update()
AbstractContentBrowserupdate in class AbstractContentBrowsertrue if this browser was successfully updated, false otherwisepublic void updateStatusBar()
updateStatusBar in class AbstractContentBrowserpublic void updateActivation()
AbstractContentBrowserupdateActivation in class AbstractContentBrowserAbstractContentBrowser.updateActiveItems()protected void showContextArea()
public void updateContextArea()
updateContextArea in class AbstractContentBrowserpublic void updateContextArea(boolean cleanContextHeader)
updateContextArea in class AbstractContentContextBrowserpublic void updateViewMode()
updateViewMode in class AbstractContentBrowserpublic void updateMainArea()
updateMainArea in class AbstractContentBrowserprotected AbstractBrowserComponent createCaptionComponent()
CaptionBrowserComponent instance.protected AbstractBrowserComponent createToolbarComponent()
null.public java.util.Map<java.lang.String,MainAreaComponentFactory> getViewModes()
protected AbstractBrowserComponent createDefaultViewModeComponent()
protected AbstractBrowserComponent createMainAreaComponent()
AbstractMainAreaBrowserComponent instance.protected AbstractBrowserComponent createContextAreaComponent()
ContextAreaBrowserComponent instance.public HtmlBasedComponent createCustomPager(PageableBrowserModel pageableModel)
public HtmlBasedComponent createPageSizeCombobox(PageableBrowserModel pageableModel)
protected java.lang.String getDefaultPagingMold()
public boolean currentViewHasOwnModel()
public void updateCaption()
updateCaption in class AbstractContentBrowserpublic void updateToolbar()
updateToolbar in class AbstractContentBrowserpublic void desktopRemoved(Desktop desktop)
desktopRemoved in interface DesktopRemovalAwareComponentdesktopRemoved in class AbstractContentBrowserCopyright © 2018 SAP SE. All Rights Reserved.