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



package scala.swing
package event

trait UIEvent extends Event {
  val source: UIElement
}

case class UIElementMoved(source: UIElement) extends UIEvent
case class UIElementResized(source: UIElement) extends UIEvent
case class UIElementShown(source: UIElement) extends UIEvent
case class UIElementHidden(source: UIElement) extends UIEvent