| java.lang.Object java.beans.Beans
Beans | public class Beans (Code) | | This class provides some general purpose beans control methods.
|
Method Summary | |
public static Object | instantiate(ClassLoader cls, String beanName)
Instantiate a JavaBean.
Parameters: classLoader - the class-loader from which we should createthe bean. | public static boolean | isDesignTime() Test if we are in design-mode. | public static boolean | isGuiAvailable() Determines whether beans can assume a GUI is available.
True if we are running in an environment where beanscan assume that an interactive GUI is available, so theycan pop up dialog boxes, etc. |
isDesignTime | public static boolean isDesignTime()(Code) | | Test if we are in design-mode.
True if we are running in an application constructionenvironment. See Also: java.beans.DesignMode |
isGuiAvailable | public static boolean isGuiAvailable()(Code) | | Determines whether beans can assume a GUI is available.
True if we are running in an environment where beanscan assume that an interactive GUI is available, so theycan pop up dialog boxes, etc. This will normally returntrue in a windowing environment, and will normally returnfalse in a server environment or if an application isrunning as part of a batch job. See Also: java.beans.Visibility |
|
|