object Swing
Helpers for this package.
- Alphabetic
- By Inheritance
- Swing
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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 asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def nullPeer(c: PeerContainer): java.awt.Container
- Attributes
- protected[swing]
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toNoIcon(i: Icon): Icon
- Attributes
- protected[swing]
- def toNullIcon(i: Icon): Icon
- Attributes
- protected[swing]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unwrapIcon(icon: Icon): Icon
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def wrapIcon(icon: Icon): Icon
- case 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. - case object Lowered extends Embossing with Product with Serializable
- case object Raised extends Embossing with Product with Serializable