org.graphstream.ui.j2dviewer

Backend

class Backend extends AnyRef

The graphic driver.

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

Attributes
abstract
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Backend
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Backend ()

Abstract Value Members

  1. def beginTransform : Unit

    Begin the work on the actual transformation matrix.

    Begin the work on the actual transformation matrix.

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

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

    Attributes
    abstract
  4. def chooseGraphBackgroundRenderer (): GraphBackgroundRenderer

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

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

    Attributes
    abstract
  7. def close (): Unit

    Called after finished using this object.

    Called after finished using this object.

    Attributes
    abstract
  8. 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.

    Attributes
    abstract
  9. 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.

    Attributes
    abstract
  10. def graphics2D : Graphics2D

    The Java2D graphics.

    The Java2D graphics.

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

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

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

    Attributes
    abstract
  12. 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.

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

    Called before any prior use of this back-end.

    Called before any prior use of this back-end.

    Attributes
    abstract
  14. def popTransform (): Unit

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

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

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

    Setup the back-end for a new rendering session.

    Setup the back-end for a new rendering session.

    Attributes
    abstract
  16. def pushTransform (): Unit

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

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

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

    Multiply the top-most matrix by a rotation matrix.

    Multiply the top-most matrix by a rotation matrix.

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

    Multiply the top-most matrix by a scaling matrix.

    Multiply the top-most matrix by a scaling matrix.

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

    Enable or disable anti-aliasing.

    Enable or disable anti-aliasing.

    Attributes
    abstract
  20. def setIdentity (): Unit

    Make the top-most matrix as an identity matrix.

    Make the top-most matrix as an identity matrix.

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

    Enable or disable the hi-quality mode.

    Enable or disable the hi-quality mode.

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

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

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

    Attributes
    abstract
  23. 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.

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

    Multiply the to-most matrix by a translation matrix.

    Multiply the to-most matrix by a translation matrix.

    Attributes
    abstract

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  18. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any