Package | Description |
---|---|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
Modifier and Type | Method and Description |
---|---|
protected TemplatePortStyle |
TemplatePortStyleRenderer.getStyle()
Gets the currently configured style.
|
Modifier and Type | Method and Description |
---|---|
protected GeneralPath |
TemplatePortStyleRenderer.getNormalizedOutline(TemplatePortStyle style)
Gets the normalized outline by delegating to
NormalizedOutline . |
SizeD |
TemplatePortStyleRenderer.getPreferredSize(IRenderContext context,
IPort port,
TemplatePortStyle style)
Calculates the preferred size for the given port and style.
|
protected void |
PortTemplate.initializeFrom(IRenderContext ctx,
IPort port,
TemplatePortStyle style)
Initializes all properties with the given
IPort and style information. |
protected Object |
TemplatePortStyleRenderer.lookupContext(TemplatePortStyle style,
IPort port,
Class type)
Delegates to the
TemplatePortStyle 's
ContextLookup . |
protected void |
TemplatePortStyleRenderer.setStyle(TemplatePortStyle value)
Sets the currently configured style.
|
protected void |
PortTemplate.updateContent(TemplatePortStyle style,
IPort port)
Updates the content object the user has specified.
|
protected void |
PortTemplate.updateFor(IRenderContext ctx,
IPort port,
TemplatePortStyle style)
Updates all properties with the given
IPort and style information. |