|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.util.shop.PaintShop
public class PaintShop
Factory class for some Paint / Icon concerns in RSSOwl
| Field Summary | |
|---|---|
private static java.lang.Class |
clazz
Class required for Image loading |
static Color |
grayToolBarColor
Gray ToolBar color |
static Color |
grayViewFormColor
Gray ViewForm color |
static Image |
iconAddBlogroll
Some multiple used Icons in RSSOwl |
static Image |
iconAddCategory
Some multiple used Icons in RSSOwl |
static Image |
iconAddToFavorites
Some multiple used Icons in RSSOwl |
static Image |
iconBackward
Some multiple used Icons in RSSOwl |
static Image |
iconBlueStripes
Some multiple used Icons in RSSOwl |
static Image |
iconCancelOperation
Some multiple used Icons in RSSOwl |
static Image |
iconCancelOperationDisabled
Some multiple used Icons in RSSOwl |
static Image |
iconChecked
Some multiple used Icons in RSSOwl |
static Image |
iconCopy
Some multiple used Icons in RSSOwl |
static Image |
iconDelete
Some multiple used Icons in RSSOwl |
static Image |
iconError
Some multiple used Icons in RSSOwl |
static Image |
iconErrorLense
Some multiple used Icons in RSSOwl |
static Image |
iconExport
Some multiple used Icons in RSSOwl |
static Image |
iconExportOpml
Some multiple used Icons in RSSOwl |
static Image |
iconFeedDiscovery
Some multiple used Icons in RSSOwl |
static Image |
iconFind
Some multiple used Icons in RSSOwl |
static Image |
iconFolder
Some multiple used Icons in RSSOwl |
static Image |
iconFolderSubscribe
Some multiple used Icons in RSSOwl |
static Image |
iconFolderSubscribeUnread
Some multiple used Icons in RSSOwl |
static Image |
iconFolderUnread
Some multiple used Icons in RSSOwl |
static Image |
iconForward
Some multiple used Icons in RSSOwl |
static Image |
iconHTML
Some multiple used Icons in RSSOwl |
static Image |
iconImport
Some multiple used Icons in RSSOwl |
static Image |
iconImportOpml
Some multiple used Icons in RSSOwl |
static Image |
iconInfo
Some multiple used Icons in RSSOwl |
static Image |
iconLense
Some multiple used Icons in RSSOwl |
static Image |
iconLenseUnread
Some multiple used Icons in RSSOwl |
static Image |
iconMail
Some multiple used Icons in RSSOwl |
static Image |
iconNew
Some multiple used Icons in RSSOwl |
static Image |
iconNotRated
Some multiple used Icons in RSSOwl |
static Image[] |
iconOwl
Some multiple used Icons in RSSOwl |
static Image |
iconPDF
Some multiple used Icons in RSSOwl |
static Image |
iconPrint
Some multiple used Icons in RSSOwl |
private static Image |
iconProgress0
Some multiple used Icons in RSSOwl |
private static Image |
iconProgress100
Some multiple used Icons in RSSOwl |
private static Image |
iconProgress20
Some multiple used Icons in RSSOwl |
private static Image |
iconProgress40
Some multiple used Icons in RSSOwl |
private static Image |
iconProgress60
Some multiple used Icons in RSSOwl |
private static Image |
iconProgress80
Some multiple used Icons in RSSOwl |
static Image |
iconRateSuccess
Some multiple used Icons in RSSOwl |
static Image |
iconRead
Some multiple used Icons in RSSOwl |
static Image |
iconReload
Some multiple used Icons in RSSOwl |
static Image |
iconReloadBrowser
Some multiple used Icons in RSSOwl |
static Image |
iconRTF
Some multiple used Icons in RSSOwl |
static Image |
iconSearch
Some multiple used Icons in RSSOwl |
static Image |
iconSkip
Some multiple used Icons in RSSOwl |
static Image |
iconSkipDisabled
Some multiple used Icons in RSSOwl |
static Image |
iconStop
Some multiple used Icons in RSSOwl |
static Image |
iconSubCategory
Some multiple used Icons in RSSOwl |
static Image |
iconUnread
Some multiple used Icons in RSSOwl |
static Image |
iconValidate
Some multiple used Icons in RSSOwl |
static Image |
iconWarning
Some multiple used Icons in RSSOwl |
static Image |
iconWorld
Some multiple used Icons in RSSOwl |
static Color |
linkColor
Make the linkColor accessible from all Objects |
static Color |
syntaxHighlightColor
Make the syntaxHighlightColor accessible from all Objects |
static Color |
viewFormBorderInsideColor
First Border Color of ViewForm |
static Color |
viewFormBorderMiddleColor
Second Border Color of ViewForm |
static Color |
viewFormBorderOutsideColor
Third Border Color of ViewForm |
| Constructor Summary | |
|---|---|
private |
PaintShop()
This utility class constructor is hidden |
| Method Summary | |
|---|---|
static void |
disposeIcons()
Dispose icons |
static Image |
getFilledImage(Display display,
RGB color,
int width,
int height)
Fill an Image with a given color |
static Image |
getLanguageFlag(java.lang.String locale,
java.lang.Class curClass)
Get the correct flag for the given language. |
static Image |
getProgressIcon(int value)
Get the progress icon for the given value. |
static void |
initColors()
Initialize the multiple used colors |
static void |
initIcons()
Initialize the multiple used icons |
static void |
initLinkColor(Display display)
Set the color for the links |
static void |
initSyntaxHighlightColor(Display display)
Set the color for the syntaxhighlight |
static boolean |
isset(Image image)
Check the given Image for being NULL or disposed. |
static Image |
loadImage(java.lang.String path)
Load an Image from the given Path using an InputStream that is closed after the Image has been loaded. |
static Image |
loadImage(java.lang.String path,
boolean hideOnMac)
Load an Image from the given Path using an InputStream that is closed after the Image has been loaded. |
static Image |
sizeTo(Display display,
Image src,
int width,
int height,
boolean disposeSrc)
Takes the given Image and creates a new one with the given Size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Color grayToolBarColor
public static Color grayViewFormColor
public static Image iconAddBlogroll
public static Image iconAddCategory
public static Image iconAddToFavorites
public static Image iconBackward
public static Image iconBlueStripes
public static Image iconCancelOperation
public static Image iconCancelOperationDisabled
public static Image iconCopy
public static Image iconChecked
public static Image iconDelete
public static Image iconError
public static Image iconErrorLense
public static Image iconExport
public static Image iconExportOpml
public static Image iconFeedDiscovery
public static Image iconFind
public static Image iconFolder
public static Image iconFolderSubscribe
public static Image iconFolderSubscribeUnread
public static Image iconFolderUnread
public static Image iconForward
public static Image iconHTML
public static Image iconImport
public static Image iconImportOpml
public static Image iconInfo
public static Image iconLense
public static Image iconLenseUnread
public static Image iconMail
public static Image iconNew
public static Image iconNotRated
public static Image[] iconOwl
public static Image iconPDF
public static Image iconPrint
public static Image iconRateSuccess
public static Image iconRead
public static Image iconReload
public static Image iconReloadBrowser
public static Image iconRTF
public static Image iconSearch
public static Image iconSkip
public static Image iconSkipDisabled
public static Image iconStop
public static Image iconSubCategory
public static Image iconUnread
public static Image iconValidate
public static Image iconWarning
public static Image iconWorld
public static Color linkColor
public static Color syntaxHighlightColor
public static Color viewFormBorderInsideColor
public static Color viewFormBorderMiddleColor
public static Color viewFormBorderOutsideColor
private static final java.lang.Class clazz
private static Image iconProgress0
private static Image iconProgress100
private static Image iconProgress20
private static Image iconProgress40
private static Image iconProgress60
private static Image iconProgress80
| Constructor Detail |
|---|
private PaintShop()
| Method Detail |
|---|
public static void disposeIcons()
public static Image getFilledImage(Display display,
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 Image getLanguageFlag(java.lang.String locale,
java.lang.Class curClass)
locale - The languagecurClass - Current class
public static Image getProgressIcon(int value)
value - The value (20, 40, 60, 80, 100)
public static void initColors()
public static void initIcons()
public static void initLinkColor(Display display)
display - The displaypublic static void initSyntaxHighlightColor(Display display)
display - The displaypublic static boolean isset(Image image)
image - The image to check
public static Image loadImage(java.lang.String path)
path - Path to the Image (must start with "/")
public static Image loadImage(java.lang.String path,
boolean hideOnMac)
path - Path to the Image (must start with "/")hideOnMac - If TRUE, hide the Image on Mac
public static Image sizeTo(Display display,
Image src,
int width,
int height,
boolean disposeSrc)
display - The display as device for the image.src - The source Image to resize.width - The width of the new Image.height - The height of the new Image.disposeSrc - If TRUE, dispose the source Image.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||