Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val isBuilding: Boolean = false

Whether this AbstractWorkbenchTreeNode represent an Avail module that is actively being built.

Link copied to clipboard
open val sortMajor: Int

The primary order by which to sort this node relative to siblings.

Link copied to clipboard

Answer an Iterable over the children, but type-strengthening the elements to AbstractWorkbenchTreeNode.

Functions

Link copied to clipboard
open fun add(p0: MutableTreeNode)
Link copied to clipboard
open override fun children(): Enumeration<TreeNode>
Link copied to clipboard
open override fun clone(): Any
Link copied to clipboard
open operator override fun compareTo(other: AbstractWorkbenchTreeNode): Int

Order this node against another.

Link copied to clipboard
Link copied to clipboard
open override fun getAllowsChildren(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun getChildAt(p0: Int): TreeNode
Link copied to clipboard
Link copied to clipboard
open override fun getChildCount(): Int
Link copied to clipboard
open fun getDepth(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getIndex(p0: TreeNode): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLeafCount(): Int
Link copied to clipboard
open fun getLevel(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getParent(): TreeNode
Link copied to clipboard
open fun getPath(): Array<TreeNode>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getRoot(): TreeNode
Link copied to clipboard
Link copied to clipboard
open fun getSiblingCount(): Int
Link copied to clipboard
open fun getUserObject(): Any
Link copied to clipboard
Link copied to clipboard
open fun htmlText(selected: Boolean): String

Construct HTML text to present for this node.

Link copied to clipboard
fun icon(lineHeight: Int): ImageIcon?

Return a suitable icon to display for this instance with the given line height.

Link copied to clipboard

Whether to expand this node when the Anvil workbench opens.

Link copied to clipboard
open override fun insert(p0: MutableTreeNode, p1: Int)
Link copied to clipboard
open override fun isLeaf(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isRoot(): Boolean
Link copied to clipboard

Answer whether string is an appropriate semantic label for this node.

Link copied to clipboard
fun labelForText(text: String, icon: ImageIcon?): JLabel

Given text which is likely to match previously supplied text for this node, answer either a JLabel, using and/or caching it as appropriate.

Link copied to clipboard
abstract fun modulePathString(): String

Answer a String suitable for identifying this node even after refreshing the tree.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun remove(p0: MutableTreeNode)
open override fun remove(p0: Int)
Link copied to clipboard
Link copied to clipboard
open override fun removeFromParent()
Link copied to clipboard
Link copied to clipboard
open override fun setParent(p0: MutableTreeNode)
Link copied to clipboard
open override fun setUserObject(p0: Any)
Link copied to clipboard

Sort the direct children of this node. The default sort order is alphabetic by the nodes' text (passing false).

Link copied to clipboard
open fun text(selected: Boolean): String

Extract text to display for this node. Presentation styling will be applied separately.

Link copied to clipboard
open override fun toString(): String