Interface AttributeListBuilder.IMixinLabelString<A extends AttributeListBuilder.ITypedAttribute<LabelString>>

Type Parameters:
A - Type of the elements on which to attribute is valid.
All Superinterfaces:
AttributeListBuilder.ITypedAttributeDescriptor<LabelString, A>
All Known Implementing Classes:
AttributeListBuilder.AttributeExternalLabel, AttributeListBuilder.AttributeHeadLabel, AttributeListBuilder.AttributeLabel, AttributeListBuilder.AttributeTailLabel
Enclosing class:
AttributeListBuilder<A extends IGraphDotAttributeList, Self extends AttributeListBuilder<A,Self>>

public static interface AttributeListBuilder.IMixinLabelString<A extends AttributeListBuilder.ITypedAttribute<LabelString>> extends AttributeListBuilder.ITypedAttributeDescriptor<LabelString, A>
Mixin for attributes that accept a label string.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • html

      default A html(String htmlLabel)
      Uses the given HTML label
      Parameters:
      htmlLabel - HTML content to use.
      Returns:
      An attribute with the given HTML label.
    • plain

      default A plain(String plainTextLabel)
      Uses the given plain text label
      Parameters:
      plainTextLabel - Plain text label to use.
      Returns:
      An attribute with the given plain text label.