Enterprise RTView® 
User Guide


Background Options

Select File>Background Properties to modify the following settings.
 
Model Name Current background model. Default model is com.sl.gmsjrtview.m_basemodel. NOTE: SL-GMS J/Developer and J/Net customers may import subclasses of GmsModelCode and access renamed variables via the Model Properties dialog.
Model Width Model width and height in pixels. If you set the model height to a size larger than the display area, a dialog will appear to confirm whether to add space to the top or bottom of the display area. If you decrease the size of the model height, a dialog will appear asking you whether to take space from the top or the bottom of the display area. In addition, if you decrease the model size and the objects no longer fit within the display area, you will be asked to confirm this in a separate dialog. 

NOTE: Model Width/Height options are disabled if you are not using the default model com.sl.gmsjrtview.m_basemodel

Model Height
Model Properties  The Model Properties dialog lists attributes of the background model and provides the ability to edit property values. Model properties are applied immediately and cannot be cancelled or reverted to defaults. If the Model Name does not match the model in the display, the Model Properties dialog is not accessible. To access Model Properties directly, select Edit>Model Properties. NOTE: See the Object Properties section for details on editing property values.

If you are using the default model com.sl.gmsjrtview.m_basemodel the Model Properties are:

Background
bg3dFlag Control visibility of bevel on background.
bgBorderColor Select the  button and choose a color from the palette to set the color of the background outline. This property is only applicable if bgBorderFlag is selected.
bgBorderFlag Control visibility of outline on background.
bgColor Select the  button and choose a background color from the palette.
bgGradientColor2 Select the  button and choose a second color for background gradient. Default is white. NOTE: The bgColor property sets the first color in the gradient.
bgGradientMode Control style of gradient fill on background. Select from the following options:
Diagonal Edge Gradient is drawn at a 45 degree angle from the top left to the bottom right corner of the object.
Diagonal Center Gradient is drawn at a 45 degree angle from the center to the top left and the bottom right corners of the object.
Horizontal Edge Gradient is drawn horizontally from the top to the bottom of the object.
Horizontal Center Gradient is drawn horizontally from the center to the top and bottom of the object.
Vertical Edge Gradient is drawn vertically from the left to the right of the object.
Vertical Center Gradient is drawn vertically from the center to the left and right of the object.
Display Server rtvRefreshInterval Specify the interval (in seconds) to refresh a display in the client browser. Minimum interval is 5 seconds. If left blank, the interval defined in the rtvdisplay.properties file will be used. Set to 0 if you do not want displays automatically refreshed. It is also possible to enter a substitution or attach rtvRefreshInterval to data. NOTE: The refresh rate specified in the URL or DIV tag used to open a display will override the rtvRefreshInterval property.
Interaction onCloseCommand Select Define Command and choose SYSTEM, ALERT, MULTIPLE or your data source. The specified command will be activated when this display (.rtv) file is opened/loaded. NOTE: When this property is defined by a SYSTEM drill down command, this functionality is not supported in the Display Server.
onOpenCommand Select Define Command and choose SYSTEM, ALERT, MULTIPLE or your data source. The specified command will be activated when this display (.rtv) file is closed/replaced. NOTE: When this property is defined by a SYSTEM drill down command, this functionality is not supported in the Display Server.
Use Background Image Select this checkbox to specify a model file or a bitmap image (GIF, JPEG or PNG) as the display background. If you select to use a background image, all background model properties will be disabled.
Image Name Select the name of a model file or a bitmap image (GIF, JPEG or PNG) to use as a background image. The drop down menu contains the names of image files located in the current directory, as well as image files located in first level of subdirectories. If an image is not listed, enter the name (including relative path) of the file.
Resize Mode Control object layout when a window is resized in the current display (.rtv) file. It is also possible to globally specify a Window Resize Mode, select Tools>Options>General or set -resizemode on the command line.

In the Display Builder, the selected Resize Mode is only applied to drill down windows. The main window of the Display Builder is always in Crop mode.

Select from the following options:

Default Use application level default mode. Defaults are: Scale for for the Display Builder, Display Viewer Application and Display Viewer Applet and Crop for the Thin Client,
Crop When the window is resized, the display stays the same size. If the window is bigger than the display, empty space will show around the display. If the window is smaller than the display, scrollbars will be added. The window is not forced to maintain its aspect ratio. This is the default for the Thin Client.
Scale When the window is resized, the display and all of the objects in it are scaled to fit the available space. The window is forced to maintain its aspect ratio. This is the default for the Display Builder, Display Viewer Application and Display Viewer Applet.
Layout When the window is resized, the display is resized to fit the available space. The objects in the display are positioned according to their anchor and dock properties. The window is not forced to maintain its aspect ratio.

Objects that are not docked or anchored will move relative to their offset from the top left corner of the display. For example, if the object is centered on the display, the object will move 50% of the resize amount. If the object is centered at 3/4 of the display, it will move 75% of the resize amount.

NOTE: All three resize modes support zooming the display (right-click -> zoom). In both Scale and Layout modes if the window is resized while the display is zoomed, then the resize will further zoom the display.

Dock Fill Rows Objects in a display that have the dock property set to Fill are laid out across a grid in the available space remaining in the display after all docked objects have been positioned. By default, the grid has one row and as many columns as objects.

If Dock Fill Rows is set to 0 and the Doc Fill Columns value is specified, then the number of rows will be calculated based on the number of objects. If a value is specified for both Dock Fill Rows and Doc Fill Columns, the row value will be used and the number of columns will be calculated based on the number of objects. If both are set to 0, the default will be used.

Objects are positioned left to right, top to bottom according to the order in which objects were added to the display.

Doc Fill Columns

 


The following describes the Background Properties dialog commands:
 
Command Description
OK Applies values and closes the dialog.
Apply Applies values without closing the dialog.
Use Defaults Resets all fields to default values (once Apply or OK is selected).
Cancel Closes the dialog with last values applied.

 

     
 

 
Enterprise RTView contains components licensed under the Apache License Version 2.0.

 

Treemap Algorithms v1.0  is used without modifications and licensed by MPL Version 1.1. Copyright © 2001 University of Maryland, College Park, MD

 

Datejs is licensed under MIT. Copyright © Coolite Inc.

 

JCalendar 1.3.2 is licensed under LGPL. Copyright © Kai Toedter.

 

jQuery is licensed under MIT. Copyright © John Resig,

 
JMS, JMX and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. They are mentioned in this document for identification purposes only. 

 
SL, SL-GMS, GMS, Enterprise RTView, SL Corporation, and the SL logo are trademarks or registered trademarks of Sherrill-Lubinski Corporation in the United States and other countries. Copyright © 1998-2009 Sherrill-Lubinski Corporation. All Rights Reserved.