o

scala.swing

Swing

object Swing

Helpers for this package.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Swing
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Embossing extends AnyRef

Value Members

  1. final def ActionListener(f: (ActionEvent) ⇒ Unit): ActionListener
  2. def BeveledBorder(kind: Embossing, highlightOuter: Color, highlightInner: Color, shadowOuter: Color, shadowInner: Color): Border
  3. def BeveledBorder(kind: Embossing, highlight: Color, shadow: Color): Border
  4. def BeveledBorder(kind: Embossing): Border
  5. def Box(min: Dimension, pref: Dimension, max: Dimension): Component { lazy val peer: javax.swing.Box.Filler }
  6. final def ChangeListener(f: (ChangeEvent) ⇒ Unit): ChangeListener
  7. def CompoundBorder(outside: Border, inside: Border): CompoundBorder
  8. def EmptyBorder(top: Int, left: Int, bottom: Int, right: Int): Border
  9. def EmptyBorder(weight: Int): Border
  10. def EmptyBorder: Border
  11. def EtchedBorder(kind: Embossing, highlight: Color, shadow: Color): Border
  12. def EtchedBorder(kind: Embossing): Border
  13. def EtchedBorder: Border
  14. def Glue: Component
  15. def HGlue: Component
  16. def HStrut(width: Int): Component
  17. def Icon(url: URL): ImageIcon
  18. def Icon(filename: String): ImageIcon
  19. def Icon(image: java.awt.Image): ImageIcon
  20. def LineBorder(c: Color, weight: Int): Border
  21. def LineBorder(c: Color): Border
  22. def MatteBorder(top: Int, left: Int, bottom: Int, right: Int, icon: Icon): MatteBorder
  23. def MatteBorder(top: Int, left: Int, bottom: Int, right: Int, color: Color): MatteBorder
  24. def RigidBox(dim: Dimension): Component
  25. final def Runnable(block: ⇒ Unit): Runnable
    Annotations
    @inline()
  26. def TitledBorder(border: Border, title: String): TitledBorder
  27. def VGlue: Component
  28. def VStrut(height: Int): Component
  29. final def onEDT(op: ⇒ Unit): Unit

    Schedule the given code to be executed on the Swing event dispatching thread (EDT).

    Schedule the given code to be executed on the Swing event dispatching thread (EDT). Returns immediately.

    Annotations
    @inline()
  30. final def onEDTWait(op: ⇒ Unit): Unit

    Schedule the given code to be executed on the Swing event dispatching thread (EDT).

    Schedule the given code to be executed on the Swing event dispatching thread (EDT). Blocks until after the code has been run.

    Annotations
    @inline()
  31. implicit def pair2Dimension(p: (Int, Int)): Dimension
  32. implicit def pair2Point(p: (Int, Int, Int, Int)): Rectangle
  33. implicit def pair2Point(p: (Int, Int)): Point
  34. def unwrapIcon(icon: Icon): Icon
  35. def wrapIcon(icon: Icon): Icon
  36. object EmptyIcon extends Icon with Product with Serializable

    The empty icon.

    The empty icon. Use this icon instead of null to indicate that you don't want an icon.

  37. object Lowered extends Embossing with Product with Serializable
  38. object Raised extends Embossing with Product with Serializable