|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Cookie that should be provided by all nodes that are able to create a "instance".
For example, Beans (class form, or serialized) may be instantiated in the usual fashion (say, for subsequent serialization); visual components may be instantiated into the Form Editor; folders of components may be "instantiated" into a Palette toolbar; and so on.
Inner Class Summary | |
static interface |
InstanceCookie.Origin
Enhanced instance cookie that also knows the file it was created from and can be serialized back to. |
Method Summary | |
Class |
instanceClass()
The representation type that may be created as instances. |
Object |
instanceCreate()
Create an instance. |
String |
instanceName()
The bean name for the instance. |
Method Detail |
public String instanceName()
public Class instanceClass() throws IOException, ClassNotFoundException
IOException
- if an I/O error occurredClassNotFoundException
- if a class was not foundpublic Object instanceCreate() throws IOException, ClassNotFoundException
instanceClass()
IOException
- if an I/O error occuredClassNotFoundException
- if a class was not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |