org.interactivemesh.scala.swing.j3d

SJCanvas3DAbstract

class SJCanvas3DAbstract extends Component

The class SJCanvas3DAbstract provides an abstract lightweight Scala Swing component that Java 3D can render into.

Attributes
abstract
Self Type
SJCanvas3DAbstract with Component
Version

1.3 - 2011/09/19

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

Instance Constructors

  1. new SJCanvas3DAbstract (device: GraphicsDevice, template: GraphicsConfigTemplate3D)

Type Members

  1. trait CanvasSuperMixin extends JComponent with SuperMixin

    This trait is used to redirect certain calls from the peer to the wrapper and back.

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 background : Color

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

    Definition Classes
    UIElement
  9. def border : Border

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

    Definition Classes
    Component
  11. def bounds : Rectangle

    Definition Classes
    UIElement
  12. def bounds_= (bnd: (Int, Int, Int, Int)): Unit

  13. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def createOffScreenBuffer (width: Int, height: Int): Unit

    Creates a new offscreen buffer of the given size.

    Creates a new offscreen buffer of the given size. This method is called internally whenever this panel is added to a parent or is resized.

    Subclasses should call and/or override this method according to its individual needs. In case of overriding calling super.createOffScreenBuffer(bufferWidth, bufferHeight) has to be the last thing to do.

    width

    the width of the off-screen buffers to create

    height

    the height of the off-screen buffers to create

    Attributes
    protected
  15. def cursor : Cursor

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

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

    Definition Classes
    Reactor
  18. def disableWakeupOnAWTEvents (eventMasks: Long): Unit

    Disables calling event process-methods on the underlying heavyweight Canvas3D instance for the specified AWT event masks.

    Disables calling event process-methods on the underlying heavyweight Canvas3D instance for the specified AWT event masks.

    eventMasks

    ored AWT event masks: AWTEvent.COMPONENT_EVENT_MASK, AWTEvent.FOCUS_EVENT_MASK, AWTEvent.KEY_EVENT_MASK, AWTEvent.MOUSE_EVENT_MASK, AWTEvent.MOUSE_MOTION_EVENT_MASK, AWTEvent.MOUSE_WHEEL_EVENT_MASK

  19. def displayable : Boolean

    Definition Classes
    UIElement
  20. def enableWakeupOnAWTEvents (eventMasks: Long): Unit

    Sets the AWT event masks for which this SJCanvas3DAbstract instance will call the corresponding process-methods on the underlying heavyweight Canvas3D isntance.

    Sets the AWT event masks for which this SJCanvas3DAbstract instance will call the corresponding process-methods on the underlying heavyweight Canvas3D isntance.

    This is required only when Java 3D WakeupOnAWTEvents are specified in subclasses of Behavior.

    No event mask is set per default.

    eventMasks

    ored AWT event masks: AWTEvent.COMPONENT_EVENT_MASK, AWTEvent.FOCUS_EVENT_MASK, AWTEvent.KEY_EVENT_MASK, AWTEvent.MOUSE_EVENT_MASK, AWTEvent.MOUSE_MOTION_EVENT_MASK, AWTEvent.MOUSE_WHEEL_EVENT_MASK.

  21. def enabled : Boolean

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

    Definition Classes
    Component
  23. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def equals (that: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def focusable : Boolean

    Definition Classes
    Component
  27. def focusable_= (b: Boolean): Unit

    Definition Classes
    Component
  28. def font : Font

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

    Definition Classes
    UIElement
  30. def foreground : Color

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

    Definition Classes
    UIElement
  32. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  33. def hasFocus : Boolean

    Definition Classes
    Component
  34. def hashCode (): Int

    Definition Classes
    Proxy → AnyRef → Any
  35. def ignoreRepaint : Boolean

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

    Definition Classes
    UIElement
  37. val imageAccessLock : ReentrantLock

    Attributes
    protected
  38. var imageHeight : Int

    Attributes
    protected
  39. val imagePaintCondition : Condition

    Attributes
    protected
  40. var imageWidth : Int

    Attributes
    protected
  41. var initP : JComponent

    Definition Classes
    Component
  42. def inputVerifier : (Component) ⇒ Boolean

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

    Definition Classes
    Component
  44. var isImageDrawn : Boolean

    Attributes
    protected
  45. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  46. def isReadyForDrawing : Boolean

    Subclasses which overrides paintComponent(Graphics g) should check if the offscreen buffer is ready for drawing.

    Subclasses which overrides paintComponent(Graphics g) should check if the offscreen buffer is ready for drawing.

    returns

    true if offscreen buffer can be drawn

    Attributes
    protected final
  47. def listenTo (ps: Publisher*): Unit

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

    Attributes
    protected
    Definition Classes
    Publisher
  49. def locale : Locale

    Definition Classes
    UIElement
  50. def location : Point

    Definition Classes
    UIElement
  51. def locationOnScreen : Point

    Definition Classes
    UIElement
  52. def maximumSize : Dimension

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

    Definition Classes
    UIElement
  54. def minimumSize : Dimension

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

    Definition Classes
    UIElement
  56. def name : String

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

    Definition Classes
    Component
  58. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  61. def offScreenBufferCopied (): Unit

    Callback used to allow an overriding subclass to execute individual code when the offscreen buffer was copied.

    Callback used to allow an overriding subclass to execute individual code when the offscreen buffer was copied.

    This method is called internally by the event-dispatching thread (EDT) and should not be called by applications.

    Attributes
    protected
  62. def offScreenBufferCreated (): Unit

    Callback used to allow an overriding subclass to execute individual code when a new offscreen buffer was created.

    Callback used to allow an overriding subclass to execute individual code when a new offscreen buffer was created.

    This method is called internally by the event-dispatching thread (EDT) and should not be called by applications.

    Attributes
    protected
  63. def offscreenCanvas3D : Canvas3D

    Returns the offscreen Canvas3D instance of this lightweight component.

    Returns the offscreen Canvas3D instance of this lightweight component.

    returns

    the offscreen Canvas3D instance that is linked to this onscreen component

  64. def onFirstSubscribe (): Unit

    Definition Classes
    SJCanvas3DAbstract → Component → UIElement → LazyPublisher
  65. def onLastUnsubscribe (): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  66. def onscreenJPanel : JPanel

    Returns the wrapped component which Java 3D renders into.

    Returns the wrapped component which Java 3D renders into.

    returns

    the lightweight Java Swing component

  67. def opaque : Boolean

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

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

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

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

    Attributes
    protected
    Definition Classes
    Component
  72. def paintComponent (g2d: Graphics2D): Unit

    Flips and paints the result of the 3D rendering.

    Flips and paints the result of the 3D rendering.

    Attributes
    protected
    Definition Classes
    SJCanvas3DAbstract → Component
  73. var paintImage : BufferedImage

    Attributes
    protected
  74. lazy val peer : JPanel

    Definition Classes
    SJCanvas3DAbstract → Component → UIElement
  75. def preferredSize : Dimension

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

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

    Definition Classes
    Publisher
  78. val reactions : Reactions

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

    Definition Classes
    UIElement
  80. def repaint (): Unit

    Definition Classes
    UIElement
  81. def requestFocus (): Unit

    Definition Classes
    Component
  82. def requestFocusInWindow (): Boolean

    Definition Classes
    Component
  83. def revalidate (): Unit

    Definition Classes
    Component
  84. def self : Component

    Definition Classes
    UIElement → Proxy
  85. def showing : Boolean

    Definition Classes
    UIElement
  86. def size : Dimension

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

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

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

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

    Definition Classes
    UIElement
  91. def tooltip : String

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

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

    Definition Classes
    LazyPublisher → Publisher
  94. def visible : Boolean

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

    Definition Classes
    UIElement
  96. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  99. def xLayoutAlignment : Double

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

    Definition Classes
    Component
  101. def yLayoutAlignment : Double

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

    Definition Classes
    Component

Deprecated Value Members

  1. lazy val Mouse : SJCanvas3DAbstract.this.mouse.type

    Definition Classes
    Component
    Annotations
    @deprecated
    Deprecated

    Use mouse instead

  2. def size_= (dim: Dimension): Unit

    Definition Classes
    UIElement
    Annotations
    @deprecated
    Deprecated

    Explicit size assignment for UIElements is not supported anymore. Use a layout manager or subclass Window.

Inherited from Component

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any