scala.swing

UIElement

trait UIElement extends Proxy with LazyPublisher

The base trait of all user interface elements. Subclasses belong to one of two groups: top-level elements such as windows and dialogs, or Components.

Note

[Implementation] A UIElement automatically adds itself to the component cache on creation.

,

[Java Swing] This trait does not have an exact counterpart in Java Swing. The peer is of type java.awt.Component since this is the least common upper bound of possible underlying peers.

See also

java.awt.Component

Linear Supertypes
LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UIElement
  2. LazyPublisher
  3. Publisher
  4. Reactor
  5. Proxy
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def peer: java.awt.Component

    The underlying Swing peer.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def background: Color

  6. def background_=(c: Color): Unit

  7. def bounds: java.awt.Rectangle

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def cursor: Cursor

  10. def cursor_=(c: Cursor): Unit

  11. def deafTo(ps: Publisher*): Unit

    Installed reaction won't receive events from the given publisher anylonger.

    Installed reaction won't receive events from the given publisher anylonger.

    Definition Classes
    Reactor
  12. def displayable: Boolean

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(that: Any): Boolean

    Definition Classes
    Proxy → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def font: Font

  17. def font_=(f: Font): Unit

  18. def foreground: Color

  19. def foreground_=(c: Color): Unit

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    Proxy → Any
  22. def ignoreRepaint: Boolean

  23. def ignoreRepaint_=(b: Boolean): Unit

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def listenTo(ps: Publisher*): Unit

    Listen to the given publisher as long as deafTo isn't called for them.

    Listen to the given publisher as long as deafTo isn't called for them.

    Definition Classes
    Reactor
  26. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

    Attributes
    protected
    Definition Classes
    Publisher
  27. def locale: Locale

  28. def location: java.awt.Point

  29. def locationOnScreen: java.awt.Point

  30. def maximumSize: java.awt.Dimension

  31. def maximumSize_=(x: Dimension): Unit

  32. def minimumSize: java.awt.Dimension

  33. def minimumSize_=(x: Dimension): Unit

  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. def onFirstSubscribe(): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  38. def onLastUnsubscribe(): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  39. def preferredSize: java.awt.Dimension

  40. def preferredSize_=(x: Dimension): Unit

  41. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  42. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  43. def repaint(rect: Rectangle): Unit

  44. def repaint(): Unit

  45. def self: java.awt.Component

    Definition Classes
    UIElement → Proxy
  46. def showing: Boolean

  47. def size: java.awt.Dimension

  48. def subscribe(listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    Proxy → Any
  51. def toolkit: Toolkit

  52. def unsubscribe(listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  53. def visible: Boolean

  54. def visible_=(b: Boolean): Unit

  55. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped