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
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: Rectangle

    Permalink
  8. def clone(): AnyRef

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

    Permalink
  10. def componentOrientation_=(x: ComponentOrientation): Unit

    Permalink
  11. def cursor: Cursor

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

    Permalink
  13. 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
  14. def displayable: Boolean

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

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

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

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

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

    Permalink
  20. def foreground: Color

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

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

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

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

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

    Permalink
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. 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
  28. val listeners: RefSet[Reaction]

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

    Permalink
  30. def location: Point

    Permalink
  31. def locationOnScreen: Point

    Permalink
  32. def maximumSize: Dimension

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

    Permalink
  34. def minimumSize: Dimension

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  41. def preferredSize: Dimension

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

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

    Permalink

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  44. val reactions: Reactions

    Permalink

    All reactions of this reactor.

    All reactions of this reactor.

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

    Permalink
  46. def repaint(): Unit

    Permalink
  47. def self: Any

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

    Permalink
  49. def size: Dimension

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

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

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

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

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

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

    Permalink
  56. def visible: Boolean

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

    Permalink
  58. final def wait(): Unit

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

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