|
||||||||||
| 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.Of
Enhanced cookie that can answer queries about the type of the instance it creates. |
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 name of instanceClass(). |
| Method Detail |
public String instanceName()
instanceClass().
public Class instanceClass()
throws IOException,
ClassNotFoundException
IOException - if an I/O error occurredClassNotFoundException - if a class was not found
public Object instanceCreate()
throws IOException,
ClassNotFoundException
instanceClass() (or a subclass)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 | |||||||||