documentationfor yFiles for HTML 3.0.0.3

Usages of IObjectRenderer

Properties

portCandidateRendererin CreateEdgeInputModeGets or sets the IObjectRenderer<PortCandidateRenderTag> that visualizes IPortCandidates while creating edges.
handlesRendererin HandleInputModeGets or sets the IObjectRenderer<HandlesRenderTag> that visualizes this input mode's handles.
candidateRendererin LabelPositionHandlerGets or sets the IObjectRenderer<LabelCandidateRenderTag> that visualizes label candidates while moving labels.
finishRegionRendererin LassoSelectionInputModeGets or sets the IObjectRenderer<LassoPathFinishRegionRenderTag> that visualizes the region around the startLocation where the lasso may be finished.
marqueeRendererin MarqueeSelectionInputModeGets or sets the IObjectRenderer<MarqueeRenderTag> that visualizes the marquee selection rectangle.
viewportRectangleRendererin OverviewInputModeGets or sets the IObjectRenderer<IRectangle> that visualizes the viewport rectangle.
portCandidateRendererin PortRelocationHandleGets or sets the IObjectRenderer<PortCandidateRenderTag> that visualizes the IPortCandidates.
portCandidateRendererin PortRelocationHandleProviderGets or sets the IObjectRenderer<PortCandidateRenderTag> that visualizes the IPortCandidates.
objectRendererin SnapResultGets or sets the IObjectRenderer<SnapResult> instance that is used to create an IVisualCreator and with it a Visual for this result.
edgeLabelRendererin GraphModelManagerGets or sets the IObjectRenderer<ILabel> instance used for installing an ILabel of an IEdge into the canvas.
edgeRendererin GraphModelManagerGets or sets the IObjectRenderer<IEdge> instance used for installing an IEdge into the canvas.
nodeLabelRendererin GraphModelManagerGets or sets the IObjectRenderer<ILabel> instance used for installing an ILabel of an INode into the canvas.
nodeRendererin GraphModelManagerGets or sets the IObjectRenderer<INode> instance used for installing an INode into the canvas.
portLabelRendererin GraphModelManagerGets or sets the IObjectRenderer<ILabel> instance used for installing an ILabel of an IPort into the canvas.
portRendererin GraphModelManagerGets or sets the IObjectRenderer<IPort> instance used for installing an IPort into the canvas.
graphOverviewRendererin GraphOverviewComponentGets or sets the IObjectRenderer<IGraph> that is used to render the overview.
rendererin ItemModelManagerGets or sets the renderer used by install when an item is added to a render tree group.

Fields

DEFAULT_EDGE_RENDERERin GraphModelManagerThe immutable instance of the default IObjectRenderer<IEdge> for IEdges which simply defers to the edge's IEdgeStyle.
DEFAULT_LABEL_RENDERERin GraphModelManagerThe immutable instance of the default IObjectRenderer<ILabel> for ILabels which simply defers to the label's ILabelStyle.
DEFAULT_NODE_RENDERERin GraphModelManagerThe immutable instance of the default IObjectRenderer<INode> for INodes which simply defers to the node's INodeStyle.
DEFAULT_PORT_RENDERERin GraphModelManagerThe immutable instance of the default IObjectRenderer<IPort> for IPorts which simply defers to the port's IPortStyle.
LOOKUPin IObjectRendererA renderer that treats tag as an instance of ILookup to obtain suitable interface implementations.
VISUALin IObjectRendererA renderer that treats tag as Visual to use directly.
VISUAL_CREATORin IObjectRendererA renderer that treats tag as an instance of IVisualCreator.

Method Return Values

createSnapResultRenderer ()in SnapContextHelper method used by createSnapResultsModelManager to create the IObjectRenderer<SnapResult> for the SnapResult type.
getRenderer (T)in FocusIndicatorManagerCalled by installItem to retrieve the renderer for a given item.
getRenderer (T)in HighlightIndicatorManagerCalled by installItem to retrieve the renderer for a given item.
getRenderer (T)in ItemModelManagerReturns the IObjectRenderer<T> used to install the item in the canvas.
getRenderer (T)in ModelManagerCalled by installItem to retrieve the renderer for a given item.
getRenderer (T)in SelectionIndicatorManagerCalled by installItem to retrieve the renderer for a given item.

Method Parameters

CreateEdgeInputMode ()in CreateEdgeInputModeCreates a new instance that will use the IGraph from the parentInputModeContext to create edges in.
HandleInputMode ()in HandleInputModeCreates a new mode with no handles initially.
LassoSelectionInputMode ()in LassoSelectionInputModeCreates a new instance of the lasso selection mode.
MarqueeSelectionInputMode ()in MarqueeSelectionInputModeCreates a new instance of the marquee selection mode.
OverviewInputMode ()in OverviewInputModeCreates a new instance.
SnapResult (SnapConstraint, number, any?, IModelItem?, Point?, SnapReference?, IObjectRenderer<SnapResult>?)in SnapResultInitializes the tag, weight and constraint with the given values.
createCircleSnapResult (SnapConstraint, number, any, IModelItem, Point, SnapCircle, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult that snaps to a given circle.
createLineSnapResult (SnapConstraint, number, any, IModelItem, Point, SnapLine, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult which represents a SnapLine to which the current moved item will potentially snap.
createResizeSnapResult (SnapConstraint, number, any, IModelItem?, SnapSize?, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult which snaps to a given size through a resize operation.
createSnapResult (SnapConstraint, number, any?, IModelItem?, Point?, SnapReference?, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult using the given constraint.
createEdgeLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of edge labels.
createEdgeModelManager (IObjectRenderer<IEdge>, function(IEdge):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of edges.
createNodeLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of node labels.
createNodeModelManager (IObjectRenderer<INode>, function(INode):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of nodes.
createPortLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of port labels.
createPortModelManager (IObjectRenderer<IPort>, function(IPort):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of ports.
createElement (IRenderTreeGroup, TRenderTag, IObjectRenderer<TRenderTag>)in RenderTreeAdds a child element to the scene graph as a child of the parent group.

Implementing Types

HandlesRendererAn IObjectRenderer<HandlesRenderTag> that draws collections of IHandle instances in a CanvasComponent.
IStripeInputRendererThis interface allows to change the visualization of stripes for different input gestures.
IStripeLabelInputRendererThis interface allows to change the visualization of stripe labels for different input gestures.
GraphOverviewRendererAn IObjectRenderer<IGraph> for use in a CanvasComponent that renders an IGraph instance in an abstract, schematic overview style.
GridRendererRenders a grid, using various different styles and render technologies.
IFocusRendererAn interface for objects that render a visual focus indicator decoration of an item in the model displayed in a canvas.
IHighlightRendererAn interface for objects that render a visual representation of a highlight decoration of an item in the model displayed in a canvas.
ISelectionRendererAn interface for objects that render a visual representation of a selection decoration of an item in the model displayed in a canvas.
ObjectRendererBaseAn abstract base class for convenient implementation of IObjectRenderer<T>.
PortCandidateRendererAn IObjectRenderer<PortCandidateRenderTag> implementation that can be used to draw IPortCandidate instances in a CanvasComponent.