org.netbeans.modules.java.sourceui/1 1.23.1 1

org.netbeans.api.java.source.ui
Class ElementIcons

java.lang.Object
  extended by org.netbeans.api.java.source.ui.ElementIcons

public class ElementIcons
extends Object


Method Summary
static Icon getElementIcon(ElementKind elementKind, Collection<Modifier> modifiers)
          Gets correct icon for given ElementKind.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 for
modifiers - Can be null for empty modifiers collection
Returns:
Icon which should be used for the element throughout the IDE.

org.netbeans.modules.java.sourceui/1 1.23.1 1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.