API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. Beans View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      Beans
Implements
Subclasses
Description
public class Beans
This class provides some general purpose beans control methods.
See also:   
Constructors
public Beans ()
Methods
Hide/Show inherited methods
publicstatic Object getInstanceOf (Object bean, Class<Object> targetType)
  From a given bean, obtain an object representing a specified type view of that source object.
publicstatic Object instantiate (ClassLoader cls, String beanName) throws IOException ClassNotFoundException
  Instantiate a JavaBean.
publicstatic Object instantiate (ClassLoader cls, String beanName, BeanContext beanContext) throws IOException ClassNotFoundException
  Instantiate a JavaBean.
publicstatic Object instantiate (ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer) throws IOException ClassNotFoundException
  Instantiate a bean.
publicstatic boolean isDesignTime ()
  Test if we are in design-mode.
publicstatic boolean isGuiAvailable ()
  Determines whether beans can assume a GUI is available.
publicstatic boolean isInstanceOf (Object bean, Class<Object> targetType)
  Check if a bean can be viewed as a given target type.
publicstatic void setDesignTime (boolean isDesignTime) throws SecurityException
  Used to indicate whether of not we are running in an application builder environment.
publicstatic void setGuiAvailable (boolean isGuiAvailable) throws SecurityException
  Used to indicate whether of not we are running in an environment where GUI interaction is available.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar