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
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
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 componentOrientation: ComponentOrientation
  10. def componentOrientation_=(x: ComponentOrientation): Unit
  11. def cursor: Cursor
  12. def cursor_=(c: Cursor): Unit
  13. 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
  14. def displayable: Boolean
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def font: Font
  19. def font_=(f: Font): Unit
  20. def foreground: Color
  21. def foreground_=(c: Color): Unit
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int
    Definition Classes
    Proxy → Any
  24. def ignoreRepaint: Boolean
  25. def ignoreRepaint_=(b: Boolean): Unit
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. 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
  28. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }
    Attributes
    protected
    Definition Classes
    Publisher
  29. def locale: Locale
  30. def location: java.awt.Point
  31. def locationOnScreen: java.awt.Point
  32. def maximumSize: java.awt.Dimension
  33. def maximumSize_=(x: Dimension): Unit
  34. def minimumSize: java.awt.Dimension
  35. def minimumSize_=(x: Dimension): Unit
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  39. def onFirstSubscribe(): Unit
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  40. def onLastUnsubscribe(): Unit
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  41. def preferredSize: java.awt.Dimension
  42. def preferredSize_=(x: Dimension): Unit
  43. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  44. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  45. def repaint(rect: Rectangle): Unit
  46. def repaint(): Unit
  47. def self: java.awt.Component
    Definition Classes
    UIElement → Proxy
  48. def showing: Boolean
  49. def size: java.awt.Dimension
  50. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    Proxy → Any
  53. def toolkit: Toolkit
  54. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  55. def validate(): Unit
  56. def visible: Boolean
  57. def visible_=(b: Boolean): Unit
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. 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