aboutsummaryrefslogtreecommitdiffstats
path: root/doc/parts/showNotification.svg
blob: 7ef1572512839582df1dc0e187e30b48d3c29a33 (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
33
34
<?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="363px" preserveAspectRatio="none" style="width:520px;height:363px;" version="1.1" viewBox="0 0 520 363" width="520px" zoomAndPan="magnify"><defs><filter height="300%" id="f1on7njuynqrbg" 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="298" x="109" y="24.5332">show notification on HomeScreen top area</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="89" x2="89" y1="84.2188" y2="305.3281"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="273" x2="273" y1="84.2188" y2="305.3281"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="469" x2="469" y1="84.2188" y2="305.3281"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="128" x="22" y="81.1426">homescreen-service</text><ellipse cx="89" cy="50.6094" fill="#FEFECE" filter="url(#f1on7njuynqrbg)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="77" x2="101" y1="64.6094" y2="64.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="128" x="22" y="318.8613">homescreen-service</text><ellipse cx="89" cy="337.9375" fill="#FEFECE" filter="url(#f1on7njuynqrbg)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="77" x2="101" y1="351.9375" y2="351.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="78" x="231" y="81.1426">homescreen</text><ellipse cx="273" cy="50.6094" fill="#FEFECE" filter="url(#f1on7njuynqrbg)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="261" x2="285" y1="64.6094" y2="64.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="78" x="231" y="318.8613">homescreen</text><ellipse cx="273" cy="337.9375" fill="#FEFECE" filter="url(#f1on7njuynqrbg)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="261" x2="285" y1="351.9375" y2="351.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="25" x="453.5" y="81.1426">App</text><ellipse cx="469" cy="50.6094" fill="#FEFECE" filter="url(#f1on7njuynqrbg)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="457" x2="481" y1="64.6094" y2="64.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="25" x="453.5" y="318.8613">App</text><ellipse cx="469" cy="337.9375" fill="#FEFECE" filter="url(#f1on7njuynqrbg)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="457" x2="481" y1="351.9375" y2="351.9375"/><polygon fill="#A80036" points="100,112.2188,90,116.2188,100,120.2188,96,116.2188" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="94" x2="468" y1="116.2188" y2="116.2188"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="102" x="106" y="111.7139">showNotification()</text><path d="M50,129.5703 L50,155.5703 L508,155.5703 L508,139.5703 L498,129.5703 L50,129.5703 " fill="#FBFB77" filter="url(#f1on7njuynqrbg)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M498,129.5703 L498,139.5703 L508,139.5703 L498,129.5703 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="246" x="149.5" y="148.0654">{"icon":"display icon", "text":"display text"}</text><polygon fill="#A80036" points="261,182.9219,271,186.9219,261,190.9219,265,186.9219" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="89" x2="267" y1="186.9219" y2="186.9219"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="160" x="96" y="182.417">push showNotification event</text><path d="M8,200.2734 L8,242.2734 L351,242.2734 L351,210.2734 L341,200.2734 L8,200.2734 " fill="#FBFB77" filter="url(#f1on7njuynqrbg)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M341,200.2734 L341,210.2734 L351,210.2734 L341,200.2734 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="234" x="14" y="218.7686">{"application_id":"request application id",</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="322" x="14" y="235.1201">"parameter":{"icon":"display icon", "text":"display text"}}</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="273" x2="315" y1="274.3281" y2="274.3281"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="315" x2="315" y1="274.3281" y2="287.3281"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="274" x2="315" y1="287.3281" y2="287.3281"/><polygon fill="#A80036" points="284,283.3281,274,287.3281,284,291.3281,280,287.3281" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="182" x="280" y="269.4717">display notification message 3s</text><!--
@startuml

title show notification on HomeScreen top area

entity "homescreen-service" as hss
entity homescreen
entity App

App->hss: showNotification()
note over App,hss
{"icon":"display icon", "text":"display text"}
end note
hss-> homescreen: push showNotification event
note over hss,homescreen
{"application_id":"request application id", 
"parameter":{"icon":"display icon", "text":"display text"}}
end note

homescreen->homescreen: display notification message 3s

@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>