Packages

  • package root
    Definition Classes
    root
  • package hevs
    Definition Classes
    root
  • package graphics

    A library used for teaching computer science in the ISC degree programme, notably for the course _101.1 Imperative programming_.

    A library used for teaching computer science in the ISC degree programme, notably for the course _101.1 Imperative programming_.

    The library provides classes for simple graphical drawing, with primitives such as points and lines drawing, simple text with different fonts, ... Input primitives are also available using keyboard or mouse. Several examples are also provided.

    Overview

    Here is how to create a window and draw a circle on it using FunGraphics :

    val f = new FunGraphics(400, 300)
    f.drawCircle(200,150, 50)
    Definition Classes
    hevs
  • package advanced
    Definition Classes
    graphics
  • package interfaces
    Definition Classes
    graphics
  • package samples
    Definition Classes
    graphics
  • package utils
    Definition Classes
    graphics
  • AcceleratedDisplay
  • FunGraphics
  • ImageGraphics
  • TurtleGraphics

class ImageGraphics extends JFrame

This class was made to deal with images as multidimensional arrays. Mainly used in the ImageProcessing lab. It expects the images to reside in the src directory

Annotations
@SerialVersionUID()
Version

1.0

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImageGraphics
  2. JFrame
  3. HasGetTransferHandler
  4. RootPaneContainer
  5. WindowConstants
  6. Frame
  7. Window
  8. Accessible
  9. Container
  10. Component
  11. Serializable
  12. MenuContainer
  13. ImageObserver
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ImageGraphics(backGroundFilePath: String, windowTitle: String, xPositionOffset: Int, yPositionOffset: Int)

    backGroundFilePath

    the path of the file

    windowTitle

    the title

    xPositionOffset

    the x offset

    yPositionOffset

    the y offset

