Before you can enable a custom interactor in the style
sheet, you must enable the Interactor
renderer.
You then specify the Interactor
graphic
property to override the default interactor for the objects in the
selector. The following code example shows how to specify an interactor
for switchable nodes.
Attaching a custom interactor to an object type in the
style sheet
SDM {
Interactor : true ;
}
...
node.switchable {
Interactor : ’SwitchInteractor’ ;
}
Note
A custom interactor such as SwitchInteractor will not
be available in the Designer.