Class AuxLine.Line<C extends ObjectIdentity>

Object
ObjectIdentity
BacklinkBuilder<C>
Line<C>
Enclosing class:
AuxLine<C extends AbstractChartBuilder<C>>

public static class AuxLine.Line<C extends ObjectIdentity> extends BacklinkBuilder<C>
A straight AuxLine shape, y = yIntercept + steepness * x, obtained from AuxLine.withLine() rather than instantiated directly.
  • Field Summary

    Fields inherited from class BacklinkBuilder

    METHOD_BACK

    Fields inherited from class ObjectIdentity

    classId, idGenerator, instanceId, invocations, m, NONE, parentObjectIdentity
  • Constructor Summary

    Constructors
    Constructor
    Description
    Line(C backLink, String instanceId, String classId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    setSteepness(String steepness)
    Sets the line's steepness, its slope.
    setYIntercept(String yIntercept)
    Sets the line's Y intercept, its Y value where x = 0.

    Methods inherited from class BacklinkBuilder

    back, getParent

    Methods inherited from class ObjectIdentity

    addInvocation, addInvocation, addInvocationInternal, getClassId

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Line

      public Line(C backLink, String instanceId, String classId)
  • Method Details

    • setYIntercept

      public AuxLine.Line<C> setYIntercept(String yIntercept)
      Sets the line's Y intercept, its Y value where x = 0.
      Parameters:
      yIntercept - the Y intercept value
      Returns:
      this builder, for chaining further configuration
      See Also:
    • setSteepness

      public AuxLine.Line<C> setSteepness(String steepness)
      Sets the line's steepness, its slope.
      Parameters:
      steepness - the slope value
      Returns:
      this builder, for chaining further configuration
      See Also: