Class

cogdebugger.opengl

SGLCanvas

Related Doc: package opengl

Permalink

abstract class SGLCanvas extends Component with GLEventListener

Scala Swing wrapper for a GLCanvas (a heavyweight AWT component). GLCanvas has better rendering performance than GLPanel, but it doesn't always play nicely with Swing. It's pretty easy to change a class to use one or the other, so it may be a good idea to start with the this GLCanvas wrapper and only switch to the GLPanel wrapper if you can't get the former to work in your GUI.

Linear Supertypes
GLEventListener, EventListener, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SGLCanvas
  2. GLEventListener
  3. EventListener
  4. Component
  5. UIElement
  6. LazyPublisher
  7. Publisher
  8. Reactor
  9. Proxy
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SGLCanvas()

    Permalink
  2. new SGLCanvas(profile: GLProfile)

    Permalink
  3. new SGLCanvas(caps: GLCapabilities)

    Permalink

Type Members

  1. trait SuperMixin extends JComponent

    Permalink
    Attributes
    protected
    Definition Classes
    Component

Abstract Value Members

  1. abstract def display(arg0: GLAutoDrawable): Unit

    Permalink
    Definition Classes
    GLEventListener
  2. abstract def dispose(arg0: GLAutoDrawable): Unit

    Permalink
    Definition Classes
    GLEventListener
  3. abstract def init(arg0: GLAutoDrawable): Unit

    Permalink
    Definition Classes
    GLEventListener
  4. abstract def reshape(arg0: GLAutoDrawable, arg1: Int, arg2: Int, arg3: Int, arg4: Int): Unit

    Permalink
    Definition Classes
    GLEventListener

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def background: Color

    Permalink
    Definition Classes
    UIElement
  6. def background_=(c: Color): Unit

    Permalink
    Definition Classes
    UIElement
  7. def border: Border

    Permalink
    Definition Classes
    Component
  8. def border_=(b: Border): Unit

    Permalink
    Definition Classes
    Component
  9. def bounds: Rectangle

    Permalink
    Definition Classes
    UIElement
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def cursor: Cursor

    Permalink
    Definition Classes
    UIElement
  12. def cursor_=(c: Cursor): Unit

    Permalink
    Definition Classes
    UIElement
  13. def deafTo(ps: Publisher*): Unit

    Permalink
    Definition Classes
    Reactor
  14. def displayable: Boolean

    Permalink
    Definition Classes
    UIElement
  15. def enabled: Boolean

    Permalink
    Definition Classes
    Component
  16. def enabled_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Proxy → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def focusable: Boolean

    Permalink
    Definition Classes
    SGLCanvas → Component
  21. def focusable_=(b: Boolean): Unit

    Permalink
    Definition Classes
    SGLCanvas → Component
  22. def font: Font

    Permalink
    Definition Classes
    UIElement
  23. def font_=(f: Font): Unit

    Permalink
    Definition Classes
    UIElement
  24. def foreground: Color

    Permalink
    Definition Classes
    UIElement
  25. def foreground_=(c: Color): Unit

    Permalink
    Definition Classes
    UIElement
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. def hasFocus: Boolean

    Permalink
    Definition Classes
    SGLCanvas → Component
  28. def hashCode(): Int

    Permalink
    Definition Classes
    Proxy → Any
  29. def ignoreRepaint: Boolean

    Permalink
    Definition Classes
    UIElement
  30. def ignoreRepaint_=(b: Boolean): Unit

    Permalink
    Definition Classes
    UIElement
  31. var initP: JComponent

    Permalink
    Definition Classes
    Component
  32. def inputVerifier: (Component) ⇒ Boolean

    Permalink
    Definition Classes
    Component
  33. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit

    Permalink
    Definition Classes
    Component
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def listenTo(ps: Publisher*): Unit

    Permalink
    Definition Classes
    Reactor
  36. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

    Permalink
    Attributes
    protected
    Definition Classes
    Publisher
  37. def locale: Locale

    Permalink
    Definition Classes
    UIElement
  38. def location: Point

    Permalink
    Definition Classes
    UIElement
  39. def locationOnScreen: Point

    Permalink
    Definition Classes
    UIElement
  40. def maximumSize: Dimension

    Permalink
    Definition Classes
    UIElement
  41. def maximumSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  42. def minimumSize: Dimension

    Permalink
    Definition Classes
    UIElement
  43. def minimumSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  44. object mouse

    Permalink
    Definition Classes
    Component
  45. def name: String

    Permalink
    Definition Classes
    Component
  46. def name_=(s: String): Unit

    Permalink
    Definition Classes
    Component
  47. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  48. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  49. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  50. def onFirstSubscribe(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component → UIElement → LazyPublisher
  51. def onLastUnsubscribe(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  52. def opaque: Boolean

    Permalink
    Definition Classes
    Component
  53. def opaque_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  54. def paint(g: Graphics2D): Unit

    Permalink
    Definition Classes
    Component
  55. def paintBorder(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  56. def paintChildren(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  57. def paintComponent(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  58. lazy val peer: JComponent

    Permalink
    Definition Classes
    Component → UIElement
  59. def preferredSize: Dimension

    Permalink
    Definition Classes
    UIElement
  60. def preferredSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  61. def publish(e: Event): Unit

    Permalink
    Definition Classes
    Publisher
  62. val reactions: Reactions

    Permalink
    Definition Classes
    Reactor
  63. def repaint(rect: Rectangle): Unit

    Permalink
    Definition Classes
    UIElement
  64. def repaint(): Unit

    Permalink
    Definition Classes
    UIElement
  65. def requestFocus(): Unit

    Permalink
    Definition Classes
    SGLCanvas → Component
  66. def requestFocusInWindow(): Boolean

    Permalink
    Definition Classes
    SGLCanvas → Component
  67. def revalidate(): Unit

    Permalink
    Definition Classes
    Component
  68. def self: Component

    Permalink
    Definition Classes
    UIElement → Proxy
  69. def showing: Boolean

    Permalink
    Definition Classes
    UIElement
  70. def size: Dimension

    Permalink
    Definition Classes
    UIElement
  71. def subscribe(listener: Reaction): Unit

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  72. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  73. def toString(): String

    Permalink
    Definition Classes
    Component → Proxy → AnyRef → Any
  74. def toolkit: Toolkit

    Permalink
    Definition Classes
    UIElement
  75. def tooltip: String

    Permalink
    Definition Classes
    Component
  76. def tooltip_=(t: String): Unit

    Permalink
    Definition Classes
    Component
  77. def unsubscribe(listener: Reaction): Unit

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  78. def visible: Boolean

    Permalink
    Definition Classes
    UIElement
  79. def visible_=(b: Boolean): Unit

    Permalink
    Definition Classes
    UIElement
  80. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. val wrappedGlCanvas: GLCanvas

    Permalink
  84. def xLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  85. def xLayoutAlignment_=(x: Double): Unit

    Permalink
    Definition Classes
    Component
  86. def yLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  87. def yLayoutAlignment_=(y: Double): Unit

    Permalink
    Definition Classes
    Component

Inherited from GLEventListener

Inherited from EventListener

Inherited from Component

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped