public class PrintPagesStructureViewBrowserComponent extends AbstractMainAreaBrowserComponent implements PageToolbarActionExecutor
| Modifier and Type | Field and Description |
|---|---|
static String |
ON_CONTINUE_LOADING |
EMPTY_MESSAGE, lastResultType, listComponentModel, loginService, 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 |
|---|
PrintPagesStructureViewBrowserComponent(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 |
onEvent(Event event) |
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 structure mode
|
void |
setShowPerformanceInfo(boolean turn)
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 static final String ON_CONTINUE_LOADING
public PrintPagesStructureViewBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser 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 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 propertiesprotected Div createMainArea()
createMainArea in class AbstractMainAreaBrowserComponentpublic void setScale(int scale)
setScale in interface PageToolbarActionExecutorscale - to set given in %, e.g 25 means everything will be reduced to 1/4 of it's original sizepublic int fitToPage(String width, String height)
fitToPage in interface PageToolbarActionExecutorwidth - of browser areaheight - of browser areapublic String getMainAreaId()
getMainAreaId in interface PageToolbarActionExecutorpublic void setShowPerformanceInfo(boolean turn)
PageToolbarActionExecutorsetShowPerformanceInfo in interface PageToolbarActionExecutorturn - on/off showing of performance info for all containerspublic 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 setPageMode(PageMode pageMode)
PageToolbarActionExecutorsetPageMode in interface PageToolbarActionExecutorCopyright © 2017 SAP SE. All Rights Reserved.