|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeCellValueConverter
Performs a conversion between internal and tested cell values in a Tree component
Tree.setCellValueConverter(org.uispec4j.TreeCellValueConverter)| Method Summary | |
|---|---|
java.awt.Color |
getForeground(java.awt.Component renderedComponent,
java.lang.Object modelObject)
Returns the foreground color used in the representation of the object |
java.lang.String |
getValue(java.awt.Component renderedComponent,
java.lang.Object modelObject)
Returns the textual representation of the given tree object |
boolean |
isBold(java.awt.Component renderedComponent,
java.lang.Object modelObject)
Indicates whether the given tree object is painted in bold |
| Method Detail |
|---|
java.lang.String getValue(java.awt.Component renderedComponent,
java.lang.Object modelObject)
renderedComponent - the Component returned by the JTree's renderermodelObject - the Object returned by the JTree's internal model
boolean isBold(java.awt.Component renderedComponent,
java.lang.Object modelObject)
java.awt.Color getForeground(java.awt.Component renderedComponent,
java.lang.Object modelObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||