Class

cogdebugger.ui.components

ImagePanel

Related Doc: package components

Permalink

class ImagePanel extends Panel with ZoomProperty

A panel that displays an image. Preferred size is initially set to the current image's unscaled dimensions.

Linear Supertypes
ZoomProperty, Zoomable, Panel, Wrapper, Container, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ImagePanel
  2. ZoomProperty
  3. Zoomable
  4. Panel
  5. Wrapper
  6. Container
  7. Component
  8. UIElement
  9. LazyPublisher
  10. Publisher
  11. Reactor
  12. Proxy
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ImagePanel(_image: Image)

    Permalink

Type Members

  1. class Content extends BufferWrapper[Component]

    Permalink
    Attributes
    protected
    Definition Classes
    Wrapper
  2. trait SuperMixin extends JComponent

    Permalink
    Attributes
    protected
    Definition Classes
    Component

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. val ZoomProperty: FloatProperty

    Permalink
    Definition Classes
    ZoomProperty
  5. val _contents: Content

    Permalink
    Attributes
    protected
    Definition Classes
    Wrapper
  6. var _image: Image

    Permalink
    Attributes
    protected
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def background: Color

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

    Permalink
    Definition Classes
    UIElement
  10. def border: Border

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

    Permalink
    Definition Classes
    Component
  12. def bounds: Rectangle

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def contents: Seq[Component]

    Permalink
    Definition Classes
    Wrapper → Container
  15. def cursor: Cursor

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

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

    Permalink
    Definition Classes
    Reactor
  18. var disallowNegativeZoom: Boolean

    Permalink
    Definition Classes
    ZoomProperty
  19. def displayable: Boolean

    Permalink
    Definition Classes
    UIElement
  20. def enabled: Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    Component
  27. def font: Font

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

    Permalink
    Definition Classes
    UIElement
  29. def foreground: Color

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

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

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

    Permalink
    Definition Classes
    Component
  33. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    UIElement
  36. def image: Image

    Permalink
  37. def image_=(img: Image): Unit

    Permalink

    Sets this panel's displayed image to img and updates preferredSize to be equal to img's unscaled dimensions.

  38. var initP: JComponent

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

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

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

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

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

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

    Permalink
    Definition Classes
    UIElement
  45. def location: Point

    Permalink
    Definition Classes
    UIElement
  46. def locationOnScreen: Point

    Permalink
    Definition Classes
    UIElement
  47. val lock: ReentrantReadWriteLock

    Permalink
  48. def maximumSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  50. def minimumSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  52. object mouse

    Permalink
    Definition Classes
    Component
  53. def name: String

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ImagePanel → Component
  66. lazy val peer: JPanel

    Permalink
    Definition Classes
    Panel → Wrapper → Component → UIElement
  67. def preferredSize: Dimension

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

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

    Permalink
    Definition Classes
    Publisher
  70. val reactions: Reactions

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

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

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

    Permalink
    Definition Classes
    Component
  74. def requestFocusInWindow(): Boolean

    Permalink
    Definition Classes
    Component
  75. def resetSize(): Unit

    Permalink
    Attributes
    protected
  76. def revalidate(): Unit

    Permalink
    Definition Classes
    Component
  77. val scaleXform: AffineTransform

    Permalink

    Zooming transformation

  78. def self: Component

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

    Permalink
    Definition Classes
    UIElement
  80. def size: Dimension

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

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

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

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

    Permalink
    Definition Classes
    UIElement
  85. def tooltip: String

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

    Permalink
    Definition Classes
    Component
  87. val transXform: AffineTransform

    Permalink

    Panning transformation

  88. def unsubscribe(listener: Reaction): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. def xLayoutAlignment: Double

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

    Permalink
    Definition Classes
    Component
  96. val xform: AffineTransform

    Permalink
  97. def yLayoutAlignment: Double

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

    Permalink
    Definition Classes
    Component
  99. def zoomIn(): Unit

    Permalink

    Increase zoom level by zDelta.

    Increase zoom level by zDelta.

    Definition Classes
    ZoomPropertyZoomable
  100. var zoomIncrement: Float

    Permalink

    Default zoom/unzoom increment used by zoomIn and zoomOut.

    Default zoom/unzoom increment used by zoomIn and zoomOut. When the ZoomType is Additive, this value is added to or substracted from the current zoomLevel. In multiplicative mode, zoomLevel is multipled by zDelta on zooming in or by its reciprocal on zooming out.

    Definition Classes
    ImagePanelZoomProperty
  101. def zoomLevel: Float

    Permalink
    Definition Classes
    ZoomProperty
  102. def zoomLevel_=(value: Float): Unit

    Permalink
    Definition Classes
    ZoomProperty
  103. def zoomOut(): Unit

    Permalink

    Decrease zoom level by zDelta.

    Decrease zoom level by zDelta.

    Definition Classes
    ZoomPropertyZoomable
  104. var zoomType: ZoomType

    Permalink

    Controls how zDelta is applied to the current zoom level.

    Controls how zDelta is applied to the current zoom level. In Additive, a delta is added to the current zoom level; in Multiplicative mode, the zoom level is multiplied by delta when zooming in, and by its reciprocal when zooming out.

    Default zoom type is additive. If you change it to multiplicative, you should probably ensure that the default zDelta is something other than 1f, as multiplying by one probably won't do anything.

    Definition Classes
    ZoomProperty

Inherited from ZoomProperty

Inherited from Zoomable

Inherited from Panel

Inherited from Wrapper

Inherited from Container

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