* @param value the node that the new icon is being applied to
* @return an combined icon that has the scope decal
*/
private Icon addScopeIcon (Icon baseImage, NavEntityNode value){
// Uses a cache to store icons already combined
ScopedEntity entity = value.getEntity();
Icon baseIcon = baseImage;
Icon overlayIcon = null;
Map<Icon, Icon> cache = null;
if (entity.getScope().isPublic()) {
cache = imageCache_public;
overlayIcon = SCOPE_PUBLIC_ICON;
} else if (entity.getScope().isProtected()) {
cache = imageCache_protected;
overlayIcon = SCOPE_PROTECTED_ICON;
} else { //entity.getScope().isPrivate()
cache = imageCache_private;