ImagePanel
introprog.Swing.ImagePanel
class ImagePanel(val initWidth: Int, val initHeight: Int, val initBackground: Color) extends JPanel
A Swing JPanel
to create drawing windows for 2D graphics.
Attributes
- Source
- Swing.scala
- Graph
-
- Supertypes
-
class JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- JComponent
- Supertypes
-
trait AccessibleExtendedComponenttrait AccessibleComponenttrait Serializableclass AccessibleContextclass Objecttrait Matchableclass AnyShow all
object AccessibleJComponent
Attributes
- Inherited from:
- JComponent
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
override def imageUpdate(img: Image, infoFlags: Int, x: Int, y: Int, width: Int, height: Int): Boolean
Attributes
- Definition Classes
-
Component -> ImageObserver
- Source
- Swing.scala
Attributes
- Definition Classes
-
JComponent
- Source
- Swing.scala
Execute action
in the Swing thread with graphics context as param.
Execute action
in the Swing thread with raw image as param.
Inherited methods
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JPanel
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
@BeanProperty(expert = true)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JPanel
@BeanProperty(bound = false, expert = true, description = "A string that specifies the name of the L&F class.")
Attributes
- Inherited from:
- JPanel
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false)
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
@BeanProperty(description = "The preferred horizontal alignment of the component.")
Attributes
- Inherited from:
- JComponent
@BeanProperty(description = "The preferred vertical alignment of the component.")
Attributes
- Inherited from:
- JComponent
@BeanProperty(bound = false, expert = true, description = "Determines if this component automatically scrolls its contents when dragged.")
Attributes
- Inherited from:
- JComponent
@BeanProperty(preferred = true, visualUpdate = true, description = "The background color of the component.")
Attributes
- Inherited from:
- JComponent
@BeanProperty(preferred = true, visualUpdate = true, description = "The component\'s border.")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
@BeanProperty(preferred = true, description = "Popup to show")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
@BeanProperty(bound = false, preferred = true, description = "Diagnostic options for graphics operations.", enumerationValues = "DebugGraphics.NONE_OPTION", "DebugGraphics.LOG_OPTION", "DebugGraphics.FLASH_OPTION", "DebugGraphics.BUFFERED_OPTION")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
@BeanProperty(expert = true, preferred = true, visualUpdate = true, description = "The enabled state of the component.")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
@BeanProperty(preferred = true, visualUpdate = true, description = "The font for the component.")
Attributes
- Inherited from:
- JComponent
@BeanProperty(preferred = true, visualUpdate = true, description = "The foreground color of the component.")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
@BeanProperty(description = "Whether or not the JPopupMenu is inherited")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
@BeanProperty(description = "The component\'s input verifier.")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
@BeanProperty(description = "The maximum size of the component.")
Attributes
- Inherited from:
- JComponent
@BeanProperty(description = "The minimum size of the component.")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
@BeanProperty(expert = true, description = "The component\'s opacity")
Attributes
- Inherited from:
- JComponent
@BeanProperty(preferred = true, description = "The preferred size of the component.")
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
@BeanProperty(bound = false, preferred = true, description = "The text to display in a tool tip.")
Attributes
- Inherited from:
- JComponent
@BeanProperty(hidden = true, description = "Mechanism for transfer of data to and from the component")
Attributes
- Inherited from:
- JComponent
@BeanProperty(hidden = true, visualUpdate = true, description = "The UI object that implements the Component\'s LookAndFeel.")
Attributes
- Inherited from:
- JPanel
@BeanProperty(description = "Whether the Component verifies input before accepting focus.")
Attributes
- Inherited from:
- JComponent
@BeanProperty(hidden = true, visualUpdate = true)
Attributes
- Inherited from:
- JComponent
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JComponent
Attributes
- Inherited from:
- JPanel
Attributes
- Inherited from:
- Container
Deprecated and Inherited methods
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Container
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Container
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- JComponent
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- JComponent
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- JComponent
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- JComponent
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Container
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated @BeanProperty(bound = false)
Attributes
- Deprecated
- true
- Inherited from:
- JComponent
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Container
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Container
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Container
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Container
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- JComponent
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- JComponent
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- JComponent
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Component
Concrete fields
Attributes
- Source
- Swing.scala
Attributes
- Source
- Swing.scala
Attributes
- Source
- Swing.scala
Attributes
- Source
- Swing.scala
Attributes
- Source
- Swing.scala
In this article