|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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.
Nested Class Summary | |
static interface |
InstanceCookie.Of
Enhanced cookie that can answer queries about the type of the instance it creates. |
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 occurred
ClassNotFoundException
- if a class was not foundpublic Object instanceCreate() throws IOException, ClassNotFoundException
instanceClass()
(or a subclass)
IOException
- if an I/O error occured
ClassNotFoundException
- if a class was not found
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |