Interface AttributeListBuilder.IMixinLengthList<L extends Length, A extends AttributeListBuilder.ITypedAttribute<LengthList<L>>>
- Type Parameters:
L- Type of then length values.A- Type of the elements on which to attribute is valid.
- All Superinterfaces:
AttributeListBuilder.ITypedAttributeDescriptor<LengthList<L>, A>
- All Known Subinterfaces:
AttributeListBuilder.IMixinLengthListInches<A>
- All Known Implementing Classes:
AttributeListBuilder.AttributeRankSeparation
- Enclosing class:
AttributeListBuilder<A extends IGraphDotAttributeList, Self extends AttributeListBuilder<A,Self>>
public static interface AttributeListBuilder.IMixinLengthList<L extends Length, A extends AttributeListBuilder.ITypedAttribute<LengthList<L>>>
extends AttributeListBuilder.ITypedAttributeDescriptor<LengthList<L>, A>
Mixin for attributes that accept a length with the some unit.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Nested Class Summary
Nested classes/interfaces inherited from interface AttributeListBuilder.ITypedAttributeDescriptor
AttributeListBuilder.ITypedAttributeDescriptor.E<T>, AttributeListBuilder.ITypedAttributeDescriptor.Edge<T,A>, AttributeListBuilder.ITypedAttributeDescriptor.G<T>, AttributeListBuilder.ITypedAttributeDescriptor.GE<T>, AttributeListBuilder.ITypedAttributeDescriptor.GN<T>, AttributeListBuilder.ITypedAttributeDescriptor.GNE<T>, AttributeListBuilder.ITypedAttributeDescriptor.Graph<T, A>, AttributeListBuilder.ITypedAttributeDescriptor.GS<T>, AttributeListBuilder.ITypedAttributeDescriptor.GSE<T>, AttributeListBuilder.ITypedAttributeDescriptor.GSN<T>, AttributeListBuilder.ITypedAttributeDescriptor.GSNE<T>, AttributeListBuilder.ITypedAttributeDescriptor.N<T>, AttributeListBuilder.ITypedAttributeDescriptor.NE<T>, AttributeListBuilder.ITypedAttributeDescriptor.Node<T, A>, AttributeListBuilder.ITypedAttributeDescriptor.S<T>, AttributeListBuilder.ITypedAttributeDescriptor.SE<T>, AttributeListBuilder.ITypedAttributeDescriptor.SN<T>, AttributeListBuilder.ITypedAttributeDescriptor.SNE<T>, AttributeListBuilder.ITypedAttributeDescriptor.SubGraph<T, A> -
Method Summary
Modifier and TypeMethodDescriptiondefault Acentimeters(double centimeters) Uses the given length in centimetersdefault Acentimeters(double... centimeters) Uses the given length in centimetersfactory()default Ainches(double inches) Uses the given length in inchesdefault Ainches(double... inches) Uses the given length in inchesdefault Amillimeters(double millimeters) Uses the given length in millimetersdefault Amillimeters(double... millimeters) Uses the given length in millimetersdefault Apoints(double points) Uses the given length in pointsdefault Apoints(double... points) Uses the given length in pointsMethods inherited from interface AttributeListBuilder.ITypedAttributeDescriptor
name, of
-
Method Details
-
centimeters
Uses the given length in centimeters- Parameters:
centimeters- Length in centimeters.- Returns:
- An attribute with the length in centimeters.
-
centimeters
Uses the given length in centimeters- Parameters:
centimeters- Length in centimeters.- Returns:
- An attribute with the length in centimeters.
-
factory
LengthList.LengthListFactory<L> factory()- Returns:
- Factory for creating lists of length in the target unit.
-
inches
Uses the given length in inches- Parameters:
inches- Length in inches- Returns:
- An attribute with the length in inches.
-
inches
Uses the given length in inches- Parameters:
inches- Length in inches- Returns:
- An attribute with the length in inches.
-
millimeters
Uses the given length in millimeters- Parameters:
millimeters- Length in millimeters.- Returns:
- An attribute with the length in millimeters.
-
millimeters
Uses the given length in millimeters- Parameters:
millimeters- Length in millimeters.- Returns:
- An attribute with the length in millimeters.
-
points
Uses the given length in points- Parameters:
points- Length in points.- Returns:
- An attribute with the length in points.
-
points
Uses the given length in points- Parameters:
points- Length in points.- Returns:
- An attribute with the length in points.
-