public abstract class ElementBase extends UserDataHolderBase implements Iconable
Iconable.IconFlags, Iconable.LastComputedIcon
Modifier and Type | Field and Description |
---|---|
static int |
FLAGS_LOCKED |
static NotNullLazyValue<javax.swing.Icon> |
ICON_PLACEHOLDER |
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
Constructor and Description |
---|
ElementBase() |
Modifier and Type | Method and Description |
---|---|
static RowIcon |
buildRowIcon(javax.swing.Icon baseIcon,
javax.swing.Icon visibilityIcon) |
protected javax.swing.Icon |
computeBaseIcon(int flags) |
static com.intellij.ui.RowIcon |
createLayeredIcon(Iconable instance,
javax.swing.Icon icon,
int flags)
Deprecated.
|
protected javax.swing.Icon |
getAdjustedBaseIcon(javax.swing.Icon icon,
int flags) |
protected javax.swing.Icon |
getBaseIcon() |
protected javax.swing.Icon |
getElementIcon(int flags) |
javax.swing.Icon |
getIcon(int flags) |
static javax.swing.Icon |
iconWithVisibilityIfNeeded(int flags,
javax.swing.Icon baseIcon,
javax.swing.Icon visibility) |
static boolean |
isNativeFileType(FileType fileType) |
protected boolean |
isVisibilitySupported() |
static javax.swing.Icon |
overlayIcons(javax.swing.Icon... icons) |
static void |
registerIconLayer(int flagMask,
javax.swing.Icon icon)
Deprecated.
|
static int |
transformFlags(PsiElement element,
int _flags) |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public static final int FLAGS_LOCKED
public static final NotNullLazyValue<javax.swing.Icon> ICON_PLACEHOLDER
protected javax.swing.Icon computeBaseIcon(int flags)
protected javax.swing.Icon getBaseIcon()
public static boolean isNativeFileType(FileType fileType)
protected javax.swing.Icon getAdjustedBaseIcon(javax.swing.Icon icon, int flags)
protected boolean isVisibilitySupported()
public static javax.swing.Icon overlayIcons(javax.swing.Icon... icons)
public static RowIcon buildRowIcon(javax.swing.Icon baseIcon, javax.swing.Icon visibilityIcon)
public static javax.swing.Icon iconWithVisibilityIfNeeded(int flags, javax.swing.Icon baseIcon, javax.swing.Icon visibility)
protected javax.swing.Icon getElementIcon(int flags)
@Deprecated public static com.intellij.ui.RowIcon createLayeredIcon(Iconable instance, javax.swing.Icon icon, int flags)
public static int transformFlags(PsiElement element, int _flags)
@Deprecated public static void registerIconLayer(int flagMask, javax.swing.Icon icon)
IconManager.registerIconLayer(int, Icon)