Interface AttributeListBuilder.IMixinStyleList<X extends IStyle, A extends AttributeListBuilder.ITypedAttribute<StyleList<X>>>

Type Parameters:
X - Type of the style.
A - Type of the elements on which to attribute is valid.
All Superinterfaces:
AttributeListBuilder.ITypedAttributeDescriptor<StyleList<X>, A>
All Known Implementing Classes:
AttributeListBuilder.AttributeEdgeStyle, AttributeListBuilder.AttributeNodeStyle, AttributeListBuilder.AttributeSubGraphStyle
Enclosing class:
AttributeListBuilder<A extends IGraphDotAttributeList, Self extends AttributeListBuilder<A,Self>>

public static interface AttributeListBuilder.IMixinStyleList<X extends IStyle, A extends AttributeListBuilder.ITypedAttribute<StyleList<X>>> extends AttributeListBuilder.ITypedAttributeDescriptor<StyleList<X>, A>
Mixin for attributes that accept a style list.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • of

      default A of(Iterable<X> styles)
      Uses the given list of styles.
      Parameters:
      styles - Styles to use.
      Returns:
      A style attribute with the given styles.
    • of

      default A of(X... styles)
      Uses the given list of styles.
      Parameters:
      styles - Styles to use.
      Returns:
      A style attribute with the given styles.