Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1009524 // copyCAL - copy contents of one CirclesAndLines to another - also copies listeners

JavaX fragment (include)

static void copyCAL(CirclesAndLines cal1, CirclesAndLines cal2) {
  if (cal1 == cal2) ret;
  copyList(cal1.circles, cal2.circles);
  copyList(cal1.lines, cal2.lines);
  copyFields(cal1, cal2, 'defaultImageID,  'arrowClass, 'circleClass, 'imgZoom, 'imageForUserMadeNodes, 'title, 'globalID);
  copyListeners(cal1, cal2);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009524
Snippet name: copyCAL - copy contents of one CirclesAndLines to another - also copies listeners
Eternal ID of this version: #1009524/10
Text MD5: 5a6a309568f6684d726f555fe3674645
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-23 23:55:46
Source code size: 327 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 461 / 483
Version history: 9 change(s)
Referenced in: [show references]