org.graphstream.ui.j2dviewer.renderer.shape

Connector

trait Connector extends AnyRef

Trait for elements painted between two points.

The purpose of this class is to retrieve and store in the skeleton the lines coordinates of an edge. This connector can be made of only two points, 4 points when this is a bezier cubic curve or more if this is a polyline or a polycurve or a vectorial description. The coordinates of these points are stored in a ConnectorSkeleton attribute directly on the edge element since several parts of the rendering need to access it (for example, sprites retrieve it to follow the correct path when attached to this edge).

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Connector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def byPos1: Point3

    First control point.

    First control point. Works only for curves.

  8. def byPos2: Point3

    Second control point.

    Second control point. Works only for curves.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def configureConnectorForElement(camera: Camera, element: GraphicEdge, skel: ConnectorSkeleton): Unit

  11. def configureConnectorForGroup(style: Style, camera: Camera): Unit

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def fromPos: Point3

    Origin point of the connector.

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. var isDirected: Boolean

    Is the connector directed ?

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. var skel: ConnectorSkeleton

    We will use it often, better store it.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. var theEdge: GraphicEdge

    The edge, we will also need it often.

  26. var theSize: Double

    Width of the connector.

    Width of the connector.

    Attributes
    protected
  27. var theSourceSize: Point2

    Overall sizes of the area at the end of the connector.

    Overall sizes of the area at the end of the connector.

    Attributes
    protected
  28. var theTargetSize: Point2

    Overall size of the area at the end of the connector.

    Overall size of the area at the end of the connector.

    Attributes
    protected
  29. def toPos: Point3

    Destination of the connector.

  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped