285 |
There are two different geometry managers, one for the main view and another |
There are two different geometry managers, one for the main view and another |
286 |
for the buoys. |
for the buoys. |
287 |
|
|
288 |
|
.. UML:: buoygeometry_flexible |
289 |
|
|
290 |
|
jlinkpackage org.nongnu.libvob.buoy |
291 |
|
|
292 |
|
class RealBuoyViewManager |
293 |
|
dep "use" BuoyMainViewGeometer |
294 |
|
dep "use" BuoyGeometer |
295 |
|
dep "use" BuoySizer |
296 |
|
|
297 |
|
class BuoyMainViewGeometer "interface" |
298 |
|
jlink |
299 |
|
|
300 |
|
|
301 |
|
class BuoyGeometer "interface" |
302 |
|
jlink |
303 |
|
|
304 |
|
|
305 |
|
class BuoySizer "interface" |
306 |
|
jlink |
307 |
|
|
308 |
|
jlinkpackage org.nongnu.libvob.buoy.impl |
309 |
|
|
310 |
|
class RatioMainGeometer |
311 |
|
jlink |
312 |
|
realize BuoyMainViewGeometer |
313 |
|
|
314 |
|
class BuoyOnCircleGeometer "abstract" |
315 |
|
jlink |
316 |
|
realize BuoyGeometer |
317 |
|
|
318 |
|
class RatioBuoyOnCircleGeometer |
319 |
|
jlink |
320 |
|
inherit BuoyOnCircleGeometer |
321 |
|
|
322 |
|
class AspectBuoySizer |
323 |
|
jlink |
324 |
|
realize BuoySizer |
325 |
|
|
326 |
|
--- |
327 |
|
|
328 |
|
horizontally(100, xx, BuoyMainViewGeometer, BuoySizer, BuoyGeometer); |
329 |
|
|
330 |
|
vertically(60, kk, RealBuoyViewManager, xx); |
331 |
|
|
332 |
|
vertically(50, yy, BuoyGeometer, BuoyOnCircleGeometer, RatioBuoyOnCircleGeometer); |
333 |
|
|
334 |
|
vertically(130, zz, BuoyMainViewGeometer, RatioMainGeometer); |
335 |
|
vertically(130, ww, BuoySizer, AspectBuoySizer); |
336 |
|
|
337 |
Both may be called two ways: to create the coordinate systems, or just to set |
Both may be called two ways: to create the coordinate systems, or just to set |
338 |
the changed coordinates. |
the changed coordinates. |
339 |
|
|