public interface TreeCellValueConverter
Tree
componentModifier and Type | Method and Description |
---|---|
Color |
getForeground(Component renderedComponent,
Object modelObject)
Returns the foreground color used in the representation of the object
|
String |
getValue(Component renderedComponent,
Object modelObject)
Returns the textual representation of the given tree object
|
boolean |
isBold(Component renderedComponent,
Object modelObject)
Indicates whether the given tree object is painted in bold
|
String getValue(Component renderedComponent, Object modelObject)
renderedComponent
- the Component returned by the JTree's renderermodelObject
- the Object returned by the JTree's internal modelboolean isBold(Component renderedComponent, Object modelObject)
Copyright © 2004–2016. All rights reserved.