Beans Interfaces
Although the 3D part of the program does not use conventional GUI components,
I think there are still advantages in breaking the program into components based
on the Beans interfaces.
Requirements for beans
- constructor with no parameters
- must support seriailization or externalization
- must be able to run in design environment
Ways to initialise a bean
first way: (not if hidden state property is set in feature descripter attribute-value.)
wombat w = new wombat(); <-- constructor with no parameters
w.setBackground <- set each parameter from propertyEditor.getInitalisationString()
Second way: (can allways do this)
wombat w = new wombat(); <-- constructor with no parameters
call serialisation interface.
This site may have errors. Don't use for critical systems.