I am using extensively Java worldwind for an application displaying data over rectangular sector. I want to be able to drag this data over the globe. Such behavior is already implemented in WorldWind for shapes such as SurfaceCircle(implementing Movable) as demonstrated through BasicDragger.
I am trying to implement such behavior for AnalyticSurface (not implementing Moveable). problem is that DragSelectEvent.getTopObject returns me a protected static class called AnalyticSurface.ClampToGroundSurface with no public accessor to my AnalyticSurface.
To sum up : I create an object and I display it in 3d earthy rendering, and drag event initiated onto this graphical representation returns me an object with no public accessor to my own object, hence no way to modify it following the mouse behavior.
It seems like an architecture mistake. With no use of reflection, is there a way to access my own object linked to my drag event ?
Aucun commentaire:
Enregistrer un commentaire