documentationfor yFiles for HTML 2.6

Usages of IPortStyle

Properties

portStylein DefaultFolderNodeConverterGets or sets the IPortStyle to use for the ports at the collapsed group node that represent the ports of the master group node in the collapsed state.
sourcePortStylein FoldingEdgeConverterBaseGets or sets the IPortStyle to use for the folding source port.
targetPortStylein FoldingEdgeConverterBaseGets or sets the IPortStyle to use for the folding target port.
stylein FoldingPortStateGets or sets the style of this port.
stylein IPortGets the style that is responsible for the visual representation of this port in a CanvasComponent.
stylein IPortDefaultsGets or sets the style to use for ports.
stylein PortDefaults
stylein SimplePortGets or sets the style that is responsible for the visual representation of this port in a CanvasComponent.
stylein DefaultPortCandidateGets or sets the style to use for the newly created port.
stylein PortCandidateProviderBaseGets or sets the style to use for the creation of the port in createInstance.
wrappedin IndicatorPortStyleDecoratorGets the wrapped port style.
portStylein GraphFocusIndicatorManagerGets or sets the style to use for the port focus rendering.
portStylein GraphHighlightIndicatorManagerGets or sets the style to use for the port highlight rendering.
portStylein GraphSelectionIndicatorManagerGets or sets the style to use for the port selection rendering.
portStylein PortStyleDecorationInstallerGets or sets the style to use for the rendering.

Method Parameters

DefaultFolderNodeConverter ()in DefaultFolderNodeConverterInitializes a new instance of this class with default values.
DefaultFoldingEdgeConverter ()in DefaultFoldingEdgeConverterInitializes a new instance of this class with default values.
addPort (IPortOwner, IPortLocationModelParameter?, IPortStyle?, Object?)in DefaultGraphAdd a port to the given port owner using the coordinates as the new initial position of the port anchor.
createUndoUnitForPortStyleChange (IPort, IPortStyle)in DefaultGraphCreates the undo unit for changing the style of the given port.
onChangingPortStyle (IPort, IPortStyle)in DefaultGraphCalled before a port style is being changed.
onPortStyleChanged (IPort, IPortStyle)in DefaultGraphCalled after a port style has changed.
setStyle (IPort, IPortStyle)in DefaultGraph
addPort (IPortOwner, IPortLocationModelParameter?, IPortStyle?, Object?)in GraphWrapperBase
onPortStyleChanged (ItemChangedEventArgs<IPort,IPortStyle>)in GraphWrapperBaseRaises the PortStyleChanged event
setStyle (IPort, IPortStyle)in GraphWrapperBase
addPort (IPortOwner, IPortLocationModelParameter?, IPortStyle?, Object?)in IGraphAdd a port to the given port owner using the location model parameter, style and tag.
addPortAt (IPortOwner, Point, IPortStyle?, Object?)in IGraphAdd a port to the given port owner using the absolute coordinates as the new initial position of the port anchor.
setStyle (IPort, IPortStyle)in IGraphAssigns the given style instance by reference to the port.
MergingFoldingEdgeConverter ()in MergingFoldingEdgeConverterInitializes a new instance of the MergingFoldingEdgeConverter class.
PortDefaults ()in PortDefaultsInitializes a new instance of the PortDefaults class using a trivial location model parameter.
SimplePort (IPortOwner?, IPortLocationModelParameter?, )in SimplePortCreates a port with a default lookup using the given location and owner.
createInstance (IInputModeContext, IGraph, IPortLocationModelParameter, IPortStyle, Object)in DefaultPortCandidateActually creates the IPort instance.
getBoundsProvider (IPort, IPortStyle)in IPortStyleRendererGets an implementation of the IBoundsProvider interface that can handle the provided port and its associated style.
getContext (IPort, IPortStyle)in IPortStyleRendererGets a temporary context instance that can be used to query additional information for the port's style.
getHitTestable (IPort, IPortStyle)in IPortStyleRendererGets an implementation of the IHitTestable interface that can handle the provided port and its associated style.
getMarqueeTestable (IPort, IPortStyle)in IPortStyleRendererGets an implementation of the IMarqueeTestable interface that can handle the provided port and its associated style.
getVisibilityTestable (IPort, IPortStyle)in IPortStyleRendererGets an implementation of the IVisibilityTestable interface that can handle the provided port and its associated style.
getVisualCreator (IPort, IPortStyle)in IPortStyleRendererGets an implementation of the IVisualCreator interface that can handle the provided port and its associated style.
IndicatorPortStyleDecorator (IPortStyle?, )in IndicatorPortStyleDecoratorCreates a new instance wrapping the provided style.
getBoundsProvider (IPort, IPortStyle)in TemplatePortStyleRendererConfigures the style and port parameters, calls configure and returns this.
getContext (IPort, IPortStyle)in TemplatePortStyleRendererConfigures the style and port parameters, does not call configure and returns this.
getHitTestable (IPort, IPortStyle)in TemplatePortStyleRendererConfigures the style and port parameters, calls configure and returns this.
getMarqueeTestable (IPort, IPortStyle)in TemplatePortStyleRendererConfigures the style and port parameters, calls configure and returns this.
getVisibilityTestable (IPort, IPortStyle)in TemplatePortStyleRendererConfigures the style and port parameters, does not call configure and returns this.
getVisualCreator (IPort, IPortStyle)in TemplatePortStyleRendererConfigures the style and port parameters, calls configure and returns this.
getBoundsProvider (IPort, IPortStyle)in VoidPortStyleRendererYields the EMPTY that will return empty bounds.
getContext (IPort, IPortStyle)in VoidPortStyleRendererYields a lookup that will only return NEVER if an ILassoTestable is queried.
getHitTestable (IPort, IPortStyle)in VoidPortStyleRendererYields the NEVER that will always report misses.
getMarqueeTestable (IPort, IPortStyle)in VoidPortStyleRendererYields the NEVER that will always report misses.
getVisibilityTestable (IPort, IPortStyle)in VoidPortStyleRendererYields the NEVER that will always claim invisibility.
getVisualCreator (IPort, IPortStyle)in VoidPortStyleRendererYields the INSTANCE that will do nothing.
GraphFocusIndicatorManager ()in GraphFocusIndicatorManagerCreates a new instance.
GraphHighlightIndicatorManager ()in GraphHighlightIndicatorManagerCreates a new instance.
GraphSelectionIndicatorManager ()in GraphSelectionIndicatorManagerCreates a new instance that for all selected items in the model dynamically installs a selection indicator visualization.

Implementing Types

IndicatorPortStyleDecoratorAllows to scale the visualization of an IPortStyle depending on the zoom level.
NodeStylePortStyleAdapterA port style decorator that uses a node style instance to render the port.
PortStyleBaseAn abstract base class that makes it possible to easily implement a custom IPortStyle.
TemplatePortStyleBaseBase class for port styles that use a SVG snippet as template for the visualization of IPorts.
VoidPortStyleA void implementation of a port style that does nothing and behaves like an invisible style.