gb-java-devel/pics/jd-02-mains-01.svg

1 line
9.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="160px" preserveAspectRatio="none" style="width:687px;height:160px;background:#FFFFFF;" version="1.1" viewBox="0 0 687 160" width="687px" zoomAndPan="magnify"><defs/><g><!--class MainWindow--><g id="elem_MainWindow"><rect codeLine="3" fill="#FFFFFF" height="141.7813" id="MainWindow" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="212" x="199" y="12"/><ellipse cx="256.75" cy="26" fill="#FFFFFF" rx="9" ry="9" style="stroke:#000000;stroke-width:1.0;"/><path d="M255.5469,26.875 L257,26.875 L257,26.9844 C257,27.375 257.0313,27.5625 257.1094,27.7188 C257.2656,27.9531 257.5469,28.125 257.8438,28.125 C258.0938,28.125 258.3594,27.9844 258.5156,27.7656 C258.6406,27.5938 258.6719,27.4531 258.6719,26.9844 L258.6719,25.0625 C258.6719,24.6406 258.6563,24.5156 258.5625,24.3594 C258.4063,24.0938 258.125,23.9375 257.8438,23.9375 C257.5781,23.9375 257.3125,24.0781 257.1406,24.2969 C257.0313,24.4531 257,24.6406 257,25.0625 L257,25.1875 L255.5469,25.1875 L255.5469,22.7813 L259.9063,22.7813 L259.9063,23.6563 C259.9063,24.0469 259.9375,24.2344 260.0156,24.375 C260.1875,24.625 260.4688,24.7813 260.75,24.7813 C261.0156,24.7813 261.2813,24.6406 261.4531,24.4219 C261.5625,24.25 261.5938,24.1094 261.5938,23.6563 L261.5938,21.0938 L253.5938,21.0938 C253.1563,21.0938 253.0313,21.1094 252.875,21.2031 C252.625,21.3594 252.4688,21.6563 252.4688,21.9375 C252.4688,22.2188 252.6094,22.4688 252.8281,22.6406 C252.9844,22.75 253.1719,22.7813 253.5938,22.7813 L253.8438,22.7813 L253.8438,29.2969 L253.5938,29.2969 C253.1875,29.2969 253.0313,29.3125 252.875,29.4219 C252.625,29.5781 252.4688,29.8594 252.4688,30.1563 C252.4688,30.4063 252.6094,30.6719 252.8281,30.8281 C252.9688,30.9531 253.2031,31 253.5938,31 L257.25,31 C257.5938,31 257.8438,30.9531 257.9688,30.875 C258.2188,30.7344 258.375,30.4375 258.375,30.1563 C258.375,29.875 258.2344,29.625 258.0313,29.4531 C257.8594,29.3281 257.7031,29.2969 257.25,29.2969 L255.5469,29.2969 L255.5469,26.875 Z " fill="#000000"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="89" x="274.25" y="30.8467">MainWindow</text><line style="stroke:#000000;stroke-width:1.0;" x1="200" x2="410" y1="40" y2="40"/><rect fill="none" height="6" style="stroke:#000000;stroke-width:1.0;" width="6" x="207" y="50.6484"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" text-decoration="underline" textLength="188" x="217" y="56.9951">final int WINDOW\_HEIGHT</text><rect fill="none" height="6" style="stroke:#000000;stroke-width:1.0;" width="6" x="207" y="66.9453"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" text-decoration="underline" textLength="183" x="217" y="73.292">final int WINDOW\_WIDTH</text><line style="stroke:#000000;stroke-width:1.0;" x1="200" x2="410" y1="80.5938" y2="80.5938"/><polygon fill="#FFFFFF" points="210,90.2422,206,96.2422,214,96.2422" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="99" x="217" y="97.5889">MainWindow()</text><polygon fill="#FFFFFF" points="210,106.5391,206,112.5391,214,112.5391" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="109" x="217" y="113.8857">onDrawFrame()</text><polygon fill="#FFFFFF" points="210,122.8359,206,128.8359,214,128.8359" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="61" x="217" y="130.1826">update()</text><polygon fill="#FFFFFF" points="210,139.1328,206,145.1328,214,145.1328" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="58" x="217" y="146.4795">render()</text></g><!--class MainCanvas--><g id="elem_MainCanvas"><rect codeLine="13" fill="#FFFFFF" height="76.5938" id="MainCanvas" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="158" x="522" y="44"/><ellipse cx="556.15" cy="58" fill="#FFFFFF" rx="9" ry="9" style="stroke:#000000;stroke-width:1.0;"/><path d="M555.6969,59.5938 L557.3688,59.5938 C558.9469,59.5938 559.7906,59.3125 560.5406,58.4844 C561.0875,57.8906 561.4,57.0781 561.4,56.2969 C561.4,54.4219 559.8688,53.0938 557.6969,53.0938 L553.7438,53.0938 C553.3063,53.0938 553.1813,53.1094 553.025,53.2031 C552.775,53.3594 552.6188,53.6563 552.6188,53.9375 C552.6188,54.1875 552.7594,54.4688 552.9781,54.6406 C553.1344,54.75 553.3219,54.7813 553.7438,54.7813 L553.9938,54.7813 L553.9938,61.2969 L553.7438,61.2969 C553.3375,61.2969 553.1813,61.3125 553.025,61.4219 C552.775,61.5781 552.6188,61.8594 552.6188,62.1563 C552.6188,62.4063 552.7594,62.6719 552.9781,62.8281 C553.1188,62.9531 553.3531,63 553.7438,63 L557.3844,63 C557.7281,63 557.9781,62.9531 558.0875,62.875 C558.3531,62.7344 558.5094,62.4375 558.5094,62.1563 C558.5094,61.875 558.3688,61.625 558.15,61.4531 C557.9781,61.3281 557.8375,61.2969 557.3844,61.2969 L555.6969,61.2969 L555.6969,59.5938 Z M555.6969,54.7813 L557.6969,54.7813 C558.8844,54.7813 559.5875,55.3906 559.5875,56.3594 C559.5875,57.3125 558.8844,57.9063 557.6969,57.9063 L555.6969,57.9063 L555.6969,54.7813 Z " fill="#000000"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="83" x="572.85" y="62.8467">MainCanvas</text><line style="stroke:#000000;stroke-width:1.0;" x1="523" x2="679" y1="72" y2="72"/><line style="stroke:#000000;stroke-width:1.0;" x1="523" x2="679" y1="80" y2="80"/><polygon fill="#FFFFFF" points="533,89.6484,529,95.6484,537,95.6484" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="93" x="540" y="96.9951">MainCanvas()</text><polygon fill="#FFFFFF" points="533,105.9453,529,111.9453,537,111.9453" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="134" x="540" y="113.292">paintComponent()</text></g><!--class MovingObject--><g id="elem_MovingObject"><rect codeLine="18" fill="#FFFFFF" height="92.8906" id="MovingObject" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="134" x="14" y="36"/><ellipse cx="29.7" cy="50" fill="#FFFFFF" rx="9" ry="9" style="stroke:#000000;stroke-width:1.0;"/><path d="M29.7938,44.8438 C27.1844,44.8438 25.0594,47.1875 25.0594,50.0313 C25.0594,52.9063 27.1844,55.2344 29.7938,55.2344 C32.3875,55.2344 34.5438,52.9063 34.5438,50.125 C34.5438,48.4844 34.0125,47.1875 32.95,46.1563 C32.0438,45.3125 30.9344,44.8438 29.7938,44.8438 Z M29.7938,46.5469 C31.4813,46.5469 32.8406,48.125 32.8406,50.0938 C32.8406,51.9531 31.45,53.5313 29.7938,53.5313 C28.1375,53.5313 26.7625,51.9531 26.7625,50.0313 C26.7625,48.125 28.1375,46.5469 29.7938,46.5469 Z " fill="#000000"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="100" x="42.3" y="54.8467">MovingObject</text><line style="stroke:#000000;stroke-width:1.0;" x1="15" x2="147" y1="64" y2="64"/><line style="stroke:#000000;stroke-width:1.0;" x1="15" x2="147" y1="72" y2="72"/><polygon fill="#FFFFFF" points="25,81.6484,21,87.6484,29,87.6484" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="110" x="32" y="88.9951">MovingObject()</text><polygon fill="#FFFFFF" points="25,97.9453,21,103.9453,29,103.9453" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="61" x="32" y="105.292">update()</text><polygon fill="#FFFFFF" points="25,114.2422,21,120.2422,29,120.2422" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="58" x="32" y="121.5889">render()</text></g><!--link MainWindow to MainCanvas--><g id="link_MainWindow_MainCanvas"><path codeLine="24" d="M412,108 C425.437,108 424.158,121.0473 437,125 C462.487,132.8446 471.589,133.0879 497,125 C505.174,122.3983 507.326,115.89 511.534,111.723 " fill="none" id="MainWindow-MainCanvas" style="stroke:#000000;stroke-width:1.0;"/><line style="stroke:#000000;stroke-width:1.0;" x1="511.534" x2="521" y1="111.723" y2="108"/><polygon fill="#000000" points="437.0035,116.3795,445.9324,119.6545,446.1521,113.7807,437.0035,116.3795" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="45" x="451" y="121.0669">repaint</text></g><!--reverse link MovingObject to MainWindow--><g id="link_MovingObject_MainWindow"><path codeLine="25" d="M149,100 C173.25,100 173.75,124 198,124 " fill="none" id="MovingObject-backto-MainWindow" style="stroke:#000000;stroke-width:1.0;"/><polygon fill="#000000" points="149,100,158,104,154,100,158,96,149,100" style="stroke:#000000;stroke-width:1.0;"/></g><!--reverse link MovingObject to MainWindow--><g id="link_MovingObject_MainWindow"><path codeLine="26" d="M149,116 C173.25,116 173.75,140 198,140 " fill="none" id="MovingObject-backto-MainWindow-1" style="stroke:#000000;stroke-width:1.0;"/><polygon fill="#000000" points="149,116,158,120,154,116,158,112,149,116" style="stroke:#000000;stroke-width:1.0;"/></g><!--SRC=[ZL0nRi904Epl5Kj7fFW39-G61-mYc0B9JIIqiPTmaRrdsGik4BoT4oPmZeB8LRSpipEZ7ScMAeAwHCDAvIMsBRoxVsQui1rC9hDNwBP6A0pXeC2z00wje9Zy21l3M89XWInPH6dsiOxVadcyUgxBacWLgulkvEMDNwwGvQZ1RjPWHJTiLnSezx4XBgXnuz7lFKNUO-jwBt_tFddypQHsa4njLLicbe6PtHl-IZ-_AHTdb_vXvod-K_8Uh_Km5uAIDX9uXz3Qkm1evtFPW53vcZxikXqE2lsG0ttVve6-9yy0]--></g></svg>