|
org.netbeans.swing.outline 1.20 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RenderDataProvider
A class which can provide rendering data for the tree portion an Outline, such as converting values to text, providing tooltip text and icons. Makes it possible to provide most of the interesting data that affects display without needing to provide a custom cell renderer.
| Method Summary | |
|---|---|
Color |
getBackground(Object o)
Get the background color to be used for rendering this node. |
String |
getDisplayName(Object o)
Convert an object in the tree to the string that should be used to display its node |
Color |
getForeground(Object o)
Get the foreground color to be used for rendering this node. |
Icon |
getIcon(Object o)
Get an icon to be used for this object. |
String |
getTooltipText(Object o)
Get a description for this object suitable for use in a tooltip. |
boolean |
isHtmlDisplayName(Object o)
Returns true of the display name for this object should use HTML rendering (future support for integration of the lightweight HTML renderer into NetBeans). |
| Method Detail |
|---|
String getDisplayName(Object o)
boolean isHtmlDisplayName(Object o)
Color getBackground(Object o)
Color getForeground(Object o)
String getTooltipText(Object o)
Icon getIcon(Object o)
|
org.netbeans.swing.outline 1.20 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||