|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItemPresentation
The presentation of an item in a tree, list or similar view.
TreeElement.getPresentation(),
PresentationData| Method Summary | |
|---|---|
javax.swing.Icon |
getIcon(boolean open)
Returns the icon representing the object. |
java.lang.String |
getLocationString()
Returns the location of the object (for example, the package of a class). |
java.lang.String |
getPresentableText()
Returns the name of the object to be presented in most renderers across the program. |
TextAttributesKey |
getTextAttributesKey()
Returns the text attributes for rendering the item text. |
| Method Detail |
|---|
java.lang.String getPresentableText()
@Nullable java.lang.String getLocationString()
@Nullable javax.swing.Icon getIcon(boolean open)
open - only meaningful when used in a tree renderers. false is passed when icon for other renderers is required.
@Nullable TextAttributesKey getTextAttributesKey()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||