Java Data Sources > Working with the Server/Java Mapping > SDM (Stylable Data Mapper) > IlsRpSDMModel
 
IlsRpSDMModel
Description
The class IlsRpSDMModel is created whenever a representation of type IlsRpSDMModel is created by the generic protocol based on your view specification. Each IlsRpSDMModel is associated with a Java data source of type IlsSDMDataSource. This data source is notified when a creation, deletion, or update on this SDM occurs from the server.
SDM Model Representation Attributes
*styleSheets (string): Defines how to find the Cascading Style Sheet. The style sheets are a list of paths separated by commas.
*dragEnabled (boolean): Enables or disables the SDM graphic view as a source for drag-and-drop interactions.
*dropEnabled (boolean): Enables or disables the SDM graphic view as a target for drag-and-drop interactions.
*isLinkReconnectionEnabled (boolean): Enables or disables the interactive reconnection of links displayed in the SDM graphic view.
*antialiasing (boolean): Changes the anti-aliasing mode of the graphic view.
*autoFitToContents (boolean): Changes the autofit mode of the graphic view.
*doubleBuffering (boolean): Sets the graphic view in a double buffering mode.
*background (string): Changes the background of the graphic view. You can use a predefined string color (see java.awt.Color for color names).
*linkLayoutEnabled (boolean): Enables or disables the automatic layout of links.
*nodeLayoutEnabled (boolean): Enables or disables the automatic layout of nodes.
*interactor (string): Pushes an Rogue Wave JViews interactor in the SDM graphic view, such as ilog.views.interactor.IlvSelectInteractor.
SDM Model User-defined Properties
You can add your own SDM properties in the dynamic view specification. To handle these specific properties, you must derive the class IlsRpSDMModel or IlsSDMDS2IlvSDMViewAdapter, or define a new adapter strategy.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.