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. def inputVerifier: (Component) ⇒ Boolean

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

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

    Permalink
    Definition Classes
    Any
  59. def leafIcon: Icon

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

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

    Permalink
    Definition Classes
    Reactor
  62. val listeners: RefSet[Reaction]

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

    Permalink
    Definition Classes
    UIElement
  64. def location: Point

    Permalink
    Definition Classes
    UIElement
  65. def locationOnScreen: Point

    Permalink
    Definition Classes
    UIElement
  66. def maximumSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  68. def minimumSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  70. def name: String

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Component
  79. def openIcon: Icon

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  85. 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
  86. def preferredSize: Dimension

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

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

    Permalink
    Definition Classes
    Publisher
  89. val reactions: Reactions

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

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

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

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

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

    Permalink
    Definition Classes
    Component
  95. def self: Any

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

    Permalink
    Definition Classes
    UIElement
  97. def size: Dimension

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

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

    Permalink
    Definition Classes
    AnyRef
  100. def text: String

    Permalink
    Definition Classes
    Label
  101. def textNonSelectionColor: Color

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

    Permalink
  103. def textSelectionColor: Color

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

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

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

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

    Permalink
    Definition Classes
    UIElement
  108. def tooltip: String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Label
  116. def visible: Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    Label
  123. def xLayoutAlignment: Double

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

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

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

    Permalink
    Definition Classes
    Label
  127. def yLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  128. 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