|
|
||
Frederic Barachant's BlogCommunity: Java Tools ArchivesSplines project on a good pathPosted by pepe on February 26, 2008 at 10:43 PM | Permalink | Comments (2)Splines project is my latest contribution to oss. The main entity of the project is Curve, which is a list of CurseSection objects. Three types of sections can be added at the moment, but the system can accept new implementations anytime (you can already add yours).
Taken from the webstart Demo, here is how i created the Curve:
Cannot be easier. and here is how i displayed the curve:
Once again, cannot be easier. Curve and its sections can be listened for modification, curve can be serialized (listeners will not) and the whole is easy to use and fits in a very small single jar. Plans for the future are to enhance the swing component to enable pluggable editors for curves, pluggable renderers, and before all more complete refreshing after edit. | ||
|
|