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
Component
s.
- 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
- Alphabetic
- By Inheritance
- UIElement
- LazyPublisher
- Publisher
- Reactor
- Proxy
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
peer: java.awt.Component
The underlying Swing peer.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def background: Color
- def background_=(c: Color): Unit
- def bounds: java.awt.Rectangle
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def componentOrientation: ComponentOrientation
- def componentOrientation_=(x: ComponentOrientation): Unit
- def cursor: Cursor
- def cursor_=(c: Cursor): Unit
-
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
- def displayable: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Proxy → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def font: Font
- def font_=(f: Font): Unit
- def foreground: Color
- def foreground_=(c: Color): Unit
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- Proxy → Any
- def ignoreRepaint: Boolean
- def ignoreRepaint_=(b: Boolean): Unit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
val
listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }
- Attributes
- protected
- Definition Classes
- Publisher
- def locale: Locale
- def location: java.awt.Point
- def locationOnScreen: java.awt.Point
- def maximumSize: java.awt.Dimension
- def maximumSize_=(x: Dimension): Unit
- def minimumSize: java.awt.Dimension
- def minimumSize_=(x: Dimension): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
onFirstSubscribe(): Unit
- Attributes
- protected
- Definition Classes
- UIElement → LazyPublisher
-
def
onLastUnsubscribe(): Unit
- Attributes
- protected
- Definition Classes
- UIElement → LazyPublisher
- def preferredSize: java.awt.Dimension
- def preferredSize_=(x: Dimension): Unit
-
def
publish(e: Event): Unit
Notify all registered reactions.
Notify all registered reactions.
- Definition Classes
- Publisher
-
val
reactions: Reactions
All reactions of this reactor.
All reactions of this reactor.
- Definition Classes
- Reactor
- def repaint(rect: Rectangle): Unit
- def repaint(): Unit
-
def
self: java.awt.Component
- Definition Classes
- UIElement → Proxy
- def showing: Boolean
- def size: java.awt.Dimension
-
def
subscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher → Publisher
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Proxy → Any
- def toolkit: Toolkit
-
def
unsubscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher → Publisher
- def validate(): Unit
- def visible: Boolean
- def visible_=(b: Boolean): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )