MindFusion.Java Package Programmer's Guide
DiagramView.cutToClipboard Method ()
See Also
 






Cuts the currently selected items to the system clipboard.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public boolean cutToClipboard ()

 Return Value

true if items are successfully copied to clipboard; otherwise, false.

 Remarks

Call this method when writing message handler for the Cut command from the Edit menu of your application. MindFusion.Diagramming does not provide keyboard interface for clipboard operations, so you might assign a CTRL+X shortcut to this command.

The method deletes all selected items after copying them to clipboard. That operation can be undone in the sense that deleted items are restored by calling UndoManager.undo; however the clipboard data is not restored and the items remain in the clipboard available for further pasting.

 See Also

cutToClipboard Method Overload List
DiagramView Members
DiagramView Class
com.mindfusion.diagramming Namespace