public class MainAreaPageStructureViewBrowserComponent extends AbstractMainAreaBrowserComponent implements PageToolbarActionExecutor
EMPTY_MESSAGE, lastResultType, listComponentModel, loginService, mainArea, resultModel, typeService, uiConfigurationServiceADV_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 |
|---|
MainAreaPageStructureViewBrowserComponent(AdvancedBrowserModel model,
AbstractContentBrowser contentBrowser) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup() |
protected Div |
createMainArea() |
int |
fitToPage(String width,
String height)
Adjusts preview pages sizes so that exactly one is displayed - fitted to browser area width/height
|
protected UIItemView |
getCurrentItemView() |
String |
getMainAreaId() |
void |
setDoublePageMode(boolean mode)
Switch on/off double page mode
|
void |
setGrid(TypedObject typedGrid)
Sets given grid so that mainArea can adjust it's appearance
|
void |
setGridMode(GridMode gridMode)
Sets given grid mode so that mainArea can adjust it's appearance
|
void |
setPageMode(PageMode pageMode)
Sets given page mode so that the mainArea adjusts it's page preview model
|
void |
setPlacementMode(PlacementMode placementMode)
Sets given placement mode so that mainArea can adjust it's appearance
|
void |
setScale(int scale)
Sets scale (zooms in/out) in underling components
|
void |
setShowPerformanceInfo(boolean show)
Sets if performance info shall be shown or not
|
boolean |
update()
Updates this browser component i.e.
|
void |
updateItem(TypedObject item,
Set<PropertyDescriptor> modifiedProperties)
Re-renders the item.
|
createTableController, desktopRemoved, detach, getLoginService, getModel, getResultModel, getRootType, getTableModel, getTypeService, getUIConfigurationService, initialize, loadListModel, resetSelection, resize, setActiveItem, setParent, setTableModel, updateActiveItems, updateResult, updateSelectedItemsgetContentBrowser, setModel, updateItempublic MainAreaPageStructureViewBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser)
model - contentBrowser - public boolean update()
AbstractBrowserComponentupdate in interface CockpitComponentupdate in class AbstractBrowserComponenttrue if this browser was successfully updated, false otherwiseprotected UIItemView getCurrentItemView()
getCurrentItemView in class AbstractMainAreaBrowserComponentprotected Div createMainArea()
createMainArea in class AbstractMainAreaBrowserComponentprotected void cleanup()
cleanup in class AbstractMainAreaBrowserComponentpublic void updateItem(TypedObject item, Set<PropertyDescriptor> modifiedProperties)
AbstractBrowserComponentupdateItem in interface CockpitComponentupdateItem in class AbstractMainAreaBrowserComponentitem - the item to be re-renderedmodifiedProperties - modified propertiespublic String getMainAreaId()
getMainAreaId in interface PageToolbarActionExecutorpublic int fitToPage(String width, String height)
fitToPage in interface PageToolbarActionExecutorwidth - of browser areaheight - of browser areapublic void setScale(int scale)
PageToolbarActionExecutorsetScale in interface PageToolbarActionExecutorscale - to set given in %, e.g 25 means everything will be reduced to 1/4 of it's original sizepublic void setDoublePageMode(boolean mode)
PageToolbarActionExecutorsetDoublePageMode in interface PageToolbarActionExecutormode - set true to have double page mode, false for single page modepublic void setGrid(TypedObject typedGrid)
PageToolbarActionExecutorsetGrid in interface PageToolbarActionExecutorpublic void setGridMode(GridMode gridMode)
PageToolbarActionExecutorsetGridMode in interface PageToolbarActionExecutorpublic void setPlacementMode(PlacementMode placementMode)
PageToolbarActionExecutorsetPlacementMode in interface PageToolbarActionExecutorpublic void setShowPerformanceInfo(boolean show)
PageToolbarActionExecutorsetShowPerformanceInfo in interface PageToolbarActionExecutorpublic void setPageMode(PageMode pageMode)
PageToolbarActionExecutorsetPageMode in interface PageToolbarActionExecutorCopyright © 2017 SAP SE. All Rights Reserved.