Packagecom.yworks.canvas.model
Interfacepublic interface ICanvasGroupProvider

Simple query interface that returns an ICanvasObjectGroup for a given item.



Public Methods
 MethodDefined By
  
Returns the canvas object group for the given canvas component and item.
ICanvasGroupProvider
Method Detail
getCanvasObjectGroup()method
public function getCanvasObjectGroup(canvas:CanvasComponent, forItem:Object):ICanvasObjectGroup

Returns the canvas object group for the given canvas component and item.

Parameters

canvas:CanvasComponent — The canvas to return a group for.
 
forItem:Object — The item.

Returns
ICanvasObjectGroup — The canvas object group.