org.netbeans.api.java.source.ui
Class ElementIcons
java.lang.Object
org.netbeans.api.java.source.ui.ElementIcons
public class ElementIcons
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getElementIcon
public static Icon getElementIcon(ElementKind elementKind,
Collection<Modifier> modifiers)
- Gets correct icon for given ElementKind.
- Parameters:
elementKind
- Kind of the element the Icon is required formodifiers
- Can be null for empty modifiers collection
- Returns:
- Icon which should be used for the element throughout the IDE.