Remarks
Members
Constructors
Parameters
Properties
Gets the canvas instance this instance is managing.
Defined in
ModelManager.canvasComponentGets or sets the style to use for the edge label focus rendering.
Gets or sets the style to use for the edge focus rendering.
Gets or sets whether this ModelManager<T> is enabled.
If the manager is disabled, it will not install the IRenderTreeElements into the associated CanvasComponent.
The default is true, i.e. this manager is enabled by default.
Property Value
true if enabled; false otherwise.Defined in
ModelManager.enabledGets or sets a value indicating whether the container this manager is installed in currently is focused.
Property Value
true if the container is currently focused; false otherwise. Depending on the showFocusPolicy, this will influence the visibility of the rendering.Defined in
FocusIndicatorManager.focusedGets or sets the focused item, updates the canvas, and fires the corresponding event.
Property Value
null, when no item has or should have focus.See Also
Developer's Guide
Defined in
FocusIndicatorManager.focusedItemGets or sets the style to use for the node label focus rendering.
Gets or sets the policy for when the focus indicator should be visible.
Property Value
See Also
Developer's Guide
Defined in
FocusIndicatorManager.showFocusPolicyGets or sets a value that determines whether the user is currently using the keyboard to control the focusedItem.
true, too, in order for the indication to be displayed. This property gets automatically reset to false, when the user interacts with a pointer device and pointer-down is triggered.See Also
Developer's Guide
API
- showFocusPolicy
Defined in
FocusIndicatorManager.usingKeyboardMethods
Overridden to do nothing.
Parameters
- item: IModelItem
- The item to add, which is ignored in this implementation.
Return Value
- IRenderTreeElement
- Always returns
nullas no action is performed.
Defined in
FocusIndicatorManager.addItemCalled by installItem to retrieve the renderer for a given item.
Parameters
- item: IModelItem
- The item to find a renderer for.
Return Value
- IObjectRenderer<IModelItem>
- A renderer or
null
Defined in
FocusIndicatorManager.getRendererCalled by installItem to retrieve the render tree group for a given item.
Parameters
- item: IModelItem
- The item to find a render tree group for.
Return Value
- IRenderTreeGroup
- An IRenderTreeGroup or
null
Defined in
FocusIndicatorManager.getRenderTreeGroupInstalls this instance in the given CanvasComponent instance.
If this manager instance is set to a CanvasComponent instance using one of the properties focusIndicatorManager, selectionIndicatorManager, or highlightIndicatorManager, this method is called automatically.
In all other cases, this method must be called before using this manager instance.
Overriders must either call the base implementation or set the canvasComponent.
Parameters
- canvas: CanvasComponent
- The CanvasComponent instance to install this manager instance in.
Overrides
FocusIndicatorManager.installInstalls a member of the collection into the canvas using the IObjectRenderer<T> which is returned by getRenderer.
Parameters
- item: IModelItem
- The member to install.
Return Value
- IRenderTreeElement
- The new render tree element or
nullif the item was not installed.
Defined in
ModelManager.installItemCalled when this manager gets disabled.
Defined in
FocusIndicatorManager.onDisabledCalled when this manager gets enabled.
Defined in
FocusIndicatorManager.onEnabledCalled when the focused property has changed.
See Also
API
- focused
Defined in
FocusIndicatorManager.onFocusedChangedParameters
- evt: any
- a description of the event
See Also
Called when the usingKeyboard property has changed.
See Also
Overridden to do nothing.
Uninstalls this instance from the given CanvasComponent instance.
If this manager instance has been set to a CanvasComponent instance using one of the properties focusIndicatorManager, selectionIndicatorManager, or highlightIndicatorManager, this method is called automatically when the property value is changed.
In all other cases, this method must be called when this manager instance is not used anymore.
Overriders must either call the base implementation or set the canvasComponent to null.
Parameters
- canvas: CanvasComponent
- The CanvasComponent to remove this manager instance from.
Overrides
FocusIndicatorManager.uninstallRemoves the given IRenderTreeElement.
Parameters
- renderTreeElement: IRenderTreeElement
- The render tree element that has been associated with the renderer.
See Also
API
- remove