Packagecom.yworks.canvas.input
Interfacepublic interface IFocusPaintableInstaller
Implementors EdgeSelectionDisplayObjectCreator, OrientedRectangleFocusPaintable, RectangularFocusPaintable

An interface for objects that can install a visual representation of a focus indicator decoration of an item in the model displayed in a canvas.

See also

com.yworks.canvas.model.FocusPaintManager
com.yworks.graph.model.ISelectionPaintable


Public Methods
 MethodDefined By
  
installFocusPaintables(context:IInputModeContext, focusGroup:ICanvasObjectGroup, item:Object):Array
Creates and installs one or more canvas objects into the canvas that indicate the focus decoration for an item.
IFocusPaintableInstaller
Method Detail
installFocusPaintables()method
public function installFocusPaintables(context:IInputModeContext, focusGroup:ICanvasObjectGroup, item:Object):Array

Creates and installs one or more canvas objects into the canvas that indicate the focus decoration for an item.

Parameters

context:IInputModeContext — The context to add the IDisplayObjectCreator for the focus indicator.
 
focusGroup:ICanvasObjectGroup — The canvas object group to add the items to.
 
item:Object — The item to install the indicator for.

Returns
Array — An array of canvas objects this instance has installed into the CanvasComponent.

See also