IlvObject | +--IlvPropertyStateManager | +--IlvFacesProxy | +--IlvSizedViewProxy | +--IlvBasicViewProxy | +--IlvFacesViewProxy | +--IlvFacesTiledViewProxy | +--IlvDiagrammerTiledViewProxy
IlvDiagrammerTiledViewProxy
is an extension of the
IlvFacesTiledViewProxy
for the JViews Diagrammer module.Constructor Attributes | Constructor Name and Description |
---|---|
IlvDiagrammerTiledViewProxy(clientId, refNodeId, width, height, tileSize, editable)
|
Method Attributes | Method Name and Description |
---|---|
createLink(x, y, tag, properties, tag, properties)
Creates a link on the diagram from (sourceX, sourceY) position to
(destX, destY) position, providing that nodes existing at that two positions.
|
|
createNode(x, y, tag, properties)
Creates a node on the diagram at the given (x, y) position.
|
|
Returns the data source identifier.
|
|
Returns the diagrammer project URL, if set.
|
|
Returns the
IlvSelectionManager for this view. |
|
Returns the style sheets set on this component.
|
|
setCreateLinkInteractor(tag, oneshot, properties)
Sets an interactor on the view that allows you to create a link on the diagram
with the given tag.
|
|
setCreateNodeInteractor(tag, oneshot, properties)
Sets an interactor on the view that allows you to create a node on the diagram
with the given tag.
|
|
setDataSourceId(dataSourceId, update)
Sets the data source identifier.
|
|
setProject(project, update, showAll)
Sets the JViews Diagrammer Designer project URL.
|
|
setStyleSheets(css, update)
Sets the style sheets to apply to the diagrammer.
|
getMessageBox, getServletClass, init, setMessageBox, setServletClass |
afterLayoutHandler, getAbsoluteBounds, getBounds, getCreationSize, getHeight, getMinimumSize, getWidth, positionAfterLayout, registerResizeListener, resizeAfterLayout, setMinimumSize |
dispose, getAbsoluteId, getJViewsDHTMLObject, getNodeCoords, getObject, getReferenceNode, setAbsoluteId, setJViewsDHTMLObject, setObject, setPageIdSupport, setReferenceNode, toHTML |
getClientId, notify |
getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
<jvdf:diagrammerView/>
is not editable.
var sourceX, sourceY; function onmousedown(e) { // store position var e = diag_proxy.getObject().getGlassView().enhanceEvent(e); sourceX = e.mouseX; sourceY = e.mouseY; } function onmouseclicked(e) { var e = diag_proxy.getObject().getGlassView().enhanceEvent(e); diag_proxy.createNode(sourceX, sourceY, e.mouseX, e.mouseY, "tag"); }
{propertyName1:"propertyValue1", propertyName2:"propertyValue2"}
).
This parameter is optional.
<jvdf:diagrammerView/>
is not editable.
function onmouseclicked(e) { var e = diag_proxy.getObject().getGlassView().enhanceEvent(e); diag_proxy.createNode(e.mouseX, e.mouseY, "tag"); }
{propertyName1:"propertyValue1", propertyName2:"propertyValue2"}
).
This parameter is optional.
IlvSelectionManager
for this view.
This manager allows to prevent an image query on each selection. It queries the server for selection updates and displays rectangles to represent the selection.
The most common use of this method are:
The selection manager is lazily created. As a consequence, the current server selection is not shown on the client before a first call to this method.
<jvdf:diagrammerView/>
is not editable.
true
the previous interactor will be pushed back
once a node has been created. Otherwise the interactor will not
be removed until another interactor is set by IlvFacesViewProxy#setInteractor().
{propertyName1:"propertyValue1", propertyName2:"propertyValue2"}
).
This parameter is optional.
<jvdf:diagrammerView/>
is not editable.
true
, the previous interactor will be pushed back
once a node has been created. Otherwise the interactor will not
be removed until another interactor is set by IlvFacesViewProxy#setInteractor().
{propertyName1:"propertyValue1", propertyName2:"propertyValue2"}
).
This parameter is optional.
update
parameter is set to true
.