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 utils
    Definition Classes
    graphics
  • object RepeatingReleasedEventsFixer

    Fixes the discrepancies between keyboard handling under Windows and linux for repeated keys.

    Fixes the discrepancies between keyboard handling under Windows and linux for repeated keys. Taken from http://tech.stolsvik.com/2010/05/linux-java-repeats-released-keyevents.html

    Definition Classes
    utils
  • Reposted
  • RepostedKeyEvent

class RepostedKeyEvent extends KeyEvent with Reposted

Dead simple extension of KeyEvent that implements Reposted.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepostedKeyEvent
  2. Reposted
  3. KeyEvent
  4. InputEvent
  5. ComponentEvent
  6. AWTEvent
  7. EventObject
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RepostedKeyEvent(source: Component, id: Int, when: Long, modifiers: Int, keyCode: Int, keyChar: Char, keyLocation: Int)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def consume(): Unit
    Definition Classes
    InputEvent → AWTEvent
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def getComponent(): Component
    Definition Classes
    ComponentEvent
  11. def getExtendedKeyCode(): Int
    Definition Classes
    KeyEvent
  12. def getID(): Int
    Definition Classes
    AWTEvent
  13. def getKeyChar(): Char
    Definition Classes
    KeyEvent
  14. def getKeyCode(): Int
    Definition Classes
    KeyEvent
  15. def getKeyLocation(): Int
    Definition Classes
    KeyEvent
  16. def getModifiersEx(): Int
    Definition Classes
    InputEvent
  17. def getSource(): AnyRef
    Definition Classes
    EventObject
  18. def getWhen(): Long
    Definition Classes
    InputEvent
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def isActionKey(): Boolean
    Definition Classes
    KeyEvent
  21. def isAltDown(): Boolean
    Definition Classes
    InputEvent
  22. def isAltGraphDown(): Boolean
    Definition Classes
    InputEvent
  23. def isConsumed(): Boolean
    Definition Classes
    InputEvent → AWTEvent
  24. def isControlDown(): Boolean
    Definition Classes
    InputEvent
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isMetaDown(): Boolean
    Definition Classes
    InputEvent
  27. def isShiftDown(): Boolean
    Definition Classes
    InputEvent
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def paramString(): String
    Definition Classes
    KeyEvent → ComponentEvent → AWTEvent
  32. def setKeyChar(arg0: Char): Unit
    Definition Classes
    KeyEvent
  33. def setKeyCode(arg0: Int): Unit
    Definition Classes
    KeyEvent
  34. def setSource(arg0: AnyRef): Unit
    Definition Classes
    AWTEvent
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AWTEvent → EventObject → AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def getModifiers(): Int
    Definition Classes
    InputEvent
    Annotations
    @Deprecated
    Deprecated
  3. def setModifiers(arg0: Int): Unit
    Definition Classes
    KeyEvent
    Annotations
    @Deprecated
    Deprecated

Inherited from Reposted

Inherited from KeyEvent

Inherited from InputEvent

Inherited from ComponentEvent

Inherited from AWTEvent

Inherited from EventObject

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped