Selecting and resizing nodes in an IlvSDMEngine object

Article ID: 2270
Last updated: 29 May, 2018
Article ID: 2270
Last updated: 29 May, 2018
Revision: 3
Views: 432
Posted: 04 Mar, 2011
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How to select and resize nodes in an IlvSDMEngine object?

Answer

By default, resize handles do not appear when you select objects in an IlvSDMEngine object. In this situation, a selected object is rendered with the style defined for the selected status.

You can change this behavior by setting the highlightingSelection property in the .css file from true (its default value) to false, like this:

SDM {
...
highlightingSelection : "false";
}

Now, when you click on a node in an IlvSDMEngine object, the handles become visible at selection so that you can resize the node. The documentation of the IlvSDMEngine.setHighlightingSelection method describes this in detail.

Note that the new size of the object will not be saved automatically to the data model. If you want to save the new size, you can add a listener of type ManagerContentChangedListener to the grapher and save the new size directly to the data model.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2270
Last updated: 29 May, 2018
Revision: 3
Views: 432
Posted: 04 Mar, 2011 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category