Well I am back from vacation - ya miss me? Okay you did not notice since
I was still checking email ...
Before I left Cory and I were working on the geotools "stylish" branch,
Dave has his changes in and we can now bring this branch back onto
trunk. (Note this was not a formal branch, we were just supposed to be
working together for an afternoon).
The focus was on putting events into the style objects, it quickly grew
into cleaning up the javadocs - to aid in this we dragged method names
(and docs from GeoAPI2.0). The GeoAPI list was nice in reviewing several
techniques by which we could support several versions of the SLD spec at
once - all the good ones required Java 5. What is left is using javadocs :-)
We did however use one of the techniques - in order to support custom
hacks, TextSymbolizer is the plain jane SLD 1.0 interface,
TextSymbolizer2 contains getGraphic() for label shields. It is assumed
a renderer that cares will use "instanceof" to check. I would encourage
those workin on SLD 1.1 ideas to follow this example...
The even system came down to:
- StyleListener
- StyleEvent & StyleDelta
- StyleComponent
- StyleLayerDescriptor.addListener/removeListener
I am thinking of revising the above before merging - so that we can
resue this for Filter & Catalog events
- GTListener
- GTEvent & GTDelta
- GTComponent (maybe GTParent, GTNode, GTElement?)
- GTRoot
Any suggestions for the names would be great. GTComponentis a pain as it
is only needed to make the event system go, but still needs to be an
interface for someone making their own custom implementation of Stroke
for example (ie it is extender API rather then client/renederer API)
I also need to implement a GTChildList which is a List<GTComponent> that
can fire events on add/remove
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel