Modifier and Type | Field and Description |
---|---|
static String |
IMAGE_PATH
The path that contains the icons.
|
static int |
MODIFIER_ERROR
Mask for the node that has an error.
|
static int |
MODIFIER_LEAF
Mask for the leaf node.
|
static int |
MODIFIER_REFERRAL
Mask for the referral node.
|
Constructor and Description |
---|
IconPool()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
ImageIcon |
getDefaultContainerIcon()
Returns the icon associated with a container node.
|
ImageIcon |
getDefaultLeafIcon()
Returns the icon associated with a leaf node.
|
ImageIcon |
getErrorIcon()
Returns the icon associated with a node for which an error occurred.
|
ImageIcon |
getErrorMaskIcon()
Returns the icon associated with the error mask icon.
|
ImageIcon |
getIcon(SortedSet<String> objectClasses,
int modifiers)
If objectClass is null, a default icon is used.
|
ImageIcon |
getIconForRootNode()
Returns the icon associated with a root node.
|
ImageIcon |
getReferralMaskIcon()
Returns the icon associated with the referral mask icon.
|
ImageIcon |
getSuffixIcon()
Returns the icon associated with a suffix node.
|
public static final int MODIFIER_LEAF
public static final int MODIFIER_REFERRAL
public static final int MODIFIER_ERROR
public static final String IMAGE_PATH
public IconPool()
public ImageIcon getIcon(SortedSet<String> objectClasses, int modifiers)
objectClasses
- the objectclass values of the entry for which we want
an icon.modifiers
- the modifiers associated with the entry (if there was
an error, if it is a referral, etc.).public ImageIcon getDefaultLeafIcon()
public ImageIcon getDefaultContainerIcon()
public ImageIcon getSuffixIcon()
public ImageIcon getIconForRootNode()
public ImageIcon getErrorIcon()
public ImageIcon getErrorMaskIcon()
public ImageIcon getReferralMaskIcon()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.