June 1997
Intermediate to advanced
318 pages
8h 17m
English
Class java.beans.Beans
This class provides some general methods for instantiating a Bean, and for setting and getting the availability of the graphical user interface. It also provides methods for establishing the design-time state of the environment.
public class Beans
{
// methods
public static Object getInstanceOf(Object bean, Class targetType);
public static Object instantiate(ClassLoader cls, String beanName)
throws java.io.IOException, ClassNotFoundException;
public static boolean isDesignTime();
public static boolean isGuiAvailable();
public static boolean isInstanceOf(Object bean, Class targetType);
public static void setDesignTime(boolean isDesignTime)
throws SecurityException;
public static void setGuiAvailable(boolean isGuiAvailable)
throws SecurityException;
}Read now
Unlock full access