Class ImageUtil
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.util.ImageUtil
-
public class ImageUtil extends java.lang.Object
A class used to get ImageIcon object from classpath. fixed by @author arendd
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Color
DEFAULT_TEXT_COLOR
static java.awt.Font
FONT_12_BOLD
static java.awt.Font
FONT_14_BOLD
-
Constructor Summary
Constructors Constructor Description ImageUtil()
-
Method Summary
Modifier and Type Method Description static java.awt.image.BufferedImage
createDropShadow(java.awt.image.BufferedImage image, int size)
static java.awt.image.BufferedImage
createDropShadow(java.awt.image.BufferedImage image, int size, java.awt.Color renderColor)
static javax.swing.ImageIcon
createImageIcon(java.lang.String path, java.lang.String description)
static java.awt.TexturePaint
createTexturePaint(java.lang.String imgPath)
static java.awt.Image
createWindowTitleShadowImage(java.awt.Graphics2D g2d, java.lang.String title, boolean activeWindow)
static java.awt.image.ConvolveOp
getGaussianBlurFilter(int radius, boolean horizontal)
static java.awt.Image
getImage(java.lang.String imgPath)
-
-
-
Method Detail
-
createImageIcon
public static javax.swing.ImageIcon createImageIcon(java.lang.String path, java.lang.String description)
-
getImage
public static java.awt.Image getImage(java.lang.String imgPath)
-
createTexturePaint
public static java.awt.TexturePaint createTexturePaint(java.lang.String imgPath)
-
createWindowTitleShadowImage
public static java.awt.Image createWindowTitleShadowImage(java.awt.Graphics2D g2d, java.lang.String title, boolean activeWindow)
-
createDropShadow
public static java.awt.image.BufferedImage createDropShadow(java.awt.image.BufferedImage image, int size)
-
createDropShadow
public static java.awt.image.BufferedImage createDropShadow(java.awt.image.BufferedImage image, int size, java.awt.Color renderColor)
-
getGaussianBlurFilter
public static java.awt.image.ConvolveOp getGaussianBlurFilter(int radius, boolean horizontal)
-
-