org.graphstream.ui.j2dviewer

Backend

abstract class Backend extends AnyRef

The graphic driver.

The back-end can be for example Java2D or OpenGL.

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

Instance Constructors

  1. new Backend()

Abstract Value Members

  1. abstract def beginTransform: Unit

    Begin the work on the actual transformation matrix.

  2. abstract def chooseEdgeArrowShape(oldShape: Shape, group: StyleGroup): Shape

  3. abstract def chooseEdgeShape(oldShape: Shape, group: StyleGroup): Shape

  4. abstract def chooseGraphBackgroundRenderer(): GraphBackgroundRenderer

  5. abstract def chooseNodeShape(oldShape: Shape, group: StyleGroup): Shape

  6. abstract def chooseSpriteShape(oldShape: Shape, group: StyleGroup): Shape

  7. abstract def close(): Unit

    Called after finished using this object.

  8. abstract def drawingSurface(): Container

    The drawing surface.

    The drawing surface. The drawing surface may be different than the one passed as argument to open(), the back-end is free to create a new surface as it sees fit.

  9. abstract def endTransform: Unit

    End the work on the actual transformation matrix, installing it as the actual modelview matrix.

    End the work on the actual transformation matrix, installing it as the actual modelview matrix. If you do not call this method, all the scaling, translation and rotation are lost.

  10. abstract def graphics2D: Graphics2D

    The Java2D graphics.

  11. abstract def inverseTransform(p: Point3): Point3

    Transform a point in pixel units into graph units, the given point is transformed in place and also returned.

  12. abstract def inverseTransform(x: Double, y: Double, z: Double): Point3

    Pass a point in transformed coordinates (pixels) into the reverse transform (into graph units).

    Pass a point in transformed coordinates (pixels) into the reverse transform (into graph units).

    returns

    the transformed point.

  13. abstract def open(drawingSurface: Container): Unit

    Called before any prior use of this back-end.

  14. abstract def popTransform(): Unit

    Pop the actual transformation of the matrix stack, restoring the previous one in the stack.

  15. abstract def prepareNewFrame(g2: Graphics2D): Unit

    Setup the back-end for a new rendering session.

  16. abstract def pushTransform(): Unit

    Push the actual transformation on the matrix stack, installing a copy of it on the top of the stack.

  17. abstract def rotate(angle: Double, ax: Double, ay: Double, az: Double): Unit

    Multiply the top-most matrix by a rotation matrix.

  18. abstract def scale(sx: Double, sy: Double, sz: Double): Unit

    Multiply the top-most matrix by a scaling matrix.

  19. abstract def setAntialias(on: Boolean): Unit

    Enable or disable anti-aliasing.

  20. abstract def setIdentity(): Unit

    Make the top-most matrix as an identity matrix.

  21. abstract def setQuality(on: Boolean): Unit

    Enable or disable the hi-quality mode.

  22. abstract def transform(p: Point3): Point3

    Transform a point in graph units into pixel units, the given point is transformed in place and also returned.

  23. abstract def transform(x: Double, y: Double, z: Double): Point3

    Transform a point in graph units into pixel units.

    Transform a point in graph units into pixel units.

    returns

    the transformed point.

  24. abstract def translate(tx: Double, ty: Double, tz: Double): Unit

    Multiply the to-most matrix by a translation matrix.

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 clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped