Class

scalaswingcontrib.tree.TreeRenderers

DefaultRenderer

Related Doc: package TreeRenderers

Permalink

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

Default renderer for a tree, with many configurable settings.

Linear Supertypes
Tree.Renderer[A], Tree.CellRenderer[A], Label, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultRenderer
  2. Renderer
  3. CellRenderer
  4. Label
  5. Component
  6. UIElement
  7. LazyPublisher
  8. Publisher
  9. Reactor
  10. Proxy
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultRenderer()

    Permalink

Type Members

  1. trait DefaultRendererPeer extends DefaultTreeCellRenderer with SuperMixin

    Permalink
  2. trait SuperMixin extends JComponent

    Permalink
    Attributes
    protected
    Definition Classes
    Component

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
    Definition Classes
    UIElement
  6. def backgroundNonSelectionColor: Color

    Permalink
  7. def backgroundNonSelectionColor_=(c: Color): Unit

    Permalink
  8. def backgroundSelectionColor: Color

    Permalink
  9. def backgroundSelectionColor_=(c: Color): Unit

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

    Permalink
    Definition Classes
    UIElement
  11. def border: Border

    Permalink
    Definition Classes
    Component
  12. def borderSelectionColor: Color

    Permalink
  13. def borderSelectionColor_=(c: Color): Unit

    Permalink
  14. def border_=(b: Border): Unit

    Permalink
    Definition Classes
    Component
  15. def bounds: Rectangle

    Permalink
    Definition Classes
    UIElement
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def closedIcon: Icon

    Permalink
  18. def closedIcon_=(icon: Icon): Unit

    Permalink
  19. val companion: Tree.Renderer.type

    Permalink
    Definition Classes
    RendererCellRenderer
  20. def componentFor(tree: Tree[_], value: A, info: CellInfo): Component

    Permalink
    Definition Classes
    DefaultRendererCellRenderer
  21. def componentOrientation: ComponentOrientation

    Permalink
    Definition Classes
    UIElement
  22. def componentOrientation_=(x: ComponentOrientation): Unit

    Permalink
    Definition Classes
    UIElement
  23. def cursor: Cursor

    Permalink
    Definition Classes
    UIElement
  24. def cursor_=(c: Cursor): Unit

    Permalink
    Definition Classes
    UIElement
  25. def deafTo(ps: Publisher*): Unit

    Permalink
    Definition Classes
    Reactor
  26. def disabledIcon: Icon

    Permalink
    Definition Classes
    Label
  27. def disabledIcon_=(icon: Icon): Unit

    Permalink
    Definition Classes
    Label
  28. def dispatchToScalaRenderer(tree: JTree, value: AnyRef, selected: Boolean, expanded: Boolean, leaf: Boolean, rowIndex: Int, focus: Boolean): JComponent

    Permalink
    Attributes
    protected
    Definition Classes
    Renderer
  29. def displayable: Boolean

    Permalink
    Definition Classes
    UIElement
  30. def displayedMnemonicIndex: Int

    Permalink
    Definition Classes
    Label
  31. def displayedMnemonicIndex_=(index: Int): Unit

    Permalink
    Definition Classes
    Label
  32. def enabled: Boolean

    Permalink
    Definition Classes
    Component
  33. def enabled_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  34. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def focusable: Boolean

    Permalink
    Definition Classes
    Component
  38. def focusable_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  39. def font: Font

    Permalink
    Definition Classes
    UIElement
  40. def font_=(f: Font): Unit

    Permalink
    Definition Classes
    UIElement
  41. def foreground: Color

    Permalink
    Definition Classes
    UIElement
  42. def foreground_=(c: Color): Unit

    Permalink
    Definition Classes
    UIElement
  43. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  44. def hasFocus: Boolean

    Permalink
    Definition Classes
    Component
  45. def hashCode(): Int

    Permalink
    Definition Classes
    Proxy → Any
  46. def horizontalAlignment: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    Label
  47. def horizontalAlignment_=(x: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    Label
  48. def horizontalTextPosition: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    Label
  49. def horizontalTextPosition_=(x: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    Label
  50. def icon: Icon

    Permalink
    Definition Classes
    Label
  51. def iconTextGap: Int

    Permalink
    Definition Classes
    Label
  52. def iconTextGap_=(gap: Int): Unit

    Permalink
    Definition Classes
    Label
  53. def icon_=(i: Icon): Unit

    Permalink
    Definition Classes
    Label
  54. def ignoreRepaint: Boolean

    Permalink
    Definition Classes
    UIElement
  55. def ignoreRepaint_=(b: Boolean): Unit

    Permalink
    Definition Classes
    UIElement
  56. var initP: JComponent

    Permalink
    Definition Classes
    Component
  57. def inputVerifier: (Component) ⇒ Boolean

    Permalink
    Definition Classes
    Component
  58. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit

    Permalink
    Definition Classes
    Component
  59. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  60. def leafIcon: Icon

    Permalink
  61. def leafIcon_=(icon: Icon): Unit

    Permalink
  62. def listenTo(ps: Publisher*): Unit

    Permalink
    Definition Classes
    Reactor
  63. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

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

    Permalink
    Definition Classes
    UIElement
  65. def location: Point

    Permalink
    Definition Classes
    UIElement
  66. def locationOnScreen: Point

    Permalink
    Definition Classes
    UIElement
  67. def maximumSize: Dimension

    Permalink
    Definition Classes
    UIElement
  68. def maximumSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  69. def minimumSize: Dimension

    Permalink
    Definition Classes
    UIElement
  70. def minimumSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  71. def name: String

    Permalink
    Definition Classes
    Component
  72. def name_=(s: String): Unit

    Permalink
    Definition Classes
    Component
  73. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  78. def opaque: Boolean

    Permalink
    Definition Classes
    Component
  79. def opaque_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  80. def openIcon: Icon

    Permalink
  81. def openIcon_=(icon: Icon): Unit

    Permalink
  82. def paint(g: Graphics2D): Unit

    Permalink
    Definition Classes
    Component
  83. def paintBorder(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  84. def paintChildren(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  85. def paintComponent(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  86. lazy val peer: DefaultRendererPeer

    Permalink

    By default, the peer cell renderer defers to the user's implementation of componentFor(), although this can be overridden with other TreeCellRenderer implementations.

    By default, the peer cell renderer defers to the user's implementation of componentFor(), although this can be overridden with other TreeCellRenderer implementations.

    Definition Classes
    DefaultRendererRendererCellRenderer → Label → Component → UIElement
  87. def preferredSize: Dimension

    Permalink
    Definition Classes
    UIElement
  88. def preferredSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  89. def publish(e: Event): Unit

    Permalink
    Definition Classes
    Publisher
  90. val reactions: Reactions

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

    Permalink
    Definition Classes
    UIElement
  92. def repaint(): Unit

    Permalink
    Definition Classes
    UIElement
  93. def requestFocus(): Unit

    Permalink
    Definition Classes
    Component
  94. def requestFocusInWindow(): Boolean

    Permalink
    Definition Classes
    Component
  95. def revalidate(): Unit

    Permalink
    Definition Classes
    Component
  96. def self: Component

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

    Permalink
    Definition Classes
    UIElement
  98. def size: Dimension

    Permalink
    Definition Classes
    UIElement
  99. def subscribe(listener: Reaction): Unit

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

    Permalink
    Definition Classes
    AnyRef
  101. def text: String

    Permalink
    Definition Classes
    Label
  102. def textNonSelectionColor: Color

    Permalink
  103. def textNonSelectionColor_=(c: Color): Unit

    Permalink
  104. def textSelectionColor: Color

    Permalink
  105. def textSelectionColor_=(c: Color): Unit

    Permalink
  106. def text_=(s: String): Unit

    Permalink
    Definition Classes
    Label
  107. def toString(): String

    Permalink
    Definition Classes
    Component → Proxy → AnyRef → Any
  108. def toolkit: Toolkit

    Permalink
    Definition Classes
    UIElement
  109. def tooltip: String

    Permalink
    Definition Classes
    Component
  110. def tooltip_=(t: String): Unit

    Permalink
    Definition Classes
    Component
  111. def unsubscribe(listener: Reaction): Unit

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

    Permalink
    Definition Classes
    UIElement
  113. def verticalAlignment: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    Label
  114. def verticalAlignment_=(x: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    Label
  115. def verticalTextPosition: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    Label
  116. def verticalTextPosition_=(x: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    Label
  117. def visible: Boolean

    Permalink
    Definition Classes
    UIElement
  118. def visible_=(b: Boolean): Unit

    Permalink
    Definition Classes
    UIElement
  119. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  122. def xAlignment: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    Label
  123. def xAlignment_=(x: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    Label
  124. def xLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  125. def xLayoutAlignment_=(x: Double): Unit

    Permalink
    Definition Classes
    Component
  126. def yAlignment: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    Label
  127. def yAlignment_=(x: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    Label
  128. def yLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  129. def yLayoutAlignment_=(y: Double): Unit

    Permalink
    Definition Classes
    Component

Inherited from Tree.Renderer[A]

Inherited from Tree.CellRenderer[A]

Inherited from Label

Inherited from Component

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped