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 JPanel
trait Accessible
class JComponent
class Container
class Component
trait Serializable
trait MenuContainer
trait ImageObserver
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

abstract class AccessibleJComponent

Attributes

Inherited from:
JComponent
Supertypes
trait AccessibleExtendedComponent
trait AccessibleComponent
trait Serializable
class AccessibleContext
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
JComponent
Supertypes
class Object
trait Matchable
class 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
override def paintComponent(g: Graphics): Unit

Attributes

Definition Classes
JComponent
Source
Swing.scala
def withGraphics(action: Graphics2D => Unit): Unit

Execute action in the Swing thread with graphics context as param.

Execute action in the Swing thread with graphics context as param.

Attributes

Source
Swing.scala
def withImage(action: BufferedImage => Unit): Unit

Execute action in the Swing thread with raw image as param.

Execute action in the Swing thread with raw image as param.

Attributes

Source
Swing.scala

Inherited methods

def add(x$0: Component, x$1: <FromJavaObject>, x$2: Int): Unit

Attributes

Inherited from:
Container
def add(x$0: Component, x$1: <FromJavaObject>): Unit

Attributes

Inherited from:
Container
def add(x$0: Component, x$1: Int): Component

Attributes

Inherited from:
Container
def add(x$0: String, x$1: Component): Component

Attributes

Inherited from:
Container
def add(x$0: Component): Component

Attributes

Inherited from:
Container
def add(x$0: PopupMenu): Unit

Attributes

Inherited from:
Component
def addAncestorListener(x$0: AncestorListener): Unit

Attributes

Inherited from:
JComponent
def addComponentListener(x$0: ComponentListener): Unit

Attributes

Inherited from:
Component
def addContainerListener(x$0: ContainerListener): Unit

Attributes

Inherited from:
Container
def addFocusListener(x$0: FocusListener): Unit

Attributes

Inherited from:
Component
def addHierarchyBoundsListener(x$0: HierarchyBoundsListener): Unit

Attributes

Inherited from:
Component
def addHierarchyListener(x$0: HierarchyListener): Unit

Attributes

Inherited from:
Component
def addInputMethodListener(x$0: InputMethodListener): Unit

Attributes

Inherited from:
Component
def addKeyListener(x$0: KeyListener): Unit

Attributes

Inherited from:
Component
def addMouseListener(x$0: MouseListener): Unit

Attributes

Inherited from:
Component
def addMouseMotionListener(x$0: MouseMotionListener): Unit

Attributes

Inherited from:
Component
def addMouseWheelListener(x$0: MouseWheelListener): Unit

Attributes

Inherited from:
Component
def addNotify(): Unit

Attributes

Inherited from:
JComponent
def addPropertyChangeListener(x$0: String, x$1: PropertyChangeListener): Unit

Attributes

Inherited from:
Container
def addPropertyChangeListener(x$0: PropertyChangeListener): Unit

Attributes

Inherited from:
Container
def addVetoableChangeListener(x$0: VetoableChangeListener): Unit

Attributes

Inherited from:
JComponent
def applyComponentOrientation(x$0: ComponentOrientation): Unit

Attributes

Inherited from:
Container
def areFocusTraversalKeysSet(x$0: Int): Boolean

Attributes

Inherited from:
Container
def checkImage(x$0: Image, x$1: Int, x$2: Int, x$3: ImageObserver): Int

Attributes

Inherited from:
Component
def checkImage(x$0: Image, x$1: ImageObserver): Int

Attributes

Inherited from:
Component
def computeVisibleRect(x$0: Rectangle): Unit

Attributes

Inherited from:
JComponent
def contains(x$0: Int, x$1: Int): Boolean

Attributes

Inherited from:
JComponent
def contains(x$0: Point): Boolean

Attributes

Inherited from:
Component
def createImage(x$0: Int, x$1: Int): Image

Attributes

Inherited from:
Component
def createImage(x$0: ImageProducer): Image

Attributes

Inherited from:
Component
def createToolTip(): JToolTip