Type Members

  1. abstract class AccessibleAWTComponent extends AccessibleContext with Serializable with AccessibleComponent
    Attributes
    protected[awt]
    Definition Classes
    Component
  2. class AccessibleAWTContainer extends AccessibleAWTComponent
    Attributes
    protected[awt]
    Definition Classes
    Container
  3. class AccessibleAWTFrame extends AccessibleAWTWindow
    Attributes
    protected[awt]
    Definition Classes
    Frame
  4. class AccessibleAWTWindow extends AccessibleAWTContainer
    Attributes
    protected[awt]
    Definition Classes
    Window
  5. class AccessibleJFrame extends AccessibleAWTFrame
    Attributes
    protected[swing]
    Definition Classes
    JFrame
  6. class BltBufferStrategy extends BufferStrategy
    Attributes
    protected[awt]
    Definition Classes
    Component
  7. class FlipBufferStrategy extends BufferStrategy
    Attributes
    protected[awt]
    Definition Classes
    Component

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(arg0: Component, arg1: AnyRef, arg2: Int): Unit
    Definition Classes
    Container
  5. def add(arg0: Component, arg1: AnyRef): Unit
    Definition Classes
    Container
  6. def add(arg0: Component, arg1: Int): Component
    Definition Classes
    Container
  7. def add(arg0: String, arg1: Component): Component
    Definition Classes
    Container
  8. def add(arg0: Component): Component
    Definition Classes
    Container
  9. def add(arg0: PopupMenu): Unit
    Definition Classes
    Component
  10. def addComponentListener(arg0: ComponentListener): Unit
    Definition Classes
    Component
  11. def addContainerListener(arg0: ContainerListener): Unit
    Definition Classes
    Container
  12. def addFocusListener(arg0: FocusListener): Unit
    Definition Classes
    Component
  13. def addHierarchyBoundsListener(arg0: HierarchyBoundsListener): Unit
    Definition Classes
    Component
  14. def addHierarchyListener(arg0: HierarchyListener): Unit
    Definition Classes
    Component
  15. def addImpl(arg0: Component, arg1: AnyRef, arg2: Int): Unit
    Attributes
    protected[swing]
    Definition Classes
    JFrame → Container
  16. def addInputMethodListener(arg0: InputMethodListener): Unit
    Definition Classes
    Component
  17. def addKeyListener(arg0: KeyListener): Unit
    Definition Classes
    Component
  18. def addMouseListener(arg0: MouseListener): Unit
    Definition Classes
    Component
  19. def addMouseMotionListener(arg0: MouseMotionListener): Unit
    Definition Classes
    Component
  20. def addMouseWheelListener(arg0: MouseWheelListener): Unit
    Definition Classes
    Component
  21. def addNotify(): Unit
    Definition Classes
    Frame → Window → Container → Component
  22. def addPropertyChangeListener(arg0: String, arg1: PropertyChangeListener): Unit
    Definition Classes
    Window → Container → Component
  23. def addPropertyChangeListener(arg0: PropertyChangeListener): Unit
    Definition Classes
    Window → Container → Component
  24. def addWindowFocusListener(arg0: WindowFocusListener): Unit
    Definition Classes
    Window
  25. def addWindowListener(arg0: WindowListener): Unit
    Definition Classes
    Window
  26. def addWindowStateListener(arg0: WindowStateListener): Unit
    Definition Classes
    Window
  27. def applyComponentOrientation(arg0: ComponentOrientation): Unit
    Definition Classes
    Container → Component
  28. def areFocusTraversalKeysSet(arg0: Int): Boolean
    Definition Classes
    Container → Component
  29. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  30. val backGroundFilePath: String
  31. def checkImage(arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Int
    Definition Classes
    Component
  32. def checkImage(arg0: Image, arg1: ImageObserver): Int
    Definition Classes
    Component
  33. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  34. def coalesceEvents(arg0: AWTEvent, arg1: AWTEvent): AWTEvent
    Attributes
    protected[awt]
    Definition Classes
    Component
  35. def contains(arg0: Point): Boolean
    Definition Classes
    Component
  36. def contains(arg0: Int, arg1: Int): Boolean
    Definition Classes
    Component
  37. def createBufferStrategy(arg0: Int, arg1: BufferCapabilities): Unit
    Definition Classes
    Window → Component
    Annotations
    @throws(classOf[java.awt.AWTException])
  38. def createBufferStrategy(arg0: Int): Unit
    Definition Classes
    Window → Component
  39. def createImage(arg0: Int, arg1: Int): Image
    Definition Classes
    Component
  40. def createImage(arg0: ImageProducer): Image
    Definition Classes
    Component
  41. def createRootPane(): JRootPane
    Attributes
    protected[swing]
    Definition Classes
    JFrame
  42. def createVolatileImage(arg0: Int, arg1: Int, arg2: ImageCapabilities): VolatileImage
    Definition Classes
    Component
    Annotations
    @throws(classOf[java.awt.AWTException])
  43. def createVolatileImage(arg0: Int, arg1: Int): VolatileImage
    Definition Classes
    Component
  44. final def disableEvents(arg0: Long): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  45. final def dispatchEvent(arg0: AWTEvent): Unit
    Definition Classes
    Component
  46. def dispose(): Unit
    Definition Classes
    Window
  47. def doLayout(): Unit
    Definition Classes
    Container → Component
  48. final def enableEvents(arg0: Long): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  49. def enableInputMethods(arg0: Boolean): Unit
    Definition Classes
    Component
  50. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  52. def findComponentAt(arg0: Point): Component
    Definition Classes
    Container
  53. def findComponentAt(arg0: Int, arg1: Int): Component
    Definition Classes
    Container
  54. def firePropertyChange(arg0: String, arg1: Double, arg2: Double): Unit
    Definition Classes
    Component
  55. def firePropertyChange(arg0: String, arg1: Float, arg2: Float): Unit
    Definition Classes
    Component
  56. def firePropertyChange(arg0: String, arg1: Long, arg2: Long): Unit
    Definition Classes
    Component
  57. def firePropertyChange(arg0: String, arg1: Short, arg2: Short): Unit
    Definition Classes
    Component
  58. def firePropertyChange(arg0: String, arg1: Char, arg2: Char): Unit
    Definition Classes
    Component
  59. def firePropertyChange(arg0: String, arg1: Byte, arg2: Byte): Unit
    Definition Classes
    Component
  60. def firePropertyChange(arg0: String, arg1: Int, arg2: Int): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  61. def firePropertyChange(arg0: String, arg1: Boolean, arg2: Boolean): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  62. def firePropertyChange(arg0: String, arg1: AnyRef, arg2: AnyRef): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  63. def frameInit(): Unit
    Attributes
    protected[swing]
    Definition Classes
    JFrame
  64. def getAccessibleContext(): AccessibleContext
    Definition Classes
    JFrame → Frame → Window → Accessible → Component
  65. def getAlignmentX(): Float
    Definition Classes
    Container → Component
  66. def getAlignmentY(): Float
    Definition Classes
    Container → Component
  67. def getBackground(): Color
    Definition Classes
    Window → Component
  68. def getBaseline(arg0: Int, arg1: Int): Int
    Definition Classes
    Component
  69. def getBaselineResizeBehavior(): BaselineResizeBehavior
    Definition Classes
    Component
  70. def getBounds(arg0: Rectangle): Rectangle
    Definition Classes
    Component
  71. def getBounds(): Rectangle
    Definition Classes
    Component
  72. def getBufferStrategy(): BufferStrategy
    Definition Classes
    Window → Component
  73. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  74. def getColorModel(): ColorModel
    Definition Classes
    Component
  75. def getComponent(arg0: Int): Component
    Definition Classes
    Container
  76. def getComponentAt(arg0: Point): Component
    Definition Classes
    Container → Component
  77. def getComponentAt(arg0: Int, arg1: Int): Component
    Definition Classes
    Container → Component
  78. def getComponentCount(): Int
    Definition Classes
    Container
  79. def getComponentListeners(): Array[ComponentListener]
    Definition Classes
    Component
  80. def getComponentOrientation(): ComponentOrientation
    Definition Classes
    Component
  81. def getComponentZOrder(arg0: Component): Int
    Definition Classes
    Container
  82. def getComponents(): Array[Component]
    Definition Classes
    Container
  83. def getContainerListeners(): Array[ContainerListener]
    Definition Classes
    Container
  84. def getContentPane(): Container
    Definition Classes
    JFrame → RootPaneContainer
  85. def getCursor(): Cursor
    Definition Classes
    Component
  86. def getDefaultCloseOperation(): Int
    Definition Classes
    JFrame
  87. def getDropTarget(): DropTarget
    Definition Classes
    Component
  88. def getExtendedState(): Int
    Definition Classes
    Frame
  89. final def getFocusCycleRootAncestor(): Container
    Definition Classes
    Window → Component
  90. def getFocusListeners(): Array[FocusListener]
    Definition Classes
    Component
  91. def getFocusOwner(): Component
    Definition Classes
    Window
  92. def getFocusTraversalKeys(arg0: Int): Set[AWTKeyStroke]
    Definition Classes
    Window → Container → Component
  93. def getFocusTraversalKeysEnabled(): Boolean
    Definition Classes
    Component
  94. def getFocusTraversalPolicy(): FocusTraversalPolicy
    Definition Classes
    Container
  95. def getFocusableWindowState(): Boolean
    Definition Classes
    Window
  96. def getFont(): Font
    Definition Classes
    Component → MenuContainer
    Annotations
    @Transient()
  97. def getFontMetrics(arg0: Font): FontMetrics
    Definition Classes
    Component
  98. def getForeground(): Color
    Definition Classes
    Component
    Annotations
    @Transient()
  99. def getGlassPane(): Component
    Definition Classes
    JFrame → RootPaneContainer
  100. def getGraphics(): Graphics
    Definition Classes
    JFrame → Component
    Annotations
    @BeanProperty()
  101. def getGraphicsConfiguration(): GraphicsConfiguration
    Definition Classes
    Component
  102. def getHeight(): Int
    Definition Classes
    Component
  103. def getHierarchyBoundsListeners(): Array[HierarchyBoundsListener]
    Definition Classes
    Component
  104. def getHierarchyListeners(): Array[HierarchyListener]
    Definition Classes
    Component
  105. def getIconImage(): Image
    Definition Classes
    Frame
  106. def getIconImages(): List[Image]
    Definition Classes
    Window
  107. def getIgnoreRepaint(): Boolean
    Definition Classes
    Component
  108. def getInputContext(): InputContext
    Definition Classes
    Window → Component
  109. def getInputMethodListeners(): Array[InputMethodListener]
    Definition Classes
    Component
  110. def getInputMethodRequests(): InputMethodRequests
    Definition Classes
    Component
  111. def getInsets(): Insets
    Definition Classes
    Container
  112. def getJMenuBar(): JMenuBar
    Definition Classes
    JFrame
  113. def getKeyListeners(): Array[KeyListener]
    Definition Classes
    Component
  114. def getLayeredPane(): JLayeredPane
    Definition Classes
    JFrame → RootPaneContainer
  115. def getLayout(): LayoutManager
    Definition Classes
    Container
  116. def getListeners[T <: EventListener](arg0: Class[T]): Array[T]
    Definition Classes
    Window → Container → Component
  117. def getLocale(): Locale
    Definition Classes
    Window → Component
  118. def getLocation(arg0: Point): Point
    Definition Classes
    Component
  119. def getLocation(): Point
    Definition Classes
    Component
  120. def getLocationOnScreen(): Point
    Definition Classes
    Component
  121. def getMaximizedBounds(): Rectangle
    Definition Classes
    Frame
  122. def getMaximumSize(): Dimension
    Definition Classes
    Container → Component
  123. def getMenuBar(): MenuBar
    Definition Classes
    Frame
  124. def getMinimumSize(): Dimension
    Definition Classes
    Container → Component
  125. def getModalExclusionType(): ModalExclusionType
    Definition Classes
    Window
  126. def getMostRecentFocusOwner(): Component
    Definition Classes
    Window
  127. def getMouseListeners(): Array[MouseListener]
    Definition Classes
    Component
  128. def getMouseMotionListeners(): Array[MouseMotionListener]
    Definition Classes
    Component
  129. def getMousePosition(arg0: Boolean): Point
    Definition Classes
    Container
    Annotations
    @throws(classOf[java.awt.HeadlessException])
  130. def getMousePosition(): Point
    Definition Classes
    Component
    Annotations
    @throws(classOf[java.awt.HeadlessException])
  131. def getMouseWheelListeners(): Array[MouseWheelListener]
    Definition Classes
    Component
  132. def getName(): String
    Definition Classes
    Component
  133. def getOpacity(): Float
    Definition Classes
    Window
  134. def getOwnedWindows(): Array[Window]
    Definition Classes
    Window
  135. def getOwner(): Window
    Definition Classes
    Window
  136. def getParent(): Container
    Definition Classes
    Component
  137. def getPixelBW(x: Int, y: Int): Int

    Gets a single pixel from the background image and returns its grayscale value

    Gets a single pixel from the background image and returns its grayscale value

    x

    the x coordinate

    y

    the y coordinate

    returns

    the pixel's grayscale value

  138. def getPixelsBW(): Array[Array[Int]]

    Gets the array of the pixels (which have been converted to grayscale if required)

    Gets the array of the pixels (which have been converted to grayscale if required)

    returns

    the 2D array of grayscale pixels

  139. def getPixelsColor(): Array[Array[Color]]

    Gets the array of the pixels as Colors

    Gets the array of the pixels as Colors

    returns

    the 2D array of Color pixels

  140. def getPreferredSize(): Dimension
    Definition Classes
    Container → Component
  141. def getPropertyChangeListeners(arg0: String): Array[PropertyChangeListener]
    Definition Classes
    Component
  142. def getPropertyChangeListeners(): Array[PropertyChangeListener]
    Definition Classes
    Component
  143. def getRootPane(): JRootPane
    Definition Classes
    JFrame → RootPaneContainer
    Annotations
    @BeanProperty()
  144. def getShape(): Shape
    Definition Classes
    Window
  145. def getSize(arg0: Dimension): Dimension
    Definition Classes
    Component
  146. def getSize(): Dimension
    Definition Classes
    Component
  147. def getState(): Int
    Definition Classes
    Frame
  148. def getTitle(): String
    Definition Classes
    Frame
  149. def getToolkit(): Toolkit
    Definition Classes
    Window → Component
  150. def getTransferHandler(): TransferHandler
    Definition Classes
    JFrame → HasGetTransferHandler
  151. final def getTreeLock(): AnyRef
    Definition Classes
    Component
  152. def getType(): Type
    Definition Classes
    Window
  153. final def getWarningString(): String
    Definition Classes
    Window
  154. def getWidth(): Int
    Definition Classes
    Component
  155. def getWindowFocusListeners(): Array[WindowFocusListener]
    Definition Classes
    Window
  156. def getWindowListeners(): Array[WindowListener]
    Definition Classes
    Window
  157. def getWindowStateListeners(): Array[WindowStateListener]
    Definition Classes
    Window
  158. def getX(): Int
    Definition Classes
    Component
  159. def getY(): Int
    Definition Classes
    Component
  160. def hasFocus(): Boolean
    Definition Classes
    Component
  161. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  162. def imageUpdate(arg0: Image, arg1: Int, arg2: Int, arg3: Int, arg4: Int, arg5: Int): Boolean
    Definition Classes
    Component → ImageObserver
  163. def invalidate(): Unit
    Definition Classes
    Container → Component
  164. def isActive(): Boolean
    Definition Classes
    Window
  165. final def isAlwaysOnTop(): Boolean
    Definition Classes
    Window
  166. def isAlwaysOnTopSupported(): Boolean
    Definition Classes
    Window
  167. def isAncestorOf(arg0: Component): Boolean
    Definition Classes
    Container
  168. def isAutoRequestFocus(): Boolean
    Definition Classes
    Window
  169. def isBackgroundSet(): Boolean
    Definition Classes
    Component
  170. def isCursorSet(): Boolean
    Definition Classes
    Component
  171. def isDisplayable(): Boolean
    Definition Classes
    Component
  172. def isDoubleBuffered(): Boolean
    Definition Classes
    Component
  173. def isEnabled(): Boolean
    Definition Classes
    Component
  174. final def isFocusCycleRoot(): Boolean
    Definition Classes
    Window → Container
  175. def isFocusCycleRoot(arg0: Container): Boolean
    Definition Classes
    Container → Component
  176. def isFocusOwner(): Boolean
    Definition Classes
    Component
  177. final def isFocusTraversalPolicyProvider(): Boolean
    Definition Classes
    Container
  178. def isFocusTraversalPolicySet(): Boolean
    Definition Classes
    Container
  179. def isFocusable(): Boolean
    Definition Classes
    Component
  180. final def isFocusableWindow(): Boolean
    Definition Classes
    Window
  181. def isFocused(): Boolean
    Definition Classes
    Window
  182. def isFontSet(): Boolean
    Definition Classes
    Component
  183. def isForegroundSet(): Boolean
    Definition Classes
    Component
  184. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  185. def isLightweight(): Boolean
    Definition Classes
    Component
  186. def isLocationByPlatform(): Boolean
    Definition Classes
    Window
  187. def isMaximumSizeSet(): Boolean
    Definition Classes
    Component
  188. def isMinimumSizeSet(): Boolean
    Definition Classes
    Component
  189. def isOpaque(): Boolean
    Definition Classes
    Window → Component
  190. def isPreferredSizeSet(): Boolean
    Definition Classes
    Component
  191. def isResizable(): Boolean
    Definition Classes
    Frame
  192. def isRootPaneCheckingEnabled(): Boolean
    Attributes
    protected[swing]
    Definition Classes
    JFrame
  193. def isShowing(): Boolean
    Definition Classes
    Window → Component
  194. def isUndecorated(): Boolean
    Definition Classes
    Frame
  195. def isValid(): Boolean
    Definition Classes
    Component
  196. def isValidateRoot(): Boolean
    Definition Classes
    Window → Container
  197. def isVisible(): Boolean
    Definition Classes
    Component
    Annotations
    @Transient()
  198. def list(arg0: PrintWriter, arg1: Int): Unit
    Definition Classes
    Container → Component
  199. def list(arg0: PrintStream, arg1: Int): Unit
    Definition Classes
    Container → Component
  200. def list(arg0: PrintWriter): Unit
    Definition Classes
    Component
  201. def list(arg0: PrintStream): Unit
    Definition Classes
    Component
  202. def list(): Unit
    Definition Classes
    Component
  203. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  204. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  205. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  206. def pack(): Unit
    Definition Classes
    Window
  207. def paint(g: Graphics): Unit

    Paint method

    Paint method

    Definition Classes
    ImageGraphics → Window → Container → Component
  208. def paintAll(arg0: Graphics): Unit
    Definition Classes
    Component
  209. def paintComponents(arg0: Graphics): Unit
    Definition Classes
    Container
  210. def paramString(): String
    Attributes
    protected[swing]
    Definition Classes
    JFrame → Frame → Container → Component
  211. def prepareImage(arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Boolean
    Definition Classes
    Component
  212. def prepareImage(arg0: Image, arg1: ImageObserver): Boolean
    Definition Classes
    Component
  213. def print(arg0: Graphics): Unit
    Definition Classes
    Container → Component
  214. def printAll(arg0: Graphics): Unit
    Definition Classes
    Component
  215. def printComponents(arg0: Graphics): Unit
    Definition Classes
    Container
  216. def processComponentEvent(arg0: ComponentEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  217. def processContainerEvent(arg0: ContainerEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Container
  218. def processEvent(arg0: AWTEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Window → Container → Component
  219. def processFocusEvent(arg0: FocusEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  220. def processHierarchyBoundsEvent(arg0: HierarchyEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  221. def processHierarchyEvent(arg0: HierarchyEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  222. def processInputMethodEvent(arg0: InputMethodEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  223. def processKeyEvent(arg0: KeyEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  224. def processMouseEvent(arg0: MouseEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  225. def processMouseMotionEvent(arg0: MouseEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  226. def processMouseWheelEvent(arg0: MouseWheelEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Component
  227. def processWindowEvent(arg0: WindowEvent): Unit
    Attributes
    protected[swing]
    Definition Classes
    JFrame → Window
  228. def processWindowFocusEvent(arg0: WindowEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Window
  229. def processWindowStateEvent(arg0: WindowEvent): Unit
    Attributes
    protected[awt]
    Definition Classes
    Window
  230. def remove(arg0: Component): Unit
    Definition Classes
    JFrame → Container
  231. def remove(arg0: MenuComponent): Unit
    Definition Classes
    Frame → Component → MenuContainer
  232. def remove(arg0: Int): Unit
    Definition Classes
    Container
  233. def removeAll(): Unit
    Definition Classes
    Container
  234. def removeComponentListener(arg0: ComponentListener): Unit
    Definition Classes
    Component
  235. def removeContainerListener(arg0: ContainerListener): Unit
    Definition Classes
    Container
  236. def removeFocusListener(arg0: FocusListener): Unit
    Definition Classes
    Component
  237. def removeHierarchyBoundsListener(arg0: HierarchyBoundsListener): Unit
    Definition Classes
    Component
  238. def removeHierarchyListener(arg0: HierarchyListener): Unit
    Definition Classes
    Component
  239. def removeInputMethodListener(arg0: InputMethodListener): Unit
    Definition Classes
    Component
  240. def removeKeyListener(arg0: KeyListener): Unit
    Definition Classes
    Component
  241. def removeMouseListener(arg0: MouseListener): Unit
    Definition Classes
    Component
  242. def removeMouseMotionListener(arg0: MouseMotionListener): Unit
    Definition Classes
    Component
  243. def removeMouseWheelListener(arg0: MouseWheelListener): Unit
    Definition Classes
    Component
  244. def removeNotify(): Unit
    Definition Classes
    Frame → Window → Container → Component
  245. def removePropertyChangeListener(arg0: String, arg1: PropertyChangeListener): Unit
    Definition Classes
    Component
  246. def removePropertyChangeListener(arg0: PropertyChangeListener): Unit
    Definition Classes
    Component
  247. def removeWindowFocusListener(arg0: WindowFocusListener): Unit
    Definition Classes
    Window
  248. def removeWindowListener(arg0: WindowListener): Unit
    Definition Classes
    Window
  249. def removeWindowStateListener(arg0: WindowStateListener): Unit
    Definition Classes
    Window
  250. def repaint(arg0: Long, arg1: Int, arg2: Int, arg3: Int, arg4: Int): Unit
    Definition Classes
    JFrame → Component
  251. def repaint(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
    Definition Classes
    Component
  252. def repaint(arg0: Long): Unit
    Definition Classes
    Component
  253. def repaint(): Unit
    Definition Classes
    Component
  254. def requestFocus(arg0: Boolean, arg1: Cause): Boolean
    Attributes
    protected[awt]
    Definition Classes
    Component
  255. def requestFocus(arg0: Boolean): Boolean
    Attributes
    protected[awt]
    Definition Classes
    Component
  256. def requestFocus(arg0: Cause): Unit
    Definition Classes
    Component
  257. def requestFocus(): Unit
    Definition Classes
    Component
  258. def requestFocusInWindow(arg0: Boolean): Boolean
    Attributes
    protected[awt]
    Definition Classes
    Component
  259. def requestFocusInWindow(arg0: Cause): Boolean
    Definition Classes
    Component
  260. def requestFocusInWindow(): Boolean
    Definition Classes
    Component
  261. def revalidate(): Unit
    Definition Classes
    Component
  262. final def setAlwaysOnTop(arg0: Boolean): Unit
    Definition Classes
    Window
    Annotations
    @throws(classOf[java.lang.SecurityException])
  263. def setAutoRequestFocus(arg0: Boolean): Unit
    Definition Classes
    Window
  264. def setBackground(arg0: Color): Unit
    Definition Classes
    Frame → Window → Component
  265. def setBounds(arg0: Rectangle): Unit
    Definition Classes
    Window → Component
  266. def setBounds(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
    Definition Classes
    Window → Component
  267. def setComponentOrientation(arg0: ComponentOrientation): Unit
    Definition Classes
    Component
  268. def setComponentZOrder(arg0: Component, arg1: Int): Unit
    Definition Classes
    Container
  269. def setContentPane(arg0: Container): Unit
    Definition Classes
    JFrame → RootPaneContainer
    Annotations
    @BeanProperty()
  270. def setCursor(arg0: Cursor): Unit
    Definition Classes
    Window → Component
  271. def setDefaultCloseOperation(arg0: Int): Unit
    Definition Classes
    JFrame
    Annotations
    @BeanProperty()
  272. def setDropTarget(arg0: DropTarget): Unit
    Definition Classes
    Component
  273. def setEnabled(arg0: Boolean): Unit
    Definition Classes
    Component
  274. def setExtendedState(arg0: Int): Unit
    Definition Classes
    Frame
  275. final def setFocusCycleRoot(arg0: Boolean): Unit
    Definition Classes
    Window → Container
  276. def setFocusTraversalKeys(arg0: Int, arg1: Set[_ <: AWTKeyStroke]): Unit
    Definition Classes
    Container → Component
  277. def setFocusTraversalKeysEnabled(arg0: Boolean): Unit
    Definition Classes
    Component
  278. def setFocusTraversalPolicy(arg0: FocusTraversalPolicy): Unit
    Definition Classes
    Container
  279. final def setFocusTraversalPolicyProvider(arg0: Boolean): Unit
    Definition Classes
    Container
  280. def setFocusable(arg0: Boolean): Unit
    Definition Classes
    Component
  281. def setFocusableWindowState(arg0: Boolean): Unit
    Definition Classes
    Window
  282. def setFont(arg0: Font): Unit
    Definition Classes
    Container → Component
  283. def setForeground(arg0: Color): Unit
    Definition Classes
    Component
  284. def setGlassPane(arg0: Component): Unit
    Definition Classes
    JFrame → RootPaneContainer
    Annotations
    @BeanProperty()
  285. def setIconImage(arg0: Image): Unit
    Definition Classes
    JFrame → Frame → Window
  286. def setIconImages(arg0: List[_ <: Image]): Unit
    Definition Classes
    Window
  287. def setIgnoreRepaint(arg0: Boolean): Unit
    Definition Classes
    Component
  288. def setJMenuBar(arg0: JMenuBar): Unit
    Definition Classes
    JFrame
    Annotations
    @BeanProperty()
  289. def setLayeredPane(arg0: JLayeredPane): Unit
    Definition Classes
    JFrame → RootPaneContainer
    Annotations
    @BeanProperty()
  290. def setLayout(arg0: LayoutManager): Unit
    Definition Classes
    JFrame → Container
  291. def setLocale(arg0: Locale): Unit
    Definition Classes
    Component
  292. def setLocation(arg0: Point): Unit
    Definition Classes
    Window → Component
  293. def setLocation(arg0: Int, arg1: Int): Unit
    Definition Classes
    Window → Component
  294. def setLocationByPlatform(arg0: Boolean): Unit
    Definition Classes
    Window
  295. def setLocationRelativeTo(arg0: Component): Unit
    Definition Classes
    Window
  296. def setMaximizedBounds(arg0: Rectangle): Unit
    Definition Classes
    Frame
  297. def setMaximumSize(arg0: Dimension): Unit
    Definition Classes
    Component
  298. def setMenuBar(arg0: MenuBar): Unit
    Definition Classes
    Frame
  299. def setMinimumSize(arg0: Dimension): Unit
    Definition Classes
    Window → Component
  300. def setMixingCutoutShape(arg0: Shape): Unit
    Definition Classes
    Component
  301. def setModalExclusionType(arg0: ModalExclusionType): Unit
    Definition Classes
    Window
  302. def setName(arg0: String): Unit
    Definition Classes
    Component
  303. def setOpacity(arg0: Float): Unit
    Definition Classes
    Frame → Window
  304. def setPixelBW(x: Int, y: Int, intensity: Int): Unit

    Sets a grayscale pixel, does not sets values for invalid pixels outside the screen.

    Sets a grayscale pixel, does not sets values for invalid pixels outside the screen. Does not repaint the screen either because it is slow. If required, please call java.awt.Component#repaint() if needed after you have updated all the pixels you need.

    x

    X position of the pixel

    y

    Y position of the pixel

    intensity

    grayscale value of the pixel

  305. def setPixelsBW(pixels: Array[Array[Int]]): Unit

    Sets an array of grayscale pixels (from 0 to 255) and displays them

    Sets an array of grayscale pixels (from 0 to 255) and displays them

    pixels

    the 2D array of grayscale pixels

  306. def setPixelsColor(pixels: Array[Array[Color]]): Unit

    Sets an array of pixels of Color and displays them

    Sets an array of pixels of Color and displays them

    pixels

    the 2D of Color pixels

  307. def setPreferredSize(arg0: Dimension): Unit
    Definition Classes
    Component
  308. def setResizable(arg0: Boolean): Unit
    Definition Classes
    Frame
  309. def setRootPane(arg0: JRootPane): Unit
    Attributes
    protected[swing]
    Definition Classes
    JFrame
  310. def setRootPaneCheckingEnabled(arg0: Boolean): Unit
    Attributes
    protected[swing]
    Definition Classes
    JFrame
    Annotations
    @BeanProperty()
  311. def setShape(arg0: Shape): Unit
    Definition Classes
    Frame → Window
  312. def setSize(arg0: Int, arg1: Int): Unit
    Definition Classes
    Window → Component
  313. def setSize(arg0: Dimension): Unit
    Definition Classes
    Window → Component
  314. def setState(arg0: Int): Unit
    Definition Classes
    Frame
  315. def setTitle(arg0: String): Unit
    Definition Classes
    Frame
  316. def setTransferHandler(arg0: TransferHandler): Unit
    Definition Classes
    JFrame
    Annotations
    @BeanProperty()
  317. def setType(arg0: Type): Unit
    Definition Classes
    Window
  318. def setUndecorated(arg0: Boolean): Unit
    Definition Classes
    Frame
  319. def setVisible(arg0: Boolean): Unit
    Definition Classes
    Window → Component
  320. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  321. def toBack(): Unit
    Definition Classes
    Window
  322. def toFront(): Unit
    Definition Classes
    Window
  323. def toString(): String
    Definition Classes
    Component → AnyRef → Any
  324. def transferFocus(): Unit
    Definition Classes
    Component
  325. def transferFocusBackward(): Unit
    Definition Classes
    Component
  326. def transferFocusDownCycle(): Unit
    Definition Classes
    Container
  327. def transferFocusUpCycle(): Unit
    Definition Classes
    Component
  328. def update(arg0: Graphics): Unit
    Definition Classes
    JFrame → Container → Component
  329. def validate(): Unit
    Definition Classes
    Container → Component
  330. def validateTree(): Unit
    Attributes
    protected[awt]
    Definition Classes
    Container
  331. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  332. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  333. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  334. val windowTitle: String
  335. val xPositionOffset: Int
  336. val yPositionOffset: Int

Deprecated Value Members

  1. def action(arg0: Event, arg1: AnyRef): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  2. def applyResourceBundle(arg0: String): Unit
    Definition Classes
    Window
    Annotations
    @Deprecated
    Deprecated
  3. def applyResourceBundle(arg0: ResourceBundle): Unit
    Definition Classes
    Window
    Annotations
    @Deprecated
    Deprecated
  4. def bounds(): Rectangle
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  5. def countComponents(): Int
    Definition Classes
    Container
    Annotations
    @Deprecated
    Deprecated
  6. def deliverEvent(arg0: Event): Unit
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  7. def disable(): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  8. def enable(arg0: Boolean): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  9. def enable(): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  11. def getCursorType(): Int
    Definition Classes
    Frame
    Annotations
    @Deprecated
    Deprecated
  12. def gotFocus(arg0: Event, arg1: AnyRef): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  13. def handleEvent(arg0: Event): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  14. def hide(): Unit
    Definition Classes
    Window → Component
    Annotations
    @Deprecated
    Deprecated
  15. def insets(): Insets
    Definition Classes
    Container
    Annotations
    @Deprecated
    Deprecated
  16. def inside(arg0: Int, arg1: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  17. def isFocusTraversable(): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  18. def keyDown(arg0: Event, arg1: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  19. def keyUp(arg0: Event, arg1: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  20. def layout(): Unit
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  21. def locate(arg0: Int, arg1: Int): Component
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  22. def location(): Point
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  23. def lostFocus(arg0: Event, arg1: AnyRef): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  24. def minimumSize(): Dimension
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  25. def mouseDown(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  26. def mouseDrag(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  27. def mouseEnter(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  28. def mouseExit(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  29. def mouseMove(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  30. def mouseUp(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  31. def move(arg0: Int, arg1: Int): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  32. def nextFocus(): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  33. def postEvent(arg0: Event): Boolean
    Definition Classes
    Window → Component → MenuContainer
    Annotations
    @Deprecated
    Deprecated
  34. def preferredSize(): Dimension
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  35. def reshape(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
    Definition Classes
    Window → Component
    Annotations
    @Deprecated
    Deprecated
  36. def resize(arg0: Dimension): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  37. def resize(arg0: Int, arg1: Int): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  38. def setCursor(arg0: Int): Unit
    Definition Classes
    Frame
    Annotations
    @Deprecated
    Deprecated
  39. def show(): Unit
    Definition Classes
    Window → Component
    Annotations
    @Deprecated
    Deprecated
  40. def show(arg0: Boolean): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  41. def size(): Dimension
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated

Inherited from JFrame

Inherited from HasGetTransferHandler

Inherited from RootPaneContainer

Inherited from WindowConstants

Inherited from Frame

Inherited from Window

Inherited from Accessible

Inherited from Container

Inherited from Component

Inherited from Serializable

Inherited from MenuContainer

Inherited from ImageObserver

Inherited from AnyRef

Inherited from Any

Ungrouped