IlvObject
|
+--IlvInteractor
|
+--IlvMakeObjectInteractor
IlvView.| Constructor Attributes | Constructor Name and Description |
|---|---|
|
IlvMakeObjectInteractor(oncompleted, action)
|
| Method Attributes | Method Name and Description |
|---|---|
|
Returns whether the interactor will create link
objects or not.
|
|
|
setAdditionalParameters(args)
Sets additional parameters on interactor that will be sent to
the server when an object is created.
|
|
|
setCandidateChecker(checker)
Sets the JavaScript function used to check if there is a node under
the current mouse position.
|
|
|
setLinkMode(value)
Sets whether the interactor will create link
objects or not.
|
|
|
setOnCompleted(oncompleted)
Sets the callback function called when the interaction
is completed.
|
|
|
setProperties(properties)
Sets additional properties to be set on the created object.
|
| getCursor, getMenuModelId, getMessage, getView, setCursor, setMenuModelId, setMessage, setView |
| dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
"node" if a node creation action has occurred"link" if a link creation action has occurred"abort" if the user has aborted the action (press ESC)this object makes reference to the IlvMakeObjectInteractor
instance.
"createObject".
In JViews Diagrammer, this action can be managed on the server by the
IlvDiagrammerCreateObjectListener server-side action.
The action will receive the following parameters:
"true" if creating a node object, "false" if creating a link objectproperties parameter of the request as comma
separated list of key, value pairs.
false.
Array of
parameters or an enumeration of these parameters.
function(event) {
...
return -1, 0, or 1;
}
The event is the current mouse event. When this function
is invoked, the this will be an IlvMakeObjectInteractor;
This function must return one of the 3 values: 0 means there is nothing under the
mouse; 1 means there is a candidate under the mouse; and -1 means that
there is an object under the mouse but it is not a candidate.
"node" if a node creation action has occurred"link" if a link creation action has occurred"abort" if the user has aborted the action (press ESC)this object will make reference to the IlvMakeObjectInteractor
instance.
{propertyName1:"propertyValue1", propertyName2:"propertyValue2"}).