|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ponec.jworksheet.resources.ResourceProvider
public class ResourceProvider
Provides Images and other resources.
Field Summary | |
---|---|
static java.lang.String |
FILE_CSS
Cascade Style Sheet |
static java.lang.String |
IMG_ADD
|
static java.lang.String |
IMG_APPLICATION_DOUBLE
|
static java.lang.String |
IMG_APPLICATION_LIST
|
static java.lang.String |
IMG_APPLICATION_SPLIT
|
static java.lang.String |
IMG_ARROW_DOWN
|
static java.lang.String |
IMG_ARROW_UNDO
|
static java.lang.String |
IMG_CANCEL
|
static java.lang.String |
IMG_DATE
|
static java.lang.String |
IMG_DELETE
|
static java.lang.String |
IMG_EMPTY
|
static java.lang.String |
IMG_HELP
|
static java.lang.String |
IMG_HOME_PAGE
|
static java.lang.String |
IMG_INFORMATION
|
static java.lang.String |
IMG_NEXT
|
static java.lang.String |
IMG_OK
|
static java.lang.String |
IMG_PREV
|
static java.lang.String |
IMG_REPORT
|
static java.lang.String |
IMG_TICK
|
static java.lang.String |
IMG_WRENCH
|
static java.lang.String |
LOGO
Icon s |
static java.lang.String |
LOGO_TRY
|
static java.lang.String |
LOGO16
|
static java.lang.String |
REPORT_BASE
A Report XSL Style Sheet |
static java.lang.String |
REPORT_BASE2
|
static java.lang.String |
SORT
|
static java.lang.String |
TEXT_PROPERTIES
Localized text properties. |
Constructor Summary | |
---|---|
ResourceProvider()
Creates a new instance of ResourceProvider |
Method Summary | |
---|---|
javax.swing.ImageIcon |
getIcon(java.lang.String name)
Returns an Icon from a file name. |
javax.swing.ImageIcon |
getIcon(java.lang.String name,
boolean hideIcon)
Returns an Icon from a file name. |
java.awt.Image |
getImage(java.lang.String name)
Returns an Image from a file name. |
java.lang.String |
getText(java.lang.String key,
java.util.Locale locale)
Returns Localization of the key |
java.net.URL |
getUrl(java.lang.String fileName)
Returns a URL of resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FILE_CSS
public static final java.lang.String TEXT_PROPERTIES
public static java.lang.String REPORT_BASE
public static java.lang.String REPORT_BASE2
public static java.lang.String LOGO
public static java.lang.String LOGO16
public static java.lang.String LOGO_TRY
public static java.lang.String SORT
public static final java.lang.String IMG_ADD
public static final java.lang.String IMG_APPLICATION_DOUBLE
public static final java.lang.String IMG_APPLICATION_LIST
public static final java.lang.String IMG_APPLICATION_SPLIT
public static final java.lang.String IMG_ARROW_DOWN
public static final java.lang.String IMG_ARROW_UNDO
public static final java.lang.String IMG_DATE
public static final java.lang.String IMG_DELETE
public static final java.lang.String IMG_HELP
public static final java.lang.String IMG_INFORMATION
public static final java.lang.String IMG_REPORT
public static final java.lang.String IMG_TICK
public static final java.lang.String IMG_WRENCH
public static final java.lang.String IMG_OK
public static final java.lang.String IMG_CANCEL
public static final java.lang.String IMG_EMPTY
public static final java.lang.String IMG_HOME_PAGE
public static final java.lang.String IMG_PREV
public static final java.lang.String IMG_NEXT
Constructor Detail |
---|
public ResourceProvider()
Method Detail |
---|
public java.net.URL getUrl(java.lang.String fileName)
public javax.swing.ImageIcon getIcon(java.lang.String name, boolean hideIcon)
public javax.swing.ImageIcon getIcon(java.lang.String name)
public java.awt.Image getImage(java.lang.String name)
public java.lang.String getText(java.lang.String key, java.util.Locale locale)
|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |