Interface BreadcrumbTreeAdapterSelector.TreeAdapter<T>
-
- Enclosing class:
- BreadcrumbTreeAdapterSelector<T>
public static interface BreadcrumbTreeAdapterSelector.TreeAdapter<T>
Tree adapter that allows plugging a custom rendering logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RadianceIcon.Factory
getIconFactory(T node)
Returns the icon factory for the specified tree node.java.lang.String
toString(T node)
Returns the caption for the specified tree node.
-
-
-
Method Detail
-
toString
java.lang.String toString(T node)
Returns the caption for the specified tree node. Note that the extending class must override this method in an EDT-safe fashion.- Parameters:
node
- Tree node.- Returns:
- The caption for the specified tree node.
-
getIconFactory
default RadianceIcon.Factory getIconFactory(T node)
Returns the icon factory for the specified tree node.- Parameters:
node
- Tree node.- Returns:
- The icon factory for the specified tree node.
-
-