|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.designer.core.Messages
public class Messages
Todo: Document me!
Date: 20.04.2009 Time: 14:47:17
Method Summary | |
---|---|
static Icon |
getIcon(String key)
|
static Icon |
getIcon(String key,
boolean large)
|
static KeyStroke |
getKeyStroke(String key)
|
static KeyStroke |
getKeyStroke(String key,
int mask)
|
static Integer |
getMnemonic(String key)
|
static KeyStroke |
getOptionalKeyStroke(String key)
|
static KeyStroke |
getOptionalKeyStroke(String key,
int mask)
|
static Integer |
getOptionalMnemonic(String key)
|
static String |
getString(String key)
Gets a string for the given key from this resource bundle or one of its parents. |
static String |
getString(String key,
Object param1)
Formats the message stored in the resource bundle (using a MessageFormat). |
static String |
getString(String key,
Object param1,
Object param2)
Formats the message stored in the resource bundle (using a MessageFormat). |
static String |
getString(String key,
Object param1,
Object param2,
Object param3)
Formats the message stored in the resource bundle (using a MessageFormat). |
static String |
getString(String key,
Object param1,
Object param2,
Object param3,
Object param4)
Formats the message stored in the resource bundle (using a MessageFormat). |
static String |
getString(String key,
Object param1,
Object param2,
Object param3,
Object param4,
Object param5)
Formats the message stored in the resource bundle (using a MessageFormat). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getString(String key)
key
- the key for the desired string
NullPointerException
- if key
is null
MissingResourceException
- if no object for the given key can be foundpublic static String getString(String key, Object param1)
key
- the resourcebundle keyparam1
- the parameter for the message
public static String getString(String key, Object param1, Object param2)
key
- the resourcebundle keyparam1
- the parameter for the messageparam2
- the parameter for the message
public static String getString(String key, Object param1, Object param2, Object param3)
key
- the resourcebundle keyparam1
- the parameter for the messageparam2
- the parameter for the messageparam3
- the parameter for the message
public static String getString(String key, Object param1, Object param2, Object param3, Object param4)
key
- the resourcebundle keyparam1
- the parameter for the messageparam2
- the parameter for the messageparam3
- the parameter for the messageparam4
- the parameter for the message
public static String getString(String key, Object param1, Object param2, Object param3, Object param4, Object param5)
key
- the resourcebundle keyparam1
- the parameter for the messageparam2
- the parameter for the messageparam3
- the parameter for the messageparam4
- the parameter for the messageparam5
- the parameter for the message
public static Icon getIcon(String key, boolean large)
public static Icon getIcon(String key)
public static Integer getMnemonic(String key)
public static Integer getOptionalMnemonic(String key)
public static KeyStroke getKeyStroke(String key)
public static KeyStroke getOptionalKeyStroke(String key)
public static KeyStroke getKeyStroke(String key, int mask)
public static KeyStroke getOptionalKeyStroke(String key, int mask)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |