org.graphstream.ui.j2dviewer.renderer.shape.swing

ConnectorShape

trait ConnectorShape extends Shape with Connector with Decorable

Base for shapes rendered between two points.

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

Abstract Value Members

  1. abstract def make(backend: Backend, camera: Camera): Unit

    Must create the shape from informations given earlier, that is, resize it if needed and position it, and do all the things that are specific to each element, and cannot be done for the group of elements.

    Must create the shape from informations given earlier, that is, resize it if needed and position it, and do all the things that are specific to each element, and cannot be done for the group of elements. This method is made to be called inside the render() method, hence it is protected.

    backend

    The rendering back-end.

    camera

    the view parameters.

    Attributes
    protected
    Definition Classes
    Shape
  2. abstract def makeShadow(backend: Backend, camera: Camera): Unit

    Same as #make(Camera) for the shadow shape.

    Same as #make(Camera) for the shadow shape. The shadow shape may be moved and resized compared to the original shape. This method is made to be called inside the renderShadow() method, hence it is protected.

    Attributes
    protected
    Definition Classes
    Shape
  3. abstract def render(bck: Backend, camera: Camera, element: GraphicElement, skeleton: Skeleton): Unit

    Render the shape for the given element.

    Render the shape for the given element.

    camera

    The view parameters.

    element

    The element to render.

    skeleton

    The element geometry and information.

    Definition Classes
    Shape
  4. abstract def renderShadow(bck: Backend, camera: Camera, element: GraphicElement, skeleton: Skeleton): Unit

    Render the shape shadow for the given element.

    Render the shape shadow for the given element. The shadow is rendered in a different pass than usual rendering, therefore it is a separate method.

    Definition Classes
    Shape

Concrete 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.

    Definition Classes
    Connector
  8. def byPos2: Point3

    Second control point.

    Second control point. Works only for curves.

    Definition Classes
    Connector
  9. def clone(): AnyRef

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

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

    Definition Classes
    Connector
  12. def configureDecorableForElement(backend: Backend, camera: Camera, element: GraphicElement, skel: Skeleton): Unit

    Setup the parts of the decor specific to each element.

    Setup the parts of the decor specific to each element.

    Attributes
    protected
    Definition Classes
    Decorable
  13. def configureDecorableForGroup(style: Style, camera: Camera): Unit

    Configure all the static parts needed to decor the shape.

    Configure all the static parts needed to decor the shape.

    Attributes
    protected
    Definition Classes
    Decorable
  14. def configureForElement(bck: Backend, element: GraphicElement, skel: Skeleton, camera: Camera): Unit

    Configure all the dynamic and per element settings.

    Configure all the dynamic and per element settings. Some configurations can only be done before painting the element, since they change for each element.

    element

    The specific element to render.

    camera

    the view parameters.

    Definition Classes
    ConnectorShapeShape
  15. def configureForGroup(bck: Backend, style: Style, camera: Camera): Unit

    Configure as much as possible the graphics before painting several version of this shape at different positions.

    Configure as much as possible the graphics before painting several version of this shape at different positions.

    style

    The style for the group.

    camera

    the view parameters.

    Definition Classes
    ConnectorShapeShape
  16. def decorArea(backend: Backend, camera: Camera, iconAndText: IconAndText, element: GraphicElement, shape: java.awt.Shape): Unit

    Paint the decorations (text and icon).

    Paint the decorations (text and icon).

    Definition Classes
    Decorable
  17. def decorConnector(backend: Backend, camera: Camera, iconAndText: IconAndText, element: GraphicElement, shape: java.awt.Shape): Unit

    Definition Classes
    Decorable
  18. final def eq(arg0: AnyRef): Boolean

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

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

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

    Origin point of the connector.

    Origin point of the connector.

    Definition Classes
    Connector
  22. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  24. var isDirected: Boolean

    Is the connector directed ?

    Is the connector directed ?

    Definition Classes
    Connector
  25. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  29. var skel: ConnectorSkeleton

    We will use it often, better store it.

    We will use it often, better store it.

    Definition Classes
    Connector
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. var text: String

    The string of text of the contents.

    The string of text of the contents.

    Definition Classes
    Decorable
  32. var theDecor: ShapeDecor

    The text and icon.

    The text and icon.

    Definition Classes
    Decorable
  33. var theEdge: GraphicEdge

    The edge, we will also need it often.

    The edge, we will also need it often.

    Definition Classes
    Connector
  34. var theSize: Double

    Width of the connector.

    Width of the connector.

    Attributes
    protected
    Definition Classes
    Connector
  35. 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
    Definition Classes
    Connector
  36. 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
    Definition Classes
    Connector
  37. def toPos: Point3

    Destination of the connector.

    Destination of the connector.

    Definition Classes
    Connector
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Decorable

Inherited from Connector

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Ungrouped