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. Hide All
  2. Show all
  1. Connector
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

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

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

    Attributes
    final
    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[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. def eq (arg0: AnyRef): Boolean

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

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

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

    Origin point of the connector.

  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  17. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  18. var isDirected : Boolean

    Is the connector directed ?

  19. def isInstanceOf [T0] : Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  23. var skel : ConnectorSkeleton

    We will use it often, better store it.

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

    Attributes
    final
    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. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any