SwingPlatform

reqt.SwingPlatform
object SwingPlatform

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

trait AntiAliasing extends JComponent

Attributes

Supertypes
class JComponent
class Container
class Component
trait Serializable
trait MenuContainer
trait ImageObserver
class Object
trait Matchable
class Any
Show all
case class AppMenus(menus: Menu*)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Item(name: String, short: Int, key: Int, mask: Int)(block: => Unit) extends MenuTree

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait MenuTree
class Object
trait Matchable
class Any
Show all
case class Menu(name: String, mnemonic: Int, menus: MenuTree*) extends MenuTree

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait MenuTree
class Object
trait Matchable
class Any
Show all
case class MenuRadioGroup(groupName: String, actionMap: Map[String, () => Unit], default: String) extends MenuTree

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait MenuTree
class Object
trait Matchable
class Any
Show all
case object MenuSeparator extends MenuTree

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait MenuTree
class Object
trait Matchable
class Any
Show all
Self type
sealed trait MenuTree

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Item
class Menu
object MenuSeparator
object fullScreen

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
fullScreen.type

Value members

Concrete methods

def chooseFile(preselected: String, action: String, parent: Option[Component]): Option[String]
def findLookAndFeel(partOfName: String): Option[String]
def installedLookAndFeels: Vector[String]
def isOK(msg: String, parent: Option[Component]): Boolean
def isSwingInit: Boolean
def keyCode(c: Char): Int
def mkMenu(name: String, mnemonic: Int): JMenu
def mkMenuItem(name: String, menu: JMenuItem, shortcut: (Int, Int, Int))(action: => Unit): Unit
def msgError(msg: String, parent: Option[JFrame]): Unit
def msgInfo(msg: String, parent: Option[JFrame]): Unit
def onAction(act: => Unit): ActionListener
def onAltEnter(action: => Unit): KeyListener
def onCtrlEnter(action: => Unit): KeyListener
def onEvent(act: ActionEvent => Unit): ActionListener
def onFocusGained(action: => Unit): FocusListener
def onKeyPressed(act: KeyEvent => Unit): KeyListener
def runInSwingThread(code: => Unit): Unit
def runnable(code: => Unit): Runnable
def setAppIcon(frame: JFrame): Unit
def setLookAndFeel(laf: String): Unit
def swingInit(isPlatformSpecific: Boolean): Unit

Init the Swing GUI toolkit and set platform-specific look and feel.

Init the Swing GUI toolkit and set platform-specific look and feel.

Attributes

Concrete fields

val fileChooser: JFileChooser