public class JavaColorProvider extends java.lang.Object implements ElementColorProvider
EP_NAME
Constructor and Description |
---|
JavaColorProvider() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getBoolean(UExpression expr) |
java.awt.Color |
getColorFrom(PsiElement element) |
static float |
getFloat(UExpression expr) |
static int |
getInt(UExpression expr) |
static java.awt.Color |
getJavaColorFromExpression(PsiElement element) |
static boolean |
isColorType(PsiType type) |
void |
setColorTo(PsiElement element,
java.awt.Color color) |
public java.awt.Color getColorFrom(PsiElement element)
getColorFrom
in interface ElementColorProvider
public static boolean isColorType(PsiType type)
public static java.awt.Color getJavaColorFromExpression(PsiElement element)
public static int getInt(UExpression expr)
public static float getFloat(UExpression expr)
public static boolean getBoolean(UExpression expr)
public void setColorTo(PsiElement element, java.awt.Color color)
setColorTo
in interface ElementColorProvider