Package | com.yworks.graph.model |
Interface | public interface IChangeDummyNodeAppearanceCallback extends IChangeLabeledItemAppearanceCallback |
IDummyNodeConverter
's
changeDummyNodeAppearance()
and createDummyNodeAppearance()
methods.
This interface can be used by the IDummyNodeConverter
implementations to adjust
the appearance of the DummyNodeId
in a IFoldedGraph
view.
Modifying the FoldingManager.getViewState(DummyNodeId)
of a dummy node
through this interface will prevent the undo queue from being corrupted and is the only way of modifying
a dummy node that is not currently being displayed in any view.
See also
Method | Defined By | ||
---|---|---|---|
addLabel(labelModelParameter:ILabelModelParameter, style:ILabelStyle, text:String, preferredWidth:Number, preferredHeight:Number):ILabel
Performs the IGraph#addLabel() operation for the item
that this callback has been configured for. | IChangeLabeledItemAppearanceCallback | ||
clearLabels():void
Convenience method that removes all labels from the item
that this callback has been configured for. | IChangeLabeledItemAppearanceCallback | ||
removeLabel(label:ILabel):void
Performs the IGraph#removeLabel() operation for the item
that this callback has been configured for. | IChangeLabeledItemAppearanceCallback | ||
setBounds(x:Number, y:Number, width:Number, height:Number):void
Performs the IGraph#setBounds() operation for the node
that this callback has been configured for. | IChangeDummyNodeAppearanceCallback | ||
Performs the IGraph#setLabelModelParameter() operation for the item
that this callback has been configured for. | IChangeLabeledItemAppearanceCallback | ||
Performs the IGraph#setLabelStyle() operation for the provided label
that this callback has been configured for. | IChangeLabeledItemAppearanceCallback | ||
setLabelTag(label:ILabel, newTag:Object):void
Sets the tag for the label of the item that that this callback has been configured for. | IChangeLabeledItemAppearanceCallback | ||
setLabelText(label:ILabel, text:String):void
Performs the IGraph#setLabelText() operation for the item
that this callback has been configured for. | IChangeLabeledItemAppearanceCallback | ||
setNodeStyle(nodeStyle:INodeStyle):void
Performs the IGraph#setNodeStyle() operation for the node
that this callback has been configured for. | IChangeDummyNodeAppearanceCallback | ||
Performs the IGraph.setLocationModelParameter operation for port at the node
that this callback has been configured for. | IChangeDummyNodeAppearanceCallback | ||
Performs the IGraph#setPortStyle() operation for port at the node
that this callback has been configured for. | IChangeDummyNodeAppearanceCallback | ||
setPreferredSize(label:ILabel, width:Number, height:Number):void
Performs the IGraph#setPreferredSize() operation for the item
that this callback has been configured for. | IChangeLabeledItemAppearanceCallback |
setBounds | () | method |
public function setBounds(x:Number, y:Number, width:Number, height:Number):void
Performs the IGraph#setBounds()
operation for the node
that this callback has been configured for.
Parameters
x:Number — The new x coordinate of the node bound's upper left corner.
| |
y:Number — The new width of the node.
| |
width:Number — The new height of the node.
| |
height:Number — The new y coordinate of the node bound's upper left corner.
|
See also
setNodeStyle | () | method |
public function setNodeStyle(nodeStyle:INodeStyle):void
Performs the IGraph#setNodeStyle()
operation for the node
that this callback has been configured for.
Parameters
nodeStyle:INodeStyle — The style to assign.
|
See also
setPortLocationModelParameter | () | method |
public function setPortLocationModelParameter(port:IPort, locationParameter:IPortLocationModelParameter):void
Performs the IGraph.setLocationModelParameter
operation for port at the node
that this callback has been configured for.
Parameters
port:IPort — The port at the node to assign the style.
| |
locationParameter:IPortLocationModelParameter — The new location parameter for the port.
|
setPortStyle | () | method |
public function setPortStyle(port:IPort, portStyle:IPortStyle):void
Performs the IGraph#setPortStyle()
operation for port at the node
that this callback has been configured for.
Parameters
port:IPort — The port at the node to assign the style.
| |
portStyle:IPortStyle — The style to assign.
|
See also