|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.geeboss.util.ImageUtil
public class ImageUtil
Utility class for some Image / Icon concerns in Geeboss
Field Summary | |
---|---|
static org.eclipse.swt.graphics.Color |
mGrayViewFormColor
Gray ViewForm color |
static org.eclipse.swt.graphics.Color |
mHeaderColor
Make the headerColor accessible from all Objects |
static org.eclipse.swt.graphics.Image |
mIconBlueStripes
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconCancelOperation
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconCancelOperationDisabled
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconCopy
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconError
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconFolder
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image[] |
mIconGeeboss
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconSkip
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconSkipDisabled
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconStop
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconValidate
Some multiple used Icons in Geeboss |
static org.eclipse.swt.graphics.Image |
mIconWarning
Some multiple used Icons in Geeboss |
Method Summary | |
---|---|
static void |
disposeIcons()
Dispose icons |
static org.eclipse.swt.graphics.Image |
getFilledImage(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.graphics.RGB color,
int width,
int height)
Fill an Image with a given color |
static org.eclipse.swt.graphics.Image |
getLanguageFlag(java.lang.String locale,
java.lang.Class curClass)
Get the correct flag for the given language. |
static org.eclipse.swt.graphics.Image |
getProgressIcon(int value)
Get the progress icon for the given value. |
static void |
initHeaderColor(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.graphics.RGB color)
Set the color for the header of the ViewForms in Geeboss |
static void |
initIcons(org.eclipse.swt.widgets.Display display,
java.lang.Class mainClass)
Initialize the multiple used icons |
static boolean |
isset(org.eclipse.swt.graphics.Image image)
Check the given Image for being NULL or disposed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.eclipse.swt.graphics.Color mGrayViewFormColor
public static org.eclipse.swt.graphics.Color mHeaderColor
public static org.eclipse.swt.graphics.Image mIconBlueStripes
public static org.eclipse.swt.graphics.Image mIconCancelOperation
public static org.eclipse.swt.graphics.Image mIconCancelOperationDisabled
public static org.eclipse.swt.graphics.Image mIconCopy
public static org.eclipse.swt.graphics.Image mIconError
public static org.eclipse.swt.graphics.Image mIconFolder
public static org.eclipse.swt.graphics.Image[] mIconGeeboss
public static org.eclipse.swt.graphics.Image mIconSkip
public static org.eclipse.swt.graphics.Image mIconSkipDisabled
public static org.eclipse.swt.graphics.Image mIconStop
public static org.eclipse.swt.graphics.Image mIconValidate
public static org.eclipse.swt.graphics.Image mIconWarning
Method Detail |
---|
public static void disposeIcons()
public static org.eclipse.swt.graphics.Image getFilledImage(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.RGB color, int width, int height)
display
- The display as device for the colorcolor
- The color to displaywidth
- Width of the imageheight
- Height of the image
public static org.eclipse.swt.graphics.Image getLanguageFlag(java.lang.String locale, java.lang.Class curClass)
locale
- The languagecurClass
- Current class
public static org.eclipse.swt.graphics.Image getProgressIcon(int value)
value
- The value (20, 40, 60, 80, 100)
public static void initHeaderColor(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.RGB color)
display
- The displaypublic static void initIcons(org.eclipse.swt.widgets.Display display, java.lang.Class mainClass)
display
- The displaymainClass
- to access the JARpublic static boolean isset(org.eclipse.swt.graphics.Image image)
image
- The image to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |