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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def background: Color

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

  9. def bounds: java.awt.Rectangle

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def componentOrientation: ComponentOrientation

  12. def componentOrientation_=(x: ComponentOrientation): Unit

  13. def cursor: Cursor

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

  15. 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
  16. def displayable: Boolean

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

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

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

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

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

  22. def foreground: Color

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

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

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

    Definition Classes
    Proxy → Any
  26. def ignoreRepaint: Boolean

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

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. 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
  30. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

    Attributes
    protected
    Definition Classes
    Publisher
  31. def locale: Locale

  32. def location: java.awt.Point

  33. def locationOnScreen: java.awt.Point

  34. def maximumSize: java.awt.Dimension

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

  36. def minimumSize: java.awt.Dimension

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

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

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

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

    Definition Classes
    AnyRef
  41. def onFirstSubscribe(): Unit

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

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

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

  45. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  46. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

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

  48. def repaint(): Unit

  49. def self: java.awt.Component

    Definition Classes
    UIElement → Proxy
  50. def showing: Boolean

  51. def size: java.awt.Dimension

  52. def subscribe(listener: Reaction): Unit

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

    Definition Classes
    AnyRef
  54. def toString(): String

    Definition Classes
    Proxy → Any
  55. def toolkit: Toolkit

  56. def unsubscribe(listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  57. def validate(): Unit

  58. def visible: Boolean

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

  60. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. 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