Attributes

Inherited from:
JComponent
def createVolatileImage(x$0: Int, x$1: Int, x$2: ImageCapabilities): VolatileImage

Attributes

Inherited from:
Component
def createVolatileImage(x$0: Int, x$1: Int): VolatileImage

Attributes

Inherited from:
Component
final def dispatchEvent(x$0: AWTEvent): Unit

Attributes

Inherited from:
Component
def doLayout(): Unit

Attributes

Inherited from:
Container
def enableInputMethods(x$0: Boolean): Unit

Attributes

Inherited from:
Component
def findComponentAt(x$0: Point): Component

Attributes

Inherited from:
Container
def findComponentAt(x$0: Int, x$1: Int): Component

Attributes

Inherited from:
Container
def firePropertyChange(x$0: String, x$1: Char, x$2: Char): Unit

Attributes

Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Int, x$2: Int): Unit

Attributes

Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Boolean, x$2: Boolean): Unit

Attributes

Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Double, x$2: Double): Unit

Attributes

Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Float, x$2: Float): Unit

Attributes

Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Long, x$2: Long): Unit

Attributes

Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Short, x$2: Short): Unit

Attributes

Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Byte, x$2: Byte): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = false)
def getAccessibleContext(): AccessibleContext

Attributes

Inherited from:
JPanel
def getActionForKeyStroke(x$0: KeyStroke): ActionListener

Attributes

Inherited from:
JComponent
final def getActionMap(): ActionMap

Attributes

Inherited from:
JComponent
def getAlignmentX(): Float

Attributes

Inherited from:
JComponent
def getAlignmentY(): Float

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def getAncestorListeners(): Array[AncestorListener]

Attributes

Inherited from:
JComponent
def getAutoscrolls(): Boolean

Attributes

Inherited from:
JComponent
def getBackground(): Color

Attributes

Inherited from:
Component
def getBaseline(x$0: Int, x$1: Int): Int

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def getBaselineResizeBehavior(): BaselineResizeBehavior

Attributes

Inherited from:
JComponent
def getBorder(): Border

Attributes

Inherited from:
JComponent
def getBounds(x$0: Rectangle): Rectangle

Attributes

Inherited from:
JComponent
def getBounds(): Rectangle

Attributes

Inherited from:
Component
final def getClientProperty(x$0: <FromJavaObject>): <FromJavaObject>

Attributes

Inherited from:
JComponent
def getColorModel(): ColorModel

Attributes

Inherited from:
Component
def getComponent(x$0: Int): Component

Attributes

Inherited from:
Container
def getComponentAt(x$0: Point): Component

Attributes

Inherited from:
Container
def getComponentAt(x$0: Int, x$1: Int): Component

Attributes

Inherited from:
Container
def getComponentCount(): Int

Attributes

Inherited from:
Container
def getComponentListeners(): Array[ComponentListener]

Attributes

Inherited from:
Component
def getComponentOrientation(): ComponentOrientation

Attributes

Inherited from:
Component
def getComponentPopupMenu(): JPopupMenu

Attributes

Inherited from:
JComponent
def getComponentZOrder(x$0: Component): Int

Attributes

Inherited from:
Container
def getComponents(): Array[Component]

Attributes

Inherited from:
Container
def getConditionForKeyStroke(x$0: KeyStroke): Int

Attributes

Inherited from:
JComponent
def getContainerListeners(): Array[ContainerListener]

Attributes

Inherited from:
Container
def getCursor(): Cursor

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent
def getDropTarget(): DropTarget

Attributes

Inherited from:
Component
def getFocusCycleRootAncestor(): Container

Attributes

Inherited from:
Component
def getFocusListeners(): Array[FocusListener]

Attributes

Inherited from:
Component
def getFocusTraversalKeys(x$0: Int): Set[AWTKeyStroke]

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component
def getFocusTraversalPolicy(): FocusTraversalPolicy

Attributes

Inherited from:
Container
def getFont(): Font

Attributes

Inherited from:
Component
def getFontMetrics(x$0: Font): FontMetrics

Attributes

Inherited from:
JComponent
def getForeground(): Color

Attributes

Inherited from:
Component
@BeanProperty(bound = false)
def getGraphics(): Graphics

Attributes

Inherited from:
JComponent
def getGraphicsConfiguration(): GraphicsConfiguration

Attributes

Inherited from:
Component
@BeanProperty(bound = false)
def getHeight(): Int

Attributes

Inherited from:
JComponent
def getHierarchyBoundsListeners(): Array[HierarchyBoundsListener]

Attributes

Inherited from:
Component
def getHierarchyListeners(): Array[HierarchyListener]

Attributes

Inherited from:
Component
def getIgnoreRepaint(): Boolean

Attributes

Inherited from:
Component
def getInheritsPopupMenu(): Boolean

Attributes

Inherited from:
JComponent
def getInputContext(): InputContext

Attributes

Inherited from:
Component
final def getInputMap(): InputMap

Attributes

Inherited from:
JComponent
final def getInputMap(x$0: Int): InputMap

Attributes

Inherited from:
JComponent
def getInputMethodListeners(): Array[InputMethodListener]

Attributes

Inherited from:
Component
def getInputMethodRequests(): InputMethodRequests

Attributes

Inherited from:
Component
def getInputVerifier(): InputVerifier

Attributes

Inherited from:
JComponent
def getInsets(x$0: Insets): Insets

Attributes

Inherited from:
JComponent
@BeanProperty(expert = true)
def getInsets(): Insets

Attributes

Inherited from:
JComponent
def getKeyListeners(): Array[KeyListener]

Attributes

Inherited from:
Component
def getLayout(): LayoutManager

Attributes

Inherited from:
Container
def getListeners[T <: EventListener](x$0: Class[T]): Array[T]

Attributes

Inherited from:
JComponent
def getLocale(): Locale

Attributes

Inherited from:
Component
def getLocation(x$0: Point): Point

Attributes

Inherited from:
JComponent
def getLocation(): Point

Attributes

Inherited from:
Component
def getLocationOnScreen(): Point

Attributes

Inherited from:
Component
def getMaximumSize(): Dimension

Attributes

Inherited from:
JComponent
def getMinimumSize(): Dimension

Attributes

Inherited from:
JComponent
def getMouseListeners(): Array[MouseListener]

Attributes

Inherited from:
Component
def getMouseMotionListeners(): Array[MouseMotionListener]

Attributes

Inherited from:
Component
def getMousePosition(x$0: Boolean): Point

Attributes

Inherited from:
Container
def getMousePosition(): Point

Attributes

Inherited from:
Component
def getMouseWheelListeners(): Array[MouseWheelListener]

Attributes

Inherited from:
Component
def getName(): String

Attributes

Inherited from:
Component
def getParent(): Container

Attributes

Inherited from:
Component
def getPopupLocation(x$0: MouseEvent): Point

Attributes

Inherited from:
JComponent
def getPreferredSize(): Dimension

Attributes

Inherited from:
JComponent
def getPropertyChangeListeners(x$0: String): Array[PropertyChangeListener]

Attributes

Inherited from:
Component
def getPropertyChangeListeners(): Array[PropertyChangeListener]

Attributes

Inherited from:
Component
@BeanProperty(bound = false)
def getRegisteredKeyStrokes(): Array[KeyStroke]

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def getRootPane(): JRootPane

Attributes

Inherited from:
JComponent
def getSize(x$0: Dimension): Dimension

Attributes

Inherited from:
JComponent
def getSize(): Dimension

Attributes

Inherited from:
Component
def getToolTipLocation(x$0: MouseEvent): Point

Attributes

Inherited from:
JComponent
def getToolTipText(x$0: MouseEvent): String

Attributes

Inherited from:
JComponent
def getToolTipText(): String

Attributes

Inherited from:
JComponent
def getToolkit(): Toolkit

Attributes

Inherited from:
Component
@BeanProperty(bound = false)
def getTopLevelAncestor(): Container

