object Swing
Helpers for this package.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Swing
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- final def ActionListener(f: (ActionEvent) ⇒ Unit): ActionListener
- def BeveledBorder(kind: Embossing, highlightOuter: Color, highlightInner: Color, shadowOuter: Color, shadowInner: Color): Border
- def BeveledBorder(kind: Embossing, highlight: Color, shadow: Color): Border
- def BeveledBorder(kind: Embossing): Border
- def Box(min: Dimension, pref: Dimension, max: Dimension): Component { lazy val peer: javax.swing.Box.Filler }
- final def ChangeListener(f: (ChangeEvent) ⇒ Unit): ChangeListener
- def CompoundBorder(outside: Border, inside: Border): CompoundBorder
- def EmptyBorder(top: Int, left: Int, bottom: Int, right: Int): Border
- def EmptyBorder(weight: Int): Border
- def EmptyBorder: Border
- def EtchedBorder(kind: Embossing, highlight: Color, shadow: Color): Border
- def EtchedBorder(kind: Embossing): Border
- def EtchedBorder: Border
- def Glue: Component
- def HGlue: Component
- def HStrut(width: Int): Component
- def Icon(url: URL): ImageIcon
- def Icon(filename: String): ImageIcon
- def Icon(image: java.awt.Image): ImageIcon
- def LineBorder(c: Color, weight: Int): Border
- def LineBorder(c: Color): Border
- def MatteBorder(top: Int, left: Int, bottom: Int, right: Int, icon: Icon): MatteBorder
- def MatteBorder(top: Int, left: Int, bottom: Int, right: Int, color: Color): MatteBorder
- def RigidBox(dim: Dimension): Component
-
final
def
Runnable(block: ⇒ Unit): Runnable
- Annotations
- @inline()
- def TitledBorder(border: Border, title: String): TitledBorder
- def VGlue: Component
- def VStrut(height: Int): Component
-
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()
-
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()
- implicit def pair2Dimension(p: (Int, Int)): Dimension
- implicit def pair2Point(p: (Int, Int, Int, Int)): Rectangle
- implicit def pair2Point(p: (Int, Int)): Point
- def unwrapIcon(icon: Icon): Icon
- def wrapIcon(icon: Icon): Icon
-
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. - object Lowered extends Embossing with Product with Serializable
- object Raised extends Embossing with Product with Serializable