source: ether_statistics/service/implementation/gov/noaa/pmel/sgt/plot/Notes.txt @ 569

Last change on this file since 569 was 569, checked in by vmipsl, 12 years ago

Nouveau projet

File size: 1.4 KB
Line 
1                           JPlotPane Notes
2
3                              11/30/2000
4
5* Create JPlotPane
6  1) create and initealizes managers. (Print, DnD, Layer, ...)
7  2) other initialization efforts.
8  3) clear pane?
9
10* addData(SGTData, PlotLayerHints) to JPlotPane
11  1) create PlotLayer (data, hints)
12     - create Graph
13     - create Renderer and bind data
14  2) invoke PlotLayerManager
15      as newLayer(PlotLayer) or reLayout() <-  is this needed?
16
17      - if newLayer
18        + get X-Y types (space/time, units)
19        + using hints match with existing LayerStack
20        + if needed create new LayerStack & add to JPlotPane
21          else find stack to add layer to...
22        + create new transform if needed or bind to existing transform
23        + create new axes if needed
24
25      - if modified Layer
26        + check for X-Y axes owner
27        + check for transforms
28        + update Key
29          (once a PlotLayer is assigned to a LayerStack it
30           stays there unless explictly moved)
31
32* hints (should hints include values?)
33  1) Keys  (location- on layer, new layer, table, popup; position)
34  2) Transforms (scale/offset, share, new)
35  3) Axes (share, new, location)
36  4) PlotLayer ...
37
38* modes
39  1) Zoom
40  2) Object Select
41  3) Data Select
42  4) Layer DnD (LayerStack is DnD client/server?)
43  5) Default (none? Zoom?)
44
45
46* LayerManager
47  1) LayerManager should have its rules about what can be overlayed!
48     For example, raster grid should not be over a contour grid!
49  2) LayerManager should be able to re-order the Layers in a
50     LayerStack?
51 
Note: See TracBrowser for help on using the repository browser.