Package de.xima.fc.common.graphdot
Interface AttributeListBuilder.IMixinLength<L extends Length,A extends AttributeListBuilder.ITypedAttribute<L>>
-
- Type Parameters:
L
- Type of the length value.A
- Type of the elements on which to attribute is valid.
- All Superinterfaces:
AttributeListBuilder.ITypedAttributeDescriptor<L,A>
- All Known Subinterfaces:
AttributeListBuilder.IMixinLengthInches<A>
,AttributeListBuilder.IMixinLengthPoints<A>
- All Known Implementing Classes:
AttributeListBuilder.AttributeFontSize
,AttributeListBuilder.AttributeHeight
,AttributeListBuilder.AttributeMargin
,AttributeListBuilder.AttributeNodeSeparation
,AttributeListBuilder.AttributePenWidth
,AttributeListBuilder.AttributeWidth
- Enclosing class:
- AttributeListBuilder<A extends IGraphDotAttributeList,Self extends AttributeListBuilder<A,Self>>
public static interface AttributeListBuilder.IMixinLength<L extends Length,A extends AttributeListBuilder.ITypedAttribute<L>> extends AttributeListBuilder.ITypedAttributeDescriptor<L,A>
Mixin for attributes that accept a length with some unit.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.xima.fc.common.graphdot.AttributeListBuilder.ITypedAttributeDescriptor
AttributeListBuilder.ITypedAttributeDescriptor.E<T>, AttributeListBuilder.ITypedAttributeDescriptor.Edge<T,A extends AttributeListBuilder.ITypedAttribute<T>>, AttributeListBuilder.ITypedAttributeDescriptor.G<T>, AttributeListBuilder.ITypedAttributeDescriptor.GE<T>, AttributeListBuilder.ITypedAttributeDescriptor.GN<T>, AttributeListBuilder.ITypedAttributeDescriptor.GNE<T>, AttributeListBuilder.ITypedAttributeDescriptor.Graph<T,A extends AttributeListBuilder.ITypedAttribute<T>>, 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 extends AttributeListBuilder.ITypedAttribute<T>>, AttributeListBuilder.ITypedAttributeDescriptor.S<T>, AttributeListBuilder.ITypedAttributeDescriptor.SE<T>, AttributeListBuilder.ITypedAttributeDescriptor.SN<T>, AttributeListBuilder.ITypedAttributeDescriptor.SNE<T>, AttributeListBuilder.ITypedAttributeDescriptor.SubGraph<T,A extends AttributeListBuilder.ITypedAttribute<T>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default A
centimeters(double centimeters)
Uses the given length in centimetersLength.LengthFactory<L>
factory()
default A
inches(double inches)
Uses the given length in inchesdefault A
millimeters(double millimeters)
Uses the given length in millimetersdefault A
points(double points)
Uses the given length in points-
Methods inherited from interface de.xima.fc.common.graphdot.AttributeListBuilder.ITypedAttributeDescriptor
name, of
-
-
-
-
Method Detail
-
centimeters
default A centimeters(double centimeters)
Uses the given length in centimeters- Parameters:
centimeters
- Length in centimeters.- Returns:
- An attribute with the length in centimeters.
-
factory
Length.LengthFactory<L> factory()
- Returns:
- The factory for creating lengths for the unit of this length.
-
inches
default A inches(double inches)
Uses the given length in inches- Parameters:
inches
- Length in inches- Returns:
- An attribute with the length in inches.
-
millimeters
default A millimeters(double millimeters)
Uses the given length in millimeters- Parameters:
millimeters
- Length in millimeters.- Returns:
- An attribute with the length in millimeters.
-
points
default A points(double points)
Uses the given length in points- Parameters:
points
- Length in points.- Returns:
- An attribute with the length in points.
-
-