aboutsummaryrefslogtreecommitdiffstats
path: root/doc/parts/initialize-set-event-handler.svg
blob: bd7fcfc3fa50e3f38f8d511f98ef6a3209775a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?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" contentScriptType="application/ecmascript" contentStyleType="text/css" height="312px" preserveAspectRatio="none" style="width:409px;height:312px;" version="1.1" viewBox="0 0 409 312" width="409px" zoomAndPan="magnify"><defs><filter height="300%" id="fzi0dvp3mx7s5" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="385" x="12" y="24.5332">Application initialization phase (ex. set_event_handler)</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="52.5" x2="52.5" y1="84.2188" y2="254.3281"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="188.5" x2="188.5" y1="84.2188" y2="254.3281"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="317.5" x2="317.5" y1="84.2188" y2="254.3281"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="25" x="37" y="81.1426">App</text><ellipse cx="52.5" cy="50.6094" fill="#FEFECE" filter="url(#fzi0dvp3mx7s5)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="40.5" x2="64.5" y1="64.6094" y2="64.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="25" x="37" y="267.8613">App</text><ellipse cx="52.5" cy="286.9375" fill="#FEFECE" filter="url(#fzi0dvp3mx7s5)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="40.5" x2="64.5" y1="300.9375" y2="300.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="122" x="124.5" y="81.1426">HomeScreenBinder</text><ellipse cx="188.5" cy="50.6094" fill="#FEFECE" filter="url(#fzi0dvp3mx7s5)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="176.5" x2="200.5" y1="64.6094" y2="64.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="122" x="124.5" y="267.8613">HomeScreenBinder</text><ellipse cx="188.5" cy="286.9375" fill="#FEFECE" filter="url(#fzi0dvp3mx7s5)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="176.5" x2="200.5" y1="300.9375" y2="300.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="104" x="262.5" y="81.1426">HomeScreenGUI</text><ellipse cx="317.5" cy="50.6094" fill="#FEFECE" filter="url(#fzi0dvp3mx7s5)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="305.5" x2="329.5" y1="64.6094" y2="64.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="104" x="262.5" y="267.8613">HomeScreenGUI</text><ellipse cx="317.5" cy="286.9375" fill="#FEFECE" filter="url(#fzi0dvp3mx7s5)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="305.5" x2="329.5" y1="300.9375" y2="300.9375"/><polygon fill="#A80036" points="176.5,112.2188,186.5,116.2188,176.5,120.2188,180.5,116.2188" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="52.5" x2="182.5" y1="116.2188" y2="116.2188"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="87" x="59.5" y="111.7139">init(port, token)</text><polygon fill="#A80036" points="176.5,142.5703,186.5,146.5703,176.5,150.5703,180.5,146.5703" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="52.5" x2="182.5" y1="146.5703" y2="146.5703"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="112" x="59.5" y="142.0654">set_event_handler()</text><path d="M43.5,159.9219 L43.5,234.9219 L328.5,234.9219 L328.5,169.9219 L318.5,159.9219 L43.5,159.9219 " fill="#FBFB77" filter="url(#fzi0dvp3mx7s5)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M318.5,159.9219 L318.5,169.9219 L328.5,169.9219 L318.5,159.9219 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="264" x="49.5" y="178.417">setup event handler the App wishes to receive</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="230" x="49.5" y="194.7686">・LibHomeScreen::Event_ShowWindow</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="224" x="49.5" y="211.1201">・LibHomeScreen::Event_HideWindow</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="263" x="49.5" y="227.4717">・LibHomeScreen::Event_ReplyShowWindow</text><!--
@startuml

title Application initialization phase (ex. set_event_handler)

entity App
entity HomeScreenBinder
entity HomeScreenGUI

App->HomeScreenBinder: init(port, token)
App->HomeScreenBinder: set_event_handler()

note over HomeScreenBinder
    setup event handler the App wishes to receive
    ・LibHomeScreen::Event_ShowWindow
    ・LibHomeScreen::Event_HideWindow
    ・LibHomeScreen::Event_ReplyShowWindow
end note

@enduml

PlantUML version 1.2018.01(Mon Jan 29 02:08:22 CST 2018)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
Java Version: 1.8.0_45-b15
Operating System: Windows 7
OS Version: 6.1
Default Encoding: MS932
Language: ja
Country: JP
--></g></svg>