|
RADi Runtime Library v1.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.muntjak.radiloader.RadiLoader
public class RadiLoader
RadiLoader
is the central RADi runtime class. One of the
static loadObjects
methods must be called from client code
to load and instantiate the GUI.
Constructor Summary | |
---|---|
RadiLoader()
|
Method Summary | |
---|---|
static Object |
getBorderFromString(String jis)
This method is public only so it can be called from R-Bean instances. |
static Icon |
getIconFromString(String s)
This method is public only so it can be called from R-Bean instances. |
static Object |
getURLFromString(String jis)
This method is public only so it can be called from R-Bean instances. |
static void |
loadObjects(Object target,
String fn)
This variant of loadObjects() is called by default from RADi-generated code. |
static void |
loadObjects(Object target,
String fn,
boolean silent)
This method should be called from the constructor of the target class respective from an applet's init method. |
static void |
loadObjects(Object target,
String fn,
Locale locale)
Call this method only for testing internationalization ResourceBundles
but not for a public release. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadiLoader()
Method Detail |
---|
public static void loadObjects(Object target, String fn)
false
.
target
- the calling classfn
- name of the layout definition file to processloadObjects(Object, String, boolean)
public static void loadObjects(Object target, String fn, boolean silent)
init
method.
target
- the calling classfn
- name of the layout definition file to processsilent
- suppress warnings on System.err
about
missing member declarations, missing resources, missing event
targets or property targetspublic static void loadObjects(Object target, String fn, Locale locale)
ResourceBundles
but not for a public release.
WARNING: Calling this method from an unsigned applet will cause an
AccessControlException
because unsigned applets are
not allowed to change the user's locale.
target
- the calling classfn
- name of the layout definition file to processlocale
- a locale which will be set as the default locale.
Specifying null
will cause a NullPointerException
to be thrown
NullPointerException
- if locale
is
null
public static Object getBorderFromString(String jis)
jis
- a string describing the border to create
null
public static Icon getIconFromString(String s)
s
- a string describing the icon to create
null
public static Object getURLFromString(String jis)
jis
- a string describing the URL to create
null
|
RADi Runtime Library v1.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |