Trait/Object

scala.swing

UIElement

Related Docs: object UIElement | package swing

Permalink

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

    Permalink

    The underlying Swing peer.

Concrete Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def background: Color

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

    Permalink
  7. def bounds: java.awt.Rectangle

    Permalink
  8. def clone(): AnyRef

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

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

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

    Permalink

    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

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

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

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

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

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

    Permalink
  18. def foreground: Color

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

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

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

    Permalink
    Definition Classes
    Proxy → Any
  22. def ignoreRepaint: Boolean

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

    Permalink
  24. final def isInstanceOf[T0]: Boolean

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

    Permalink

    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]] }

    Permalink
    Attributes
    protected
    Definition Classes
    Publisher
  27. def locale: Locale

    Permalink
  28. def location: java.awt.Point

    Permalink
  29. def locationOnScreen: java.awt.Point

    Permalink
  30. def maximumSize: java.awt.Dimension

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

    Permalink
  32. def minimumSize: java.awt.Dimension

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  37. def onFirstSubscribe(): Unit

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

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

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

    Permalink
  41. def publish(e: Event): Unit

    Permalink

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  42. val reactions: Reactions

    Permalink

    All reactions of this reactor.

    All reactions of this reactor.

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

    Permalink
  44. def repaint(): Unit

    Permalink
  45. def self: java.awt.Component

    Permalink
    Definition Classes
    UIElement → Proxy
  46. def showing: Boolean

    Permalink
  47. def size: java.awt.Dimension

    Permalink
  48. def subscribe(listener: Reaction): Unit

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

    Permalink
    Definition Classes
    AnyRef
  50. def toString(): String

    Permalink
    Definition Classes
    Proxy → Any
  51. def toolkit: Toolkit

    Permalink
  52. def unsubscribe(listener: Reaction): Unit

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  53. def visible: Boolean

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

    Permalink
  55. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped