public class IlvInteractorRenderer extends IlvFilterSDMRenderer
IlvInteractorRenderer
is a filtering renderer that puts an object interactor
on every graphic object representing a node or a link of
the data model.
This class is mostly used as a base class for other renderers that set built-in interactors on nodes and links.
The interactor renderer can also be used as-is. For
this, you must specify the class of the object interactor
that you want to be set on the objects. To do so, you use
the interactor
property or the Interactor
rendering property. For example:
SDM { Interactor : "true"; } Interactor { interactor : "mypackage.MyInteractor"; } node[special="true"] { Interactor : "mypackage.MySpecialInteractor"; }
If the Interactor
rendering property is set to
an empty string, no interactor will be set on the object.
Normally, Perforce JViews never calls object interactors when a view
interactor is active on a manager view. To overcome this, the
interactor renderer provides a "shortcut" mechanism that
propagates certain types of events to the object interactor,
even if a view interactor is active. See #acceptShortcut
.
CSS example:
ilvInteractorRenderer {
class : "ilog.views.sdm.renderer.IlvInteractorRenderer";
alias : "<value>";
interactor : "<value>";
parameter : "<value>";
processMouseMoveEvents : "false";
}
Modifier and Type | Property and Description |
---|---|
java.lang.String |
alias
Sets the alias of this renderer. |
java.lang.String |
class
Default constructor. |
java.lang.String |
interactor
Changes the interactor that will be put on the graphic objects created by the filtered renderer. |
java.lang.String |
parameter
This method calls #setInteractor . |
boolean |
processMouseMoveEvents
Sets the processMouseMoveEvents to set. |
public java.lang.String class
class : "ilog.views.sdm.renderer.IlvInteractorRenderer";
public java.lang.String alias
SubGraph
or GraphLayout
.
alias : "<value>";
public java.lang.String interactor
interactor : "<value>";
public java.lang.String parameter
#setInteractor
. So, you can
simply customize the interactor renderer as follows:
SDM { Interactor : "ilog.views.objectinteractor.IlvButtonInteractor"; }CSS example:
parameter : "<value>";
public boolean processMouseMoveEvents
processMouseMoveEvents : "false";
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.