Attributes

Inherited from:
JComponent
def getTransferHandler(): TransferHandler

Attributes

Inherited from:
JComponent
final def getTreeLock(): <FromJavaObject>

Attributes

Inherited from:
Component
def getUI(): PanelUI

Attributes

Inherited from:
JPanel
@BeanProperty(bound = false, expert = true, description = "A string that specifies the name of the L&F class.")
def getUIClassID(): String

Attributes

Inherited from:
JPanel

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def getVetoableChangeListeners(): Array[VetoableChangeListener]

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def getVisibleRect(): Rectangle

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def getWidth(): Int

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def getX(): Int

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def getY(): Int

Attributes

Inherited from:
JComponent
def grabFocus(): Unit

Attributes

Inherited from:
JComponent
def hasFocus(): Boolean

Attributes

Inherited from:
Component
def invalidate(): Unit

Attributes

Inherited from:
Container
def isAncestorOf(x$0: Component): Boolean

Attributes

Inherited from:
Container
def isBackgroundSet(): Boolean

Attributes

Inherited from:
Component
def isCursorSet(): Boolean

Attributes

Inherited from:
Component
def isDisplayable(): Boolean

Attributes

Inherited from:
Component
def isDoubleBuffered(): Boolean

Attributes

Inherited from:
JComponent
def isEnabled(): Boolean

Attributes

Inherited from:
Component
def isFocusCycleRoot(): Boolean

Attributes

Inherited from:
Container
def isFocusCycleRoot(x$0: Container): Boolean

Attributes

Inherited from:
Container
def isFocusOwner(): Boolean

Attributes

Inherited from:
Component
final def isFocusTraversalPolicyProvider(): Boolean

Attributes

Inherited from:
Container
def isFocusTraversalPolicySet(): Boolean

Attributes

Inherited from:
Container
def isFocusable(): Boolean

Attributes

Inherited from:
Component
def isFontSet(): Boolean

Attributes

Inherited from:
Component
def isForegroundSet(): Boolean

Attributes

Inherited from:
Component
def isLightweight(): Boolean

Attributes

Inherited from:
Component
def isMaximumSizeSet(): Boolean

Attributes

Inherited from:
Component
def isMinimumSizeSet(): Boolean

Attributes

Inherited from:
Component
def isOpaque(): Boolean

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def isOptimizedDrawingEnabled(): Boolean

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
final def isPaintingForPrint(): Boolean

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false)
def isPaintingTile(): Boolean

Attributes

Inherited from:
JComponent
def isPreferredSizeSet(): Boolean

Attributes

Inherited from:
Component
def isRequestFocusEnabled(): Boolean

Attributes

Inherited from:
JComponent
def isShowing(): Boolean

Attributes

Inherited from:
Component
def isValid(): Boolean

Attributes

Inherited from:
Component
def isValidateRoot(): Boolean

Attributes

Inherited from:
JComponent
def isVisible(): Boolean

Attributes

Inherited from:
Component
def list(x$0: PrintWriter, x$1: Int): Unit

Attributes

Inherited from:
Container
def list(x$0: PrintStream, x$1: Int): Unit

Attributes

Inherited from:
Container
def list(x$0: PrintWriter): Unit

Attributes

Inherited from:
Component
def list(x$0: PrintStream): Unit

Attributes

Inherited from:
Component
def list(): Unit

Attributes

Inherited from:
Component
def paint(x$0: Graphics): Unit

Attributes

Inherited from:
JComponent
def paintAll(x$0: Graphics): Unit

Attributes

Inherited from:
Component
def paintComponents(x$0: Graphics): Unit

Attributes

Inherited from:
Container
def paintImmediately(x$0: Rectangle): Unit

Attributes

