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

scala.swing.ToggleButton.scala Maven / Gradle / Ivy

There is a newer version: 2.11.0-M7
Show newest version
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2007-2010, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id: ToggleButton.scala 20154 2009-12-16 16:07:30Z cunei $


package scala.swing

import event._
import javax.swing._

/**
 * A two state button with a push button like user interface. 
 * Usually used in tool bars.
 * 
 * @see javax.swing.JToggleButton
 */
class ToggleButton(text0: String) extends AbstractButton {
  override lazy val peer: JToggleButton = new JToggleButton(text0)
  def this() = this("")
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy