DefaultRenderer

class DefaultRenderer[-A] extends Label with Renderer[A]

Default renderer for a tree, with many configurable settings.

trait Renderer[A]
trait CellRenderer[A]
class Label
class Component
trait UIElement
trait Publisher
trait Reactor
trait Proxy
class Object
trait Matchable
class Any

Type members

Classlikes

trait DefaultRendererPeer extends DefaultTreeCellRenderer

Inherited classlikes

object keys extends Publisher
Inherited from:
Component
object mouse

Contains publishers for various mouse events. They are separated for efficiency reasons.

Contains publishers for various mouse events. They are separated for efficiency reasons.

Inherited from:
Component

Value members

Concrete methods

def backgroundNonSelectionColor_=(c: Color): Unit
def backgroundSelectionColor_=(c: Color): Unit
def borderSelectionColor_=(c: Color): Unit
def closedIcon: Icon
def closedIcon_=(icon: Icon): Unit
override def componentFor(tree: Tree[_], value: A, info: CellInfo): Component
Definition Classes
def leafIcon: Icon
def leafIcon_=(icon: Icon): Unit
def openIcon: Icon
def openIcon_=(icon: Icon): Unit
def textNonSelectionColor_=(c: Color): Unit
def textSelectionColor_=(c: Color): Unit

Inherited methods

def background: Color
Inherited from:
UIElement
def background_=(c: Color): Unit
Inherited from:
UIElement
def border: Border
Inherited from:
Component
def border_=(b: Border): Unit
Inherited from:
Component
def bounds: Rectangle
Inherited from:
UIElement
def componentOrientation: ComponentOrientation
Inherited from:
UIElement
def componentOrientation_=(x: ComponentOrientation): Unit
Inherited from:
UIElement
def cursor: Cursor
Inherited from:
UIElement
def cursor_=(c: Cursor): Unit
Inherited from:
UIElement
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.

Inherited from:
Reactor
def disabledIcon: Icon
Inherited from:
Label
def disabledIcon_=(icon: Icon): Unit
Inherited from:
Label
def displayable: Boolean
Inherited from:
UIElement
Inherited from:
Label
def displayedMnemonicIndex_=(index: Int): Unit
Inherited from:
Label
def enabled: Boolean
Inherited from:
Component
def enabled_=(b: Boolean): Unit
Inherited from:
Component
override def equals(that: Any): Boolean
Definition Classes
Proxy -> Any
Inherited from:
Proxy
def focusable: Boolean
Inherited from:
Component
def focusable_=(b: Boolean): Unit
Inherited from:
Component
def font: Font
Inherited from:
UIElement
def font_=(f: Font): Unit
Inherited from:
UIElement
def foreground: Color
Inherited from:
UIElement
def foreground_=(c: Color): Unit
Inherited from:
UIElement
def hasFocus: Boolean
Inherited from:
Component
override def hashCode(): Int
Definition Classes
Proxy -> Any
Inherited from:
Proxy
See also:

javax.swing.JLabel#getHorizontalAlignment()

Inherited from:
Label
See also:

javax.swing.JLabel#setHorizontalAlignment()

Inherited from:
Label
Inherited from:
Label
Inherited from:
Label
def icon: Icon
Inherited from:
Label
def iconTextGap: Int
Inherited from:
Label
def iconTextGap_=(gap: Int): Unit
Inherited from:
Label
def icon_=(i: Icon): Unit
Inherited from:
Label
def ignoreRepaint: Boolean
Inherited from:
UIElement
def ignoreRepaint_=(b: Boolean): Unit
Inherited from:
UIElement
def inputVerifier: Component => Boolean
Inherited from:
Component
def inputVerifier_=(v: Component => Boolean): Unit
Inherited from:
Component
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.

Inherited from:
Reactor
def locale: Locale
Inherited from:
UIElement
def location: Point
Inherited from:
UIElement
def locationOnScreen: Point
Inherited from:
UIElement
def maximumSize: Dimension
Inherited from:
UIElement
def maximumSize_=(x: Dimension): Unit
Inherited from:
UIElement
def minimumSize: Dimension
Inherited from:
UIElement
def minimumSize_=(x: Dimension): Unit
Inherited from:
UIElement
def name: String
Inherited from:
Component
def name_=(s: String): Unit
Inherited from:
Component
def opaque: Boolean
Inherited from:
Component
def opaque_=(b: Boolean): Unit
Inherited from:
Component
def paint(g: Graphics2D): Unit
Inherited from:
Component
def preferredSize: Dimension
Inherited from:
UIElement
def preferredSize_=(x: Dimension): Unit
Inherited from:
UIElement
def publish(e: Event): Unit

Notify all registered reactions.

Notify all registered reactions.

Inherited from:
Publisher
def repaint(rect: Rectangle): Unit
Inherited from:
UIElement
def repaint(): Unit
Inherited from:
UIElement
def requestFocus(): Unit
Inherited from:
Component
def requestFocusInWindow(): Boolean
Inherited from:
Component
def revalidate(): Unit
Inherited from:
Component
def self: Any
Inherited from:
UIElement
def showing: Boolean
Inherited from:
UIElement
def size: Dimension
Inherited from:
UIElement
override def subscribe(listener: Reaction): Unit
Definition Classes
LazyPublisher -> Publisher
Inherited from:
LazyPublisher
def text: String
Inherited from:
Label
def text_=(s: String): Unit
Inherited from:
Label
override def toString: String
Definition Classes
Component -> Proxy -> Any
Inherited from:
Component
def toolkit: Toolkit
Inherited from:
UIElement
def tooltip: String
Inherited from:
Component
def tooltip_=(t: String): Unit
Inherited from:
Component
override def unsubscribe(listener: Reaction): Unit
Definition Classes
LazyPublisher -> Publisher
Inherited from:
LazyPublisher
def validate(): Unit
Inherited from:
UIElement
Inherited from:
Label
Inherited from:
Label
Inherited from:
Label
Inherited from:
Label
def visible: Boolean
Inherited from:
UIElement
def visible_=(b: Boolean): Unit
Inherited from:
UIElement

The alignment of the label's contents relative to its bounding box.

The alignment of the label's contents relative to its bounding box.

Inherited from:
Label
def xAlignment_=(x: Value): Unit
Inherited from:
Label
def xLayoutAlignment: Double

Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.

Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.

Inherited from:
Component
def xLayoutAlignment_=(x: Double): Unit
Inherited from:
Component
Inherited from:
Label
def yAlignment_=(x: Value): Unit
Inherited from:
Label
def yLayoutAlignment: Double
Inherited from:
Component
def yLayoutAlignment_=(y: Double): Unit
Inherited from:
Component

Concrete fields

lazy override val peer: DefaultRendererPeer

Inherited fields

final val companion: Renderer.type
Inherited from:
Renderer
protected val listeners: RefSet[Reaction]
Inherited from:
Publisher
val reactions: Reactions

All reactions of this reactor.

All reactions of this reactor.

Inherited from:
Reactor