All Packages Class Hierarchy This Package Previous Next Index
Class sun.beanbox.AppletClassGenerator
java.lang.Object
|
+----sun.beanbox.AppletClassGenerator
- public class AppletClassGenerator
- extends Object
Generate a AppletClass for an Applet.
-
AppletClassGenerator(BeanBox)
- A generator for AppletClasses.
-
beanHasHiddenState(Object)
- Returns true if bean has hidden state.
-
findBeansWithHiddenState()
- Initializes a private collection of beans that contain hidden-state,
if any.
-
generateClass(String, File, String[])
- Generate a AppletClass for the given BeanBox;
Includes compiling it
TBD; classes should not be in the default package
we should pass around the package name.
-
shouldSerializeHiddenStateBeans()
- Returns true if beans containing hidden-state are nested in
this beanbox.
-
uniqueName(Object)
- manage unique names
AppletClassGenerator
public AppletClassGenerator(BeanBox box)
- A generator for AppletClasses.
Box is the beanbox
Name is the AppletClass name
Dir is the directory where to place the generated .java and .class files
generateClass
public boolean generateClass(String appletName,
File dir,
String jars[])
- Generate a AppletClass for the given BeanBox;
Includes compiling it
TBD; classes should not be in the default package
we should pass around the package name.
uniqueName
public static String uniqueName(Object bean)
- manage unique names
beanHasHiddenState
protected boolean beanHasHiddenState(Object bean)
- Returns true if bean has hidden state.
shouldSerializeHiddenStateBeans
protected boolean shouldSerializeHiddenStateBeans()
- Returns true if beans containing hidden-state are nested in
this beanbox.
findBeansWithHiddenState
protected void findBeansWithHiddenState()
- Initializes a private collection of beans that contain hidden-state,
if any.
All Packages Class Hierarchy This Package Previous Next Index