1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /*
- *+------------------------------------------------------------------------+
- *| Licensed Materials - Property of IBM
- *| IBM Cognos Products: Viewer
- *| (C) Copyright IBM Corp. 2013
- *|
- *| US Government Users Restricted Rights - Use, duplication or
- *| disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- *|
- *+------------------------------------------------------------------------+
- */
- function ViewerUIConfig() {
- this.showBanner = true;
- this.showToolbar = true;
- this.showContextMenu = true;
- this.showPageNavigation = true;
- this.primarySelectionColor = null;
- this.secondarySelectionColor = null;
- this.showSecondarySelection = true;
- }
- ViewerUIConfig.prototype.configure = function(configuration) {
- applyJSONProperties(this, configuration);
- };
- ViewerUIConfig.prototype.getShowBanner = function() {
- return this.showBanner;
- };
- ViewerUIConfig.prototype.getShowToolbar = function() {
- return this.showToolbar;
- };
- ViewerUIConfig.prototype.getShowContextMenu = function() {
- return this.showContextMenu;
- };
- ViewerUIConfig.prototype.getShowPageNavigation = function() {
- return this.showPageNavigation;
- };
- ViewerUIConfig.prototype.getPrimarySelectionColor = function() {
- return this.primarySelectionColor;
- };
- ViewerUIConfig.prototype.getSeondarySelectionColor = function() {
- return this.secondarySelectionColor;
- };
- ViewerUIConfig.prototype.getShowSecondarySelection = function() {
- return this.showSecondarySelection;
- };
|