All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.swing.event.InputEvent.scala Maven / Gradle / Ivy

/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2007-2013, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */



package scala.swing
package event

trait InputEvent extends ComponentEvent {
  def peer: java.awt.event.InputEvent
  def when: Long = peer.getWhen
  def modifiers: Key.Modifiers
  def consume() { peer.consume() }
  def consumed: Boolean = peer.isConsumed
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy