Class AttributeListBuilder.BuilderNode
java.lang.Object
de.xima.fc.common.graphdot.AttributeListBuilder<NodeAttributeList, AttributeListBuilder.BuilderNode>
de.xima.fc.common.graphdot.AttributeListBuilder.BuilderNode
- Enclosing class:
AttributeListBuilder<A extends IGraphDotAttributeList, Self extends AttributeListBuilder<A,Self>>
public static final class AttributeListBuilder.BuilderNode
extends AttributeListBuilder<NodeAttributeList, AttributeListBuilder.BuilderNode>
A builder for an
NodeAttributeList.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Nested Class Summary
Nested classes/interfaces inherited from class AttributeListBuilder
AttributeListBuilder.AttributeArrowHead, AttributeListBuilder.AttributeArrowSize, AttributeListBuilder.AttributeArrowTail, AttributeListBuilder.AttributeBgColor, AttributeListBuilder.AttributeClass, AttributeListBuilder.AttributeCluster, AttributeListBuilder.AttributeClusterRank, AttributeListBuilder.AttributeColor, AttributeListBuilder.AttributeConstraint, AttributeListBuilder.AttributeDirection, AttributeListBuilder.AttributeEdgeStyle, AttributeListBuilder.AttributeEdgeTooltip, AttributeListBuilder.AttributeExteriorLabelPosition, AttributeListBuilder.AttributeExternalLabel, AttributeListBuilder.AttributeFillColor, AttributeListBuilder.AttributeFontColor, AttributeListBuilder.AttributeFontName, AttributeListBuilder.AttributeFontSize, AttributeListBuilder.AttributeGraphRoot, AttributeListBuilder.AttributeHeadLabel, AttributeListBuilder.AttributeHeadTooltip, AttributeListBuilder.AttributeHeight, AttributeListBuilder.AttributeLabel, AttributeListBuilder.AttributeLabelCenterPosition, AttributeListBuilder.AttributeLabelFontColor, AttributeListBuilder.AttributeLabelLocation, AttributeListBuilder.AttributeLabelTooltip, AttributeListBuilder.AttributeMargin, AttributeListBuilder.AttributeNodeRoot, AttributeListBuilder.AttributeNodeSeparation, AttributeListBuilder.AttributeNodeStyle, AttributeListBuilder.AttributeOrdering, AttributeListBuilder.AttributePenColor, AttributeListBuilder.AttributePenWidth, AttributeListBuilder.AttributePeripheries, AttributeListBuilder.AttributeRankDirection, AttributeListBuilder.AttributeRankSeparation, AttributeListBuilder.AttributeShape, AttributeListBuilder.AttributeShowBoxes, AttributeListBuilder.AttributeSubGraphStyle, AttributeListBuilder.AttributeTailLabel, AttributeListBuilder.AttributeTailTooltip, AttributeListBuilder.AttributeTooltip, AttributeListBuilder.AttributeTrueColor, AttributeListBuilder.AttributeWidth, AttributeListBuilder.BuilderEdge, AttributeListBuilder.BuilderGraph, AttributeListBuilder.BuilderNode, AttributeListBuilder.BuilderSubGraph, AttributeListBuilder.IMixinColor<A>, AttributeListBuilder.IMixinColorList<A>, AttributeListBuilder.IMixinLabelString<A>, AttributeListBuilder.IMixinLength<L,A>, AttributeListBuilder.IMixinLengthInches<A>, AttributeListBuilder.IMixinLengthList<L, A>, AttributeListBuilder.IMixinLengthListInches<A>, AttributeListBuilder.IMixinLengthPoints<A>, AttributeListBuilder.IMixinPoint<A>, AttributeListBuilder.IMixinStyleList<X, A>, AttributeListBuilder.ITypedAttribute<T>, AttributeListBuilder.ITypedAttributeDescriptor<T, A>, AttributeListBuilder.StandardAttribute -
Method Summary
Modifier and TypeMethodDescriptionattr(AttributeListBuilder.ITypedAttribute.Node<T> attribute) Sets a typed attribute.attr(AttributeListBuilder.ITypedAttributeDescriptor.Node<T, ? extends AttributeListBuilder.ITypedAttribute.Node<T>> type, T value) Sets a typed attribute.protected AttributeListBuilder.BuilderNodeself()
-
Method Details
-
attr
public <T> AttributeListBuilder.BuilderNode attr(AttributeListBuilder.ITypedAttribute.Node<T> attribute) Sets a typed attribute.- Type Parameters:
T- Type of the attribute value.- Parameters:
attribute- Attribute to set.- Returns:
- This builder instance for chaining method calls.
-
attr
public <T> AttributeListBuilder.BuilderNode attr(AttributeListBuilder.ITypedAttributeDescriptor.Node<T, ? extends AttributeListBuilder.ITypedAttribute.Node<T>> type, T value) Sets a typed attribute.- Type Parameters:
T- Type of the attribute value.- Parameters:
type- Type of the attribute.value- Value of the attribute.- Returns:
- This builder instance for chaining method calls.
-
self
- Specified by:
selfin classAttributeListBuilder<NodeAttributeList, AttributeListBuilder.BuilderNode>
-