Inherited from:
JComponent
def paintImmediately(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Inherited from:
JComponent
def prepareImage(x$0: Image, x$1: Int, x$2: Int, x$3: ImageObserver): Boolean

Attributes

Inherited from:
Component
def prepareImage(x$0: Image, x$1: ImageObserver): Boolean

Attributes

Inherited from:
Component
def printAll(x$0: Graphics): Unit

Attributes

Inherited from:
JComponent
def printComponents(x$0: Graphics): Unit

Attributes

Inherited from:
Container
final def putClientProperty(x$0: <FromJavaObject>, x$1: <FromJavaObject>): Unit

Attributes

Inherited from:
JComponent
def registerKeyboardAction(x$0: ActionListener, x$1: KeyStroke, x$2: Int): Unit

Attributes

Inherited from:
JComponent
def registerKeyboardAction(x$0: ActionListener, x$1: String, x$2: KeyStroke, x$3: Int): Unit

Attributes

Inherited from:
JComponent
def remove(x$0: Component): Unit

Attributes

Inherited from:
Container
def remove(x$0: Int): Unit

Attributes

Inherited from:
Container
def remove(x$0: MenuComponent): Unit

Attributes

Inherited from:
Component
def removeAll(): Unit

Attributes

Inherited from:
Container
def removeAncestorListener(x$0: AncestorListener): Unit

Attributes

Inherited from:
JComponent
def removeComponentListener(x$0: ComponentListener): Unit

Attributes

Inherited from:
Component
def removeContainerListener(x$0: ContainerListener): Unit

Attributes

Inherited from:
Container
def removeFocusListener(x$0: FocusListener): Unit

Attributes

Inherited from:
Component
def removeHierarchyBoundsListener(x$0: HierarchyBoundsListener): Unit

Attributes

Inherited from:
Component
def removeHierarchyListener(x$0: HierarchyListener): Unit

Attributes

Inherited from:
Component
def removeInputMethodListener(x$0: InputMethodListener): Unit

Attributes

Inherited from:
Component
def removeKeyListener(x$0: KeyListener): Unit

Attributes

Inherited from:
Component
def removeMouseListener(x$0: MouseListener): Unit

Attributes

Inherited from:
Component
def removeMouseMotionListener(x$0: MouseMotionListener): Unit

Attributes

Inherited from:
Component
def removeMouseWheelListener(x$0: MouseWheelListener): Unit

Attributes

Inherited from:
Component
def removeNotify(): Unit

Attributes

Inherited from:
JComponent
def removePropertyChangeListener(x$0: String, x$1: PropertyChangeListener): Unit

Attributes

Inherited from:
Component
def removePropertyChangeListener(x$0: PropertyChangeListener): Unit

Attributes

Inherited from:
Component
def removeVetoableChangeListener(x$0: VetoableChangeListener): Unit

Attributes

Inherited from:
JComponent
def repaint(x$0: Rectangle): Unit

Attributes

Inherited from:
JComponent
def repaint(x$0: Long, x$1: Int, x$2: Int, x$3: Int, x$4: Int): Unit

Attributes

Inherited from:
JComponent
def repaint(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Inherited from:
Component
def repaint(x$0: Long): Unit

Attributes

Inherited from:
Component
def repaint(): Unit

Attributes

Inherited from:
Component
def requestFocus(x$0: Boolean): Boolean

Attributes

Inherited from:
JComponent
def requestFocus(): Unit

Attributes

Inherited from:
JComponent
def requestFocus(x$0: Cause): Unit

Attributes

Inherited from:
Component
def requestFocusInWindow(): Boolean

Attributes

Inherited from:
JComponent
def requestFocusInWindow(x$0: Cause): Boolean

Attributes

Inherited from:
Component
def resetKeyboardActions(): Unit

Attributes

Inherited from:
JComponent
def revalidate(): Unit

Attributes

Inherited from:
JComponent
def scrollRectToVisible(x$0: Rectangle): Unit

Attributes

Inherited from:
JComponent
final def setActionMap(x$0: ActionMap): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(description = "The preferred horizontal alignment of the component.")
def setAlignmentX(x$0: Float): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(description = "The preferred vertical alignment of the component.")
def setAlignmentY(x$0: Float): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = true, description = "Determines if this component automatically scrolls its contents when dragged.")
def setAutoscrolls(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(preferred = true, visualUpdate = true, description = "The background color of the component.")
def setBackground(x$0: Color): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(preferred = true, visualUpdate = true, description = "The component\'s border.")
def setBorder(x$0: Border): Unit

Attributes

Inherited from:
JComponent
def setBounds(x$0: Rectangle): Unit

Attributes

Inherited from:
Component
def setBounds(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Inherited from:
Component
def setComponentOrientation(x$0: ComponentOrientation): Unit

Attributes

Inherited from:
Component
@BeanProperty(preferred = true, description = "Popup to show")
def setComponentPopupMenu(x$0: JPopupMenu): Unit

Attributes

Inherited from:
JComponent
def setComponentZOrder(x$0: Component, x$1: Int): Unit

Attributes

Inherited from:
Container
def setCursor(x$0: Cursor): Unit

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")
def setDebugGraphicsOptions(x$0: Int): Unit

Attributes

Inherited from:
JComponent
def setDoubleBuffered(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
def setDropTarget(x$0: DropTarget): Unit

Attributes

Inherited from:
Component
@BeanProperty(expert = true, preferred = true, visualUpdate = true, description = "The enabled state of the component.")
def setEnabled(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
def setFocusCycleRoot(x$0: Boolean): Unit

Attributes

Inherited from:
Container
def setFocusTraversalKeys(x$0: Int, x$1: Set[_ <: AWTKeyStroke]): Unit

Attributes

Inherited from:
JComponent
def setFocusTraversalKeysEnabled(x$0: Boolean): Unit

Attributes

Inherited from:
Component
def setFocusTraversalPolicy(x$0: FocusTraversalPolicy): Unit

Attributes

Inherited from:
Container
final def setFocusTraversalPolicyProvider(x$0: Boolean): Unit

Attributes

Inherited from:
Container
def setFocusable(x$0: Boolean): Unit

Attributes

Inherited from:
Component
@BeanProperty(preferred = true, visualUpdate = true, description = "The font for the component.")
def setFont(x$0: Font): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(preferred = true, visualUpdate = true, description = "The foreground color of the component.")
def setForeground(x$0: Color): Unit

Attributes

Inherited from:
JComponent
def setIgnoreRepaint(x$0: Boolean): Unit

Attributes

Inherited from:
Component
@BeanProperty(description = "Whether or not the JPopupMenu is inherited")
def setInheritsPopupMenu(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
final def setInputMap(x$0: Int, x$1: InputMap): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(description = "The component\'s input verifier.")
def setInputVerifier(x$0: InputVerifier): Unit

Attributes

Inherited from:
JComponent
def setLayout(x$0: LayoutManager): Unit

Attributes

Inherited from:
Container
def setLocale(x$0: Locale): Unit

Attributes

Inherited from:
Component
def setLocation(x$0: Point): Unit

Attributes

Inherited from:
Component
def setLocation(x$0: Int, x$1: Int): Unit

Attributes

Inherited from:
Component
@BeanProperty(description = "The maximum size of the component.")
def setMaximumSize(x$0: Dimension): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(description = "The minimum size of the component.")
def setMinimumSize(x$0: Dimension): Unit

Attributes

Inherited from:
JComponent
def setMixingCutoutShape(x$0: Shape): Unit

Attributes

Inherited from:
Component
def setName(x$0: String): Unit

Attributes

Inherited from:
Component
@BeanProperty(expert = true, description = "The component\'s opacity")
def setOpaque(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(preferred = true, description = "The preferred size of the component.")
def setPreferredSize(x$0: Dimension): Unit

Attributes

Inherited from:
JComponent
def setRequestFocusEnabled(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
def setSize(x$0: Dimension): Unit

Attributes

Inherited from:
Component
def setSize(x$0: Int, x$1: Int): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = false, preferred = true, description = "The text to display in a tool tip.")
def setToolTipText(x$0: String): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(hidden = true, description = "Mechanism for transfer of data to and from the component")
def setTransferHandler(x$0: TransferHandler): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(hidden = true, visualUpdate = true, description = "The UI object that implements the Component\'s LookAndFeel.")
def setUI(x$0: PanelUI): Unit

Attributes

Inherited from:
JPanel
@BeanProperty(description = "Whether the Component verifies input before accepting focus.")
def setVerifyInputWhenFocusTarget(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(hidden = true, visualUpdate = true)
def setVisible(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
def toString(): String

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
def transferFocus(): Unit

Attributes

Inherited from:
Component
def transferFocusBackward(): Unit

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container
def transferFocusUpCycle(): Unit

Attributes

Inherited from:
Component
def unregisterKeyboardAction(x$0: KeyStroke): Unit

Attributes

Inherited from:
JComponent
def update(x$0: Graphics): Unit

Attributes

Inherited from:
JComponent
def updateUI(): Unit

Attributes

Inherited from:
JPanel
def validate(): Unit

Attributes

Inherited from:
Container

Deprecated and Inherited methods

@Deprecated
def action(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def bounds(): Rectangle

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def countComponents(): Int

Attributes

Deprecated
true
Inherited from:
Container
@Deprecated
def deliverEvent(x$0: Event): Unit

Attributes

Deprecated
true
Inherited from:
Container
@Deprecated
def disable(): Unit

Attributes

Deprecated
true
Inherited from:
JComponent
@Deprecated
def enable(): Unit

Attributes

Deprecated
true
Inherited from:
JComponent
@Deprecated
def enable(x$0: Boolean): Unit

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def getNextFocusableComponent(): Component

Attributes

Deprecated
true
Inherited from:
JComponent
@Deprecated
def gotFocus(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def handleEvent(x$0: Event): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def hide(): Unit

Attributes

Deprecated
true
Inherited from:
JComponent
@Deprecated
def insets(): Insets

Attributes

Deprecated
true
Inherited from:
Container
@Deprecated
def inside(x$0: Int, x$1: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def isFocusTraversable(): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated @BeanProperty(bound = false)
def isManagingFocus(): Boolean

Attributes

Deprecated
true
Inherited from:
JComponent
@Deprecated
def keyDown(x$0: Event, x$1: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def keyUp(x$0: Event, x$1: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def layout(): Unit

Attributes

Deprecated
true
Inherited from:
Container
@Deprecated
def locate(x$0: Int, x$1: Int): Component

Attributes

Deprecated
true
Inherited from:
Container
@Deprecated
def location(): Point

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def lostFocus(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def minimumSize(): Dimension

Attributes

Deprecated
true
Inherited from:
Container
@Deprecated
def mouseDown(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def mouseDrag(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def mouseEnter(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def mouseExit(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def mouseMove(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def mouseUp(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def move(x$0: Int, x$1: Int): Unit

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def nextFocus(): Unit

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def postEvent(x$0: Event): Boolean

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def preferredSize(): Dimension

Attributes

Deprecated
true
Inherited from:
Container
@Deprecated
def requestDefaultFocus(): Boolean

Attributes

Deprecated
true
Inherited from:
JComponent
@Deprecated
def reshape(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Deprecated
true
Inherited from:
JComponent
@Deprecated
def resize(x$0: Dimension): Unit

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def resize(x$0: Int, x$1: Int): Unit

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def setNextFocusableComponent(x$0: Component): Unit

Attributes

Deprecated
true
Inherited from:
JComponent
@Deprecated
def show(x$0: Boolean): Unit

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def show(): Unit

Attributes

Deprecated
true
Inherited from:
Component
@Deprecated
def size(): Dimension

Attributes

Deprecated
true
Inherited from:
Component

Concrete fields

val g: Graphics2D

Attributes

Source
Swing.scala
val img: BufferedImage

Attributes

Source
Swing.scala
val initBackground: Color

Attributes

Source
Swing.scala
val initHeight: Int

Attributes

Source
Swing.scala
val initWidth: Int

Attributes

Source
Swing.scala