org.graphstream.ui.j2dviewer.renderer

EdgeRenderer

class EdgeRenderer extends StyleRenderer

Linear Supertypes
StyleRenderer, SwingElementRenderer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EdgeRenderer
  2. StyleRenderer
  3. SwingElementRenderer
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EdgeRenderer(styleGroup: StyleGroup)

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. var arrow: AreaOnConnectorShape

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def elementInvisible(bck: Backend, camera: Camera, element: GraphicElement): Unit

    Called during rendering in place of #renderElement(Graphics2D, Camera, GraphicElement) to signal that the given element is not inside the view.

    Called during rendering in place of #renderElement(Graphics2D, Camera, GraphicElement) to signal that the given element is not inside the view. The renderElement() method will be called as soon as the element becomes visible anew.

    bck

    The rendering back-end.

    camera

    The camera.

    element

    The element to render.

    Attributes
    protected
    Definition Classes
    EdgeRendererStyleRenderer
  10. def endRenderingPass(bck: Backend, camera: Camera, forShadow: Boolean): Unit

    Called at the end of the rendering pass.

    Called at the end of the rendering pass.

    bck

    The rendering back-end.

    camera

    The camera.

    forShadow

    true if we are in the shadow rendering pass.

    Attributes
    protected
    Definition Classes
    StyleRenderer
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getOrSetConnectorSkeleton(element: GraphicElement): ConnectorSkeleton

    Retrieve the shared edge informations stored on the given edge element.

    Retrieve the shared edge informations stored on the given edge element. If such information is not yet present, add it to the element.

    element

    The element to look for.

    returns

    The edge information.

    Attributes
    protected
    Exceptions thrown
    RuntimeException

    if the element is not an edge.

  16. val group: StyleGroup

    Definition Classes
    StyleRenderer
  17. var hadEvents: Boolean

    True if some event is taking place actually.

    True if some event is taking place actually.

    Attributes
    protected
    Definition Classes
    StyleRenderer
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  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. def pushDynStyle(bck: Backend, camera: Camera, element: GraphicElement): Unit

    Called before the rendering of elements on dynamic styles.

    Called before the rendering of elements on dynamic styles. This must only change the style properties that can change dynamically.

    bck

    The rendering back-end.

    camera

    The camera.

    element

    The graphic element concerned by the dynamic style change.

    Attributes
    protected
    Definition Classes
    EdgeRendererStyleRenderer
  24. def pushStyle(bck: Backend, camera: Camera, forShadow: Boolean): Unit

    Called before the rendering of bulk and event elements.

    Called before the rendering of bulk and event elements.

    bck

    The rendering back-end.

    camera

    The camera.

    forShadow

    true if we are in the shadow rendering pass.

    Attributes
    protected
    Definition Classes
    EdgeRendererStyleRenderer
  25. def render(bck: Backend, camera: Camera, shadow: Boolean, render: (Backend, Camera, GraphicElement) ⇒ Unit): Unit

    Main rendering method.

    Main rendering method.

    This works in three phases: - draw all "bulk" elements using renderElement() - draw all "dynamic" elements using renderElement(). - draw all "event" elements using renderElement().

    Before drawing, the setupRenderingPass() and pushStyle() methods are called. The phase 1 is run. Then for each dynamic element in phase 2, before calling renderElement, for each element the pushDynStyle() method is called. Then for each element modified by an event, in phase 3, the before drawing the element, the event is enabled, then pushStyle() is called, then the element is drawn, and finally the event is disabled.

    This rendering pass is made both for shadows and for regular drawing. The shadow and render arguments allow to specify that we are rendering for shadow, and what element rendering method to use (renderElement() or renderShadow()).

    Attributes
    protected
    Definition Classes
    StyleRenderer
  26. def render(bck: Backend, camera: Camera): Unit

    Render all the (visible) elements of the group.

    Render all the (visible) elements of the group.

    Definition Classes
    StyleRenderer
  27. def renderElement(bck: Backend, camera: Camera, element: GraphicElement): Unit

    Render a single element knowing the style is already prepared.

    Render a single element knowing the style is already prepared. Elements that are not visible are not drawn.

    bck

    The rendering back-end.

    camera

    The camera.

    element

    The element to render.

    Attributes
    protected
    Definition Classes
    EdgeRendererStyleRenderer
  28. def renderShadow(bck: Backend, camera: Camera, element: GraphicElement): Unit

    Render the shadow of the element.

    Render the shadow of the element.

    bck

    The rendering back-end.

    camera

    The camera.

    element

    The element to render.

    Attributes
    protected
    Definition Classes
    EdgeRendererStyleRenderer
  29. def renderShadow(bck: Backend, camera: Camera): Unit

    Render the shadow of all (visible) elements of the group.

    Render the shadow of all (visible) elements of the group.

    Definition Classes
    StyleRenderer
  30. def setupRenderingPass(bck: Backend, camera: Camera, forShadow: Boolean): Unit

    Called before the whole rendering pass for all elements.

    Called before the whole rendering pass for all elements.

    bck

    The rendering back-end.

    camera

    The camera.

    forShadow

    true if we are in the shadow rendering pass.

    Attributes
    protected
    Definition Classes
    EdgeRendererStyleRenderer
  31. var shape: Shape

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from StyleRenderer

Inherited from SwingElementRenderer

Inherited from AnyRef

Inherited from Any

Ungrouped