|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.rssowl.util.shop.PaintShop
Factory class for some Paint / Icon concerns in RSSOwl
Field Summary | |
private static Class |
clazz
Class required for Image loading |
static org.eclipse.swt.graphics.Color |
grayToolBarColor
Gray ToolBar color |
static org.eclipse.swt.graphics.Color |
grayViewFormColor
Gray ViewForm color |
static org.eclipse.swt.graphics.Image |
iconAddToFavorites
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconBackward
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconBlueStripes
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconCancelOperation
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconCancelOperationDisabled
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconCopy
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconError
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconErrorLense
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconFeedDiscovery
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconFind
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconFolder
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconFolderSubscribe
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconFolderSubscribeUnread
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconFolderUnread
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconForward
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconHTML
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconLense
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconLenseUnread
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconMail
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconNotRated
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image[] |
iconOwl
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconPDF
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconPrint
Some multiple used Icons in RSSOwl |
private static org.eclipse.swt.graphics.Image |
iconProgress0
Some multiple used Icons in RSSOwl |
private static org.eclipse.swt.graphics.Image |
iconProgress100
Some multiple used Icons in RSSOwl |
private static org.eclipse.swt.graphics.Image |
iconProgress20
Some multiple used Icons in RSSOwl |
private static org.eclipse.swt.graphics.Image |
iconProgress40
Some multiple used Icons in RSSOwl |
private static org.eclipse.swt.graphics.Image |
iconProgress60
Some multiple used Icons in RSSOwl |
private static org.eclipse.swt.graphics.Image |
iconProgress80
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconRateSuccess
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconRead
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconReload
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconReloadBrowser
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconRTF
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconSearch
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconSkip
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconSkipDisabled
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconStop
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconUnread
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconValidate
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconWarning
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Image |
iconWorld
Some multiple used Icons in RSSOwl |
static org.eclipse.swt.graphics.Color |
linkColor
Make the linkColor accessible from all Objects |
static org.eclipse.swt.graphics.Color |
syntaxHighlightColor
Make the syntaxHighlightColor accessible from all Objects |
Constructor Summary | |
private |
PaintShop()
This utility class constructor is hidden |
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(String locale,
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 |
initIcons()
Initialize the multiple used icons |
static void |
initLinkColor(org.eclipse.swt.widgets.Display display)
Set the color for the links |
static void |
initSyntaxHighlightColor(org.eclipse.swt.widgets.Display display)
Set the color for the syntaxhighlight |
static boolean |
isset(org.eclipse.swt.graphics.Image image)
Check the given Image for being NULL or disposed. |
static org.eclipse.swt.graphics.Image |
loadImage(String path)
Load an Image from the given Path using an InputStream that is closed after the Image has been loaded. |
static org.eclipse.swt.graphics.Image |
loadImage(String path,
boolean hideOnMac)
Load an Image from the given Path using an InputStream that is closed after the Image has been loaded. |
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 grayToolBarColor
public static org.eclipse.swt.graphics.Color grayViewFormColor
public static org.eclipse.swt.graphics.Image iconAddToFavorites
public static org.eclipse.swt.graphics.Image iconBackward
public static org.eclipse.swt.graphics.Image iconBlueStripes
public static org.eclipse.swt.graphics.Image iconCancelOperation
public static org.eclipse.swt.graphics.Image iconCancelOperationDisabled
public static org.eclipse.swt.graphics.Image iconCopy
public static org.eclipse.swt.graphics.Image iconError
public static org.eclipse.swt.graphics.Image iconErrorLense
public static org.eclipse.swt.graphics.Image iconFeedDiscovery
public static org.eclipse.swt.graphics.Image iconFind
public static org.eclipse.swt.graphics.Image iconFolder
public static org.eclipse.swt.graphics.Image iconFolderSubscribe
public static org.eclipse.swt.graphics.Image iconFolderSubscribeUnread
public static org.eclipse.swt.graphics.Image iconFolderUnread
public static org.eclipse.swt.graphics.Image iconForward
public static org.eclipse.swt.graphics.Image iconHTML
public static org.eclipse.swt.graphics.Image iconLense
public static org.eclipse.swt.graphics.Image iconLenseUnread
public static org.eclipse.swt.graphics.Image iconMail
public static org.eclipse.swt.graphics.Image iconNotRated
public static org.eclipse.swt.graphics.Image[] iconOwl
public static org.eclipse.swt.graphics.Image iconPDF
public static org.eclipse.swt.graphics.Image iconPrint
public static org.eclipse.swt.graphics.Image iconRateSuccess
public static org.eclipse.swt.graphics.Image iconRead
public static org.eclipse.swt.graphics.Image iconReload
public static org.eclipse.swt.graphics.Image iconReloadBrowser
public static org.eclipse.swt.graphics.Image iconRTF
public static org.eclipse.swt.graphics.Image iconSearch
public static org.eclipse.swt.graphics.Image iconSkip
public static org.eclipse.swt.graphics.Image iconSkipDisabled
public static org.eclipse.swt.graphics.Image iconStop
public static org.eclipse.swt.graphics.Image iconUnread
public static org.eclipse.swt.graphics.Image iconValidate
public static org.eclipse.swt.graphics.Image iconWarning
public static org.eclipse.swt.graphics.Image iconWorld
public static org.eclipse.swt.graphics.Color linkColor
public static org.eclipse.swt.graphics.Color syntaxHighlightColor
private static final Class clazz
private static org.eclipse.swt.graphics.Image iconProgress0
private static org.eclipse.swt.graphics.Image iconProgress100
private static org.eclipse.swt.graphics.Image iconProgress20
private static org.eclipse.swt.graphics.Image iconProgress40
private static org.eclipse.swt.graphics.Image iconProgress60
private static org.eclipse.swt.graphics.Image iconProgress80
Constructor Detail |
private PaintShop()
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(String locale, 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 initIcons()
public static void initLinkColor(org.eclipse.swt.widgets.Display display)
display
- The displaypublic static void initSyntaxHighlightColor(org.eclipse.swt.widgets.Display display)
display
- The displaypublic static boolean isset(org.eclipse.swt.graphics.Image image)
image
- The image to check
public static org.eclipse.swt.graphics.Image loadImage(String path)
path
- Path to the Image (must start with "/")
public static org.eclipse.swt.graphics.Image loadImage(String path, boolean hideOnMac)
path
- Path to the Image (must start with "/")hideOnMac
- If TRUE, hide the Image on Mac
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |