summaryrefslogtreecommitdiff
path: root/src/swing/scala/swing/event/ActionEvent.scala
blob: 6b291be8d7a229cc3b30c2df99ef29255dc4efd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2007-2011, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */



package scala.swing
package event

object ActionEvent {
  def unapply(a: ActionEvent): Option[Component] = Some(a.source)
}

class ActionEvent(override val source: Component) extends ComponentEvent