Documentation |
JavaBeans
JavaBeans:
Writing Your Own Components for Spin
This Manual is being updated.
This manual is for programmers who are writing new Spin components in Java.
You can also create new components directly in Spin, without programming.
Contents
What is a JavaBean?
Other References
Properties - Exposing bean settings
Generating Events - Announcing when something
has happened
Methods - Defining the bean's functionality
Construction - No-Argument
Constructor
Serialization - Saving
A Bean
Deserialization
- Loading A Saved Bean
Externalization - Manually Reading
and Writing Beans
PropertyEditors - Customizing
the Editing Of Individual Properties
BeanEditors - Providing an Editor for an Entire Bean
The BeanInfo Interface - Tying it All
Together
The MANIFEST File - Restricting The Visibility of Classes In Your .jar File
Writing Spin-Friendly Beans
Examples
MyLine: a lightweight visual bean
Download zip archive