JavaScriptを色々あれこれしようとするがひたすら失敗を繰り返している
| Revision | 27 (tree) |
|---|---|
| Time | 2016-11-24 11:14:18 |
| Author | |
(empty log message)
| @@ -58,12 +58,14 @@ | ||
| 58 | 58 | left:0px; top:310px; |
| 59 | 59 | margin: 0px; |
| 60 | 60 | padding: 5px; |
| 61 | - background-color: #ffffff; | |
| 62 | - box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.4); | |
| 61 | + background-color: rgba(205,133,63,0.6); | |
| 62 | + border: 1px solid black; | |
| 63 | + border-radius: 4px; | |
| 64 | + box-shadow: 16px 16px 19px -11px rgba(0, 0, 0, 0.21); | |
| 63 | 65 | } |
| 64 | 66 | .palgrouphorizon { |
| 65 | - width: 185px; /* (5+25+5) * 5 + (5+5) */ | |
| 66 | - height: 45px; | |
| 67 | + width: 195px; /* (5+25+5) * 5 + (5+5) */ | |
| 68 | + height: 55px; | |
| 67 | 69 | } |
| 68 | 70 | .pallegend { |
| 69 | 71 | background-color: transparent; |
| @@ -79,6 +81,7 @@ | ||
| 79 | 81 | position: absolute; |
| 80 | 82 | width: 25px; height: 25px; |
| 81 | 83 | border: 2px solid blue; |
| 84 | + border-radius: 4px; | |
| 82 | 85 | margin: 2px; |
| 83 | 86 | } |
| 84 | 87 | .palbg { |
| @@ -159,7 +159,7 @@ | ||
| 159 | 159 | </style> |
| 160 | 160 | |
| 161 | 161 | <fieldset class="palgroup palgrouphorizon" data-objid="palgroup0"> |
| 162 | - <legend class="pallegend"> Background <button>横</button> </legend> | |
| 162 | + <legend class="pallegend"> Background Palette </legend> | |
| 163 | 163 | <div class="palbg palbg0" data-objid="palbg0" data-palid="0"></div> |
| 164 | 164 | <div class="palbg palbg1" data-objid="palbg1" data-palid="1"></div> |
| 165 | 165 | <div class="palbg palbg2" data-objid="palbg2" data-palid="2"></div> |
| @@ -169,7 +169,7 @@ | ||
| 169 | 169 | <br /> |
| 170 | 170 | |
| 171 | 171 | <fieldset class="palgroup palgrouphorizon" data-objid="palgroup1"> |
| 172 | - <legend class="pallegend"> Text Color <button>横</button> </legend> | |
| 172 | + <legend class="pallegend"> Text Color Palette </legend> | |
| 173 | 173 | <div class="paltxtcol paltxtcol0" data-objid="paltxtcol0" data-palid="0">あ</div> |
| 174 | 174 | <div class="paltxtcol paltxtcol1" data-objid="paltxtcol1" data-palid="1">あ</div> |
| 175 | 175 | <div class="paltxtcol paltxtcol2" data-objid="paltxtcol2" data-palid="2">あ</div> |
| @@ -180,7 +180,7 @@ | ||
| 180 | 180 | <br /> |
| 181 | 181 | |
| 182 | 182 | <fieldset class="palgroup palgrouphorizon" data-objid="palgroup2"> |
| 183 | - <legend class="pallegend"> Action <span class="buttonstyle">horizon</span> </legend> | |
| 183 | + <legend class="pallegend"> Action Palette </legend> | |
| 184 | 184 | <div class="palact palact0" data-objid="palact0" data-palid="0"></div> |
| 185 | 185 | <div class="palact palact1" data-objid="palact1" data-palid="1"></div> |
| 186 | 186 | <div class="palact palact2" data-objid="palact2" data-palid="2"></div> |
| @@ -1,7 +1,6 @@ | ||
| 1 | 1 | // DisplayField.js |
| 2 | 2 | // Canvas部分 |
| 3 | 3 | // 主な機能 |
| 4 | -// ・マウスイベント処理 (mousemove, mouseup) | |
| 5 | 4 | // ・外部からのtext, image drop処理 (DispObj要素作成要求) |
| 6 | 5 | |
| 7 | 6 |
| @@ -24,9 +23,6 @@ | ||
| 24 | 23 | return false; |
| 25 | 24 | } |
| 26 | 25 | this.debuglog("initialize"); |
| 27 | -// this.DOMobject.addEventListener('mousemove', this.onMouseMove.bind(this), false); | |
| 28 | -// this.DOMobject.addEventListener('mousedown', this.onMouseDown.bind(this), false); | |
| 29 | -// this.DOMobject.addEventListener('mouseup', this.onMouseUp.bind(this), false); | |
| 30 | 26 | this.DOMobject.addEventListener('dragstart', this.onDragStart.bind(this), false); |
| 31 | 27 | this.DOMobject.addEventListener('dragover', this.onDragover.bind(this), false); |
| 32 | 28 | this.DOMobject.addEventListener('drop', this.onDrop.bind(this), false); |
| @@ -34,17 +30,8 @@ | ||
| 34 | 30 | |
| 35 | 31 | |
| 36 | 32 | // 操作関数 ----------------------------------- |
| 37 | -/* | |
| 38 | - // Mouse eventを処理するObj | |
| 39 | - setMouseEventObj(mouseMove, mouseUp) { | |
| 40 | - this.debuglog('setMouseEventObj'); | |
| 41 | 33 | |
| 42 | - this.mouseMoveFunc = mouseMove; | |
| 43 | - this.mouseUpFunc = mouseUp; | |
| 44 | - } | |
| 45 | -*/ | |
| 46 | 34 | |
| 47 | - | |
| 48 | 35 | // ブラウザ上への描画 ------------------------- |
| 49 | 36 | render() { |
| 50 | 37 | while (0 < this.renderFunc.size()) { |
| @@ -57,31 +44,6 @@ | ||
| 57 | 44 | |
| 58 | 45 | |
| 59 | 46 | // Event handler ------------------- |
| 60 | - /* | |
| 61 | - // ■マウス左ボタン押下 (Drag処理) | |
| 62 | - onMouseDown(evt) { | |
| 63 | - } | |
| 64 | - // ■ マウス移動 (ドラッグ中) | |
| 65 | - onMouseMove(evt) { | |
| 66 | - // ★ evt.targetが期待するelementかチェックする必要がある | |
| 67 | - // ★ 期待するelementではない場合、DOM treeを辿って親elementから該当elementを探す必要がある | |
| 68 | - | |
| 69 | - if (null != this.mouseMoveFunc) { | |
| 70 | - this.mouseMoveFunc(evt); | |
| 71 | - return; | |
| 72 | - } | |
| 73 | - } | |
| 74 | - // ■ ドロップ処理 | |
| 75 | - onMouseUp(evt) { | |
| 76 | - // ★ evt.targetが期待するelementかチェックする必要がある | |
| 77 | - // ★ 期待するelementではない場合、DOM treeを辿って親elementから該当elementを探す必要がある | |
| 78 | - | |
| 79 | - if (null != this.mouseUpFunc) { | |
| 80 | - this.mouseUpFunc(evt); | |
| 81 | - return; | |
| 82 | - } | |
| 83 | - } | |
| 84 | - */ | |
| 85 | 47 | // 表示要素の drag & drop禁止 |
| 86 | 48 | onDragStart(evt) { |
| 87 | 49 | evt.preventDefault(); |
| @@ -27,8 +27,8 @@ | ||
| 27 | 27 | // 背景設定パレット |
| 28 | 28 | this.DOMpalbg = document.getElementsByClassName('palbg'); |
| 29 | 29 | for (let cnt = 0; cnt < this.DOMpalbg.length; cnt++) { |
| 30 | - this.DOMpalbg[cnt].style.left = 5 + (25 + 10) * cnt + 'px'; | |
| 31 | - this.DOMpalbg[cnt].style.top = 10 + 'px'; | |
| 30 | + this.DOMpalbg[cnt].style.left = 10 + (25 + 10) * cnt + 'px'; | |
| 31 | + this.DOMpalbg[cnt].style.top = 18 + 'px'; | |
| 32 | 32 | this.DOMpalbg[cnt].addEventListener('mousedown', this.onMouseDown.bind(this), false); |
| 33 | 33 | this.DOMpalbg[cnt].addEventListener('mouseup', this.mouseUp.bind(this), false); |
| 34 | 34 | this.DOMpalbg[cnt].addEventListener('dragstart', this.onDragStart.bind(this), false); |
| @@ -38,8 +38,8 @@ | ||
| 38 | 38 | // テキストカラーパレット |
| 39 | 39 | this.DOMpaltxtcol = document.getElementsByClassName('paltxtcol'); |
| 40 | 40 | for (let cnt = 0; cnt < this.DOMpaltxtcol.length; cnt++) { |
| 41 | - this.DOMpaltxtcol[cnt].style.left = 5 + (25 + 10) * cnt + 'px'; | |
| 42 | - this.DOMpaltxtcol[cnt].style.top = 10 + 'px'; | |
| 41 | + this.DOMpaltxtcol[cnt].style.left = 10 + (25 + 10) * cnt + 'px'; | |
| 42 | + this.DOMpaltxtcol[cnt].style.top = 18 + 'px'; | |
| 43 | 43 | this.DOMpaltxtcol[cnt].addEventListener('mousedown', this.onMouseDown.bind(this), false); |
| 44 | 44 | this.DOMpaltxtcol[cnt].addEventListener('mouseup', this.mouseUp.bind(this), false); |
| 45 | 45 | this.DOMpaltxtcol[cnt].addEventListener('dragstart', this.onDragStart.bind(this), false); |
| @@ -49,8 +49,8 @@ | ||
| 49 | 49 | // アクションパレット |
| 50 | 50 | this.DOMpalact = document.getElementsByClassName('palact'); |
| 51 | 51 | for (let cnt = 0; cnt < this.DOMpalact.length; cnt++) { |
| 52 | - this.DOMpalact[cnt].style.left = 5 + (25 + 10) * cnt + 'px'; | |
| 53 | - this.DOMpalact[cnt].style.top = 10 + 'px'; | |
| 52 | + this.DOMpalact[cnt].style.left = 10 + (25 + 10) * cnt + 'px'; | |
| 53 | + this.DOMpalact[cnt].style.top = 18 + 'px'; | |
| 54 | 54 | this.DOMpalact[cnt].addEventListener('mousedown', this.onMouseDown.bind(this), false); |
| 55 | 55 | this.DOMpalact[cnt].addEventListener('mouseup', this.mouseUp.bind(this), false); |
| 56 | 56 | this.DOMpalact[cnt].addEventListener('dragstart', this.onDragStart.bind(this), false); |
| @@ -2,13 +2,19 @@ | ||
| 2 | 2 | // Paletteの各要素をまとめるもの |
| 3 | 3 | // 主な機能 |
| 4 | 4 | // ・グループバーのDrag&Dropによる移動 |
| 5 | -// ・グループバーの表示方向 vertical/horizon 切り替え | |
| 6 | -// ・Palette設定状態の Save/Load | |
| 5 | +// ・Palette設定状態の Save/Load (LocalStorage) | |
| 6 | +// ・Palette設定状態の Export (download folder) | |
| 7 | +// ・Palette設定状態の Import | |
| 8 | +// ・(将来)グループバーの表示方向 vertical/horizon 切り替え | |
| 7 | 9 | // ・(将来)5 Palette単位で次のPalette, 前のPalette表示 |
| 8 | -// ・(将来)バー表示を半透明,短く表示 | |
| 10 | +// ・(将来)バー表示を短く表示 | |
| 9 | 11 | |
| 10 | 12 | class PalGroup { |
| 11 | 13 | constructor() { |
| 14 | + this.typeBackground = 0; | |
| 15 | + this.typeTextcolor = 1; | |
| 16 | + this.typeAction = 2; | |
| 17 | + | |
| 12 | 18 | this.DOMobject = []; // bg,text,action |
| 13 | 19 | this.renderFunc = new Queue(); |
| 14 | 20 | } |
| @@ -27,7 +33,12 @@ | ||
| 27 | 33 | } |
| 28 | 34 | |
| 29 | 35 | // 操作関数 ---------------------------- |
| 36 | + getPalGroupInfo(groupType) { | |
| 37 | + if (groupType < this.typeBackground || this.typeAction < groupType) | |
| 38 | + return null; | |
| 30 | 39 | |
| 40 | + let data = this.DOMobject[groupType].innerHTML; | |
| 41 | + } | |
| 31 | 42 | |
| 32 | 43 | // 描画関数 --------------------- |
| 33 | 44 |
| @@ -58,12 +58,14 @@ | ||
| 58 | 58 | left:0px; top:310px; |
| 59 | 59 | margin: 0px; |
| 60 | 60 | padding: 5px; |
| 61 | - background-color: #ffffff; | |
| 62 | - box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.4); | |
| 61 | + background-color: rgba(205,133,63,0.6); | |
| 62 | + border: 1px solid black; | |
| 63 | + border-radius: 4px; | |
| 64 | + box-shadow: 16px 16px 19px -11px rgba(0, 0, 0, 0.21); | |
| 63 | 65 | } |
| 64 | 66 | .palgrouphorizon { |
| 65 | - width: 185px; /* (5+25+5) * 5 + (5+5) */ | |
| 66 | - height: 45px; | |
| 67 | + width: 195px; /* (5+25+5) * 5 + (5+5) */ | |
| 68 | + height: 55px; | |
| 67 | 69 | } |
| 68 | 70 | .pallegend { |
| 69 | 71 | background-color: transparent; |
| @@ -79,6 +81,7 @@ | ||
| 79 | 81 | position: absolute; |
| 80 | 82 | width: 25px; height: 25px; |
| 81 | 83 | border: 2px solid blue; |
| 84 | + border-radius: 4px; | |
| 82 | 85 | margin: 2px; |
| 83 | 86 | } |
| 84 | 87 | .palbg { |
| @@ -159,7 +159,7 @@ | ||
| 159 | 159 | </style> |
| 160 | 160 | |
| 161 | 161 | <fieldset class="palgroup palgrouphorizon" data-objid="palgroup0"> |
| 162 | - <legend class="pallegend"> Background <button>横</button> </legend> | |
| 162 | + <legend class="pallegend"> Background Palette </legend> | |
| 163 | 163 | <div class="palbg palbg0" data-objid="palbg0" data-palid="0"></div> |
| 164 | 164 | <div class="palbg palbg1" data-objid="palbg1" data-palid="1"></div> |
| 165 | 165 | <div class="palbg palbg2" data-objid="palbg2" data-palid="2"></div> |
| @@ -169,7 +169,7 @@ | ||
| 169 | 169 | <br /> |
| 170 | 170 | |
| 171 | 171 | <fieldset class="palgroup palgrouphorizon" data-objid="palgroup1"> |
| 172 | - <legend class="pallegend"> Text Color <button>横</button> </legend> | |
| 172 | + <legend class="pallegend"> Text Color Palette </legend> | |
| 173 | 173 | <div class="paltxtcol paltxtcol0" data-objid="paltxtcol0" data-palid="0">あ</div> |
| 174 | 174 | <div class="paltxtcol paltxtcol1" data-objid="paltxtcol1" data-palid="1">あ</div> |
| 175 | 175 | <div class="paltxtcol paltxtcol2" data-objid="paltxtcol2" data-palid="2">あ</div> |
| @@ -180,7 +180,7 @@ | ||
| 180 | 180 | <br /> |
| 181 | 181 | |
| 182 | 182 | <fieldset class="palgroup palgrouphorizon" data-objid="palgroup2"> |
| 183 | - <legend class="pallegend"> Action <span class="buttonstyle">horizon</span> </legend> | |
| 183 | + <legend class="pallegend"> Action Palette </legend> | |
| 184 | 184 | <div class="palact palact0" data-objid="palact0" data-palid="0"></div> |
| 185 | 185 | <div class="palact palact1" data-objid="palact1" data-palid="1"></div> |
| 186 | 186 | <div class="palact palact2" data-objid="palact2" data-palid="2"></div> |
| @@ -1,7 +1,6 @@ | ||
| 1 | 1 | // DisplayField.js |
| 2 | 2 | // Canvas部分 |
| 3 | 3 | // 主な機能 |
| 4 | -// ・マウスイベント処理 (mousemove, mouseup) | |
| 5 | 4 | // ・外部からのtext, image drop処理 (DispObj要素作成要求) |
| 6 | 5 | |
| 7 | 6 |
| @@ -24,9 +23,6 @@ | ||
| 24 | 23 | return false; |
| 25 | 24 | } |
| 26 | 25 | this.debuglog("initialize"); |
| 27 | -// this.DOMobject.addEventListener('mousemove', this.onMouseMove.bind(this), false); | |
| 28 | -// this.DOMobject.addEventListener('mousedown', this.onMouseDown.bind(this), false); | |
| 29 | -// this.DOMobject.addEventListener('mouseup', this.onMouseUp.bind(this), false); | |
| 30 | 26 | this.DOMobject.addEventListener('dragstart', this.onDragStart.bind(this), false); |
| 31 | 27 | this.DOMobject.addEventListener('dragover', this.onDragover.bind(this), false); |
| 32 | 28 | this.DOMobject.addEventListener('drop', this.onDrop.bind(this), false); |
| @@ -34,17 +30,8 @@ | ||
| 34 | 30 | |
| 35 | 31 | |
| 36 | 32 | // 操作関数 ----------------------------------- |
| 37 | -/* | |
| 38 | - // Mouse eventを処理するObj | |
| 39 | - setMouseEventObj(mouseMove, mouseUp) { | |
| 40 | - this.debuglog('setMouseEventObj'); | |
| 41 | 33 | |
| 42 | - this.mouseMoveFunc = mouseMove; | |
| 43 | - this.mouseUpFunc = mouseUp; | |
| 44 | - } | |
| 45 | -*/ | |
| 46 | 34 | |
| 47 | - | |
| 48 | 35 | // ブラウザ上への描画 ------------------------- |
| 49 | 36 | render() { |
| 50 | 37 | while (0 < this.renderFunc.size()) { |
| @@ -57,31 +44,6 @@ | ||
| 57 | 44 | |
| 58 | 45 | |
| 59 | 46 | // Event handler ------------------- |
| 60 | - /* | |
| 61 | - // ■マウス左ボタン押下 (Drag処理) | |
| 62 | - onMouseDown(evt) { | |
| 63 | - } | |
| 64 | - // ■ マウス移動 (ドラッグ中) | |
| 65 | - onMouseMove(evt) { | |
| 66 | - // ★ evt.targetが期待するelementかチェックする必要がある | |
| 67 | - // ★ 期待するelementではない場合、DOM treeを辿って親elementから該当elementを探す必要がある | |
| 68 | - | |
| 69 | - if (null != this.mouseMoveFunc) { | |
| 70 | - this.mouseMoveFunc(evt); | |
| 71 | - return; | |
| 72 | - } | |
| 73 | - } | |
| 74 | - // ■ ドロップ処理 | |
| 75 | - onMouseUp(evt) { | |
| 76 | - // ★ evt.targetが期待するelementかチェックする必要がある | |
| 77 | - // ★ 期待するelementではない場合、DOM treeを辿って親elementから該当elementを探す必要がある | |
| 78 | - | |
| 79 | - if (null != this.mouseUpFunc) { | |
| 80 | - this.mouseUpFunc(evt); | |
| 81 | - return; | |
| 82 | - } | |
| 83 | - } | |
| 84 | - */ | |
| 85 | 47 | // 表示要素の drag & drop禁止 |
| 86 | 48 | onDragStart(evt) { |
| 87 | 49 | evt.preventDefault(); |
| @@ -206,6 +206,8 @@ | ||
| 206 | 206 | removeFocusedObject(); |
| 207 | 207 | break; |
| 208 | 208 | case 1: |
| 209 | + let data = window.CSSPalGroup.getPalGroupInfo(window.CSSPalGroup.typeBackground); | |
| 210 | + break; | |
| 209 | 211 | case 2: |
| 210 | 212 | case 3: |
| 211 | 213 | case 4: |
| @@ -27,8 +27,8 @@ | ||
| 27 | 27 | // 背景設定パレット |
| 28 | 28 | this.DOMpalbg = document.getElementsByClassName('palbg'); |
| 29 | 29 | for (let cnt = 0; cnt < this.DOMpalbg.length; cnt++) { |
| 30 | - this.DOMpalbg[cnt].style.left = 5 + (25 + 10) * cnt + 'px'; | |
| 31 | - this.DOMpalbg[cnt].style.top = 10 + 'px'; | |
| 30 | + this.DOMpalbg[cnt].style.left = 10 + (25 + 10) * cnt + 'px'; | |
| 31 | + this.DOMpalbg[cnt].style.top = 18 + 'px'; | |
| 32 | 32 | this.DOMpalbg[cnt].addEventListener('mousedown', this.onMouseDown.bind(this), false); |
| 33 | 33 | this.DOMpalbg[cnt].addEventListener('mouseup', this.mouseUp.bind(this), false); |
| 34 | 34 | this.DOMpalbg[cnt].addEventListener('dragstart', this.onDragStart.bind(this), false); |
| @@ -38,8 +38,8 @@ | ||
| 38 | 38 | // テキストカラーパレット |
| 39 | 39 | this.DOMpaltxtcol = document.getElementsByClassName('paltxtcol'); |
| 40 | 40 | for (let cnt = 0; cnt < this.DOMpaltxtcol.length; cnt++) { |
| 41 | - this.DOMpaltxtcol[cnt].style.left = 5 + (25 + 10) * cnt + 'px'; | |
| 42 | - this.DOMpaltxtcol[cnt].style.top = 10 + 'px'; | |
| 41 | + this.DOMpaltxtcol[cnt].style.left = 10 + (25 + 10) * cnt + 'px'; | |
| 42 | + this.DOMpaltxtcol[cnt].style.top = 18 + 'px'; | |
| 43 | 43 | this.DOMpaltxtcol[cnt].addEventListener('mousedown', this.onMouseDown.bind(this), false); |
| 44 | 44 | this.DOMpaltxtcol[cnt].addEventListener('mouseup', this.mouseUp.bind(this), false); |
| 45 | 45 | this.DOMpaltxtcol[cnt].addEventListener('dragstart', this.onDragStart.bind(this), false); |
| @@ -49,8 +49,8 @@ | ||
| 49 | 49 | // アクションパレット |
| 50 | 50 | this.DOMpalact = document.getElementsByClassName('palact'); |
| 51 | 51 | for (let cnt = 0; cnt < this.DOMpalact.length; cnt++) { |
| 52 | - this.DOMpalact[cnt].style.left = 5 + (25 + 10) * cnt + 'px'; | |
| 53 | - this.DOMpalact[cnt].style.top = 10 + 'px'; | |
| 52 | + this.DOMpalact[cnt].style.left = 10 + (25 + 10) * cnt + 'px'; | |
| 53 | + this.DOMpalact[cnt].style.top = 18 + 'px'; | |
| 54 | 54 | this.DOMpalact[cnt].addEventListener('mousedown', this.onMouseDown.bind(this), false); |
| 55 | 55 | this.DOMpalact[cnt].addEventListener('mouseup', this.mouseUp.bind(this), false); |
| 56 | 56 | this.DOMpalact[cnt].addEventListener('dragstart', this.onDragStart.bind(this), false); |
| @@ -2,13 +2,19 @@ | ||
| 2 | 2 | // Paletteの各要素をまとめるもの |
| 3 | 3 | // 主な機能 |
| 4 | 4 | // ・グループバーのDrag&Dropによる移動 |
| 5 | -// ・グループバーの表示方向 vertical/horizon 切り替え | |
| 6 | -// ・Palette設定状態の Save/Load | |
| 5 | +// ・Palette設定状態の Save/Load (LocalStorage) | |
| 6 | +// ・Palette設定状態の Export (download folder) | |
| 7 | +// ・Palette設定状態の Import | |
| 8 | +// ・(将来)グループバーの表示方向 vertical/horizon 切り替え | |
| 7 | 9 | // ・(将来)5 Palette単位で次のPalette, 前のPalette表示 |
| 8 | -// ・(将来)バー表示を半透明,短く表示 | |
| 10 | +// ・(将来)バー表示を短く表示 | |
| 9 | 11 | |
| 10 | 12 | class PalGroup { |
| 11 | 13 | constructor() { |
| 14 | + this.typeBackground = 0; | |
| 15 | + this.typeTextcolor = 1; | |
| 16 | + this.typeAction = 2; | |
| 17 | + | |
| 12 | 18 | this.DOMobject = []; // bg,text,action |
| 13 | 19 | this.renderFunc = new Queue(); |
| 14 | 20 | } |
| @@ -27,7 +33,12 @@ | ||
| 27 | 33 | } |
| 28 | 34 | |
| 29 | 35 | // 操作関数 ---------------------------- |
| 36 | + getPalGroupInfo(groupType) { | |
| 37 | + if (groupType < this.typeBackground || this.typeAction < groupType) | |
| 38 | + return null; | |
| 30 | 39 | |
| 40 | + let data = this.DOMobject[groupType].innerHTML; | |
| 41 | + } | |
| 31 | 42 | |
| 32 | 43 | // 描画関数 --------------------- |
| 33 | 44 |