From 5b4bb629f9553673651359f34becb04aed3e8661 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Mon, 22 May 2017 11:11:12 +0200 Subject: [PATCH] getters added --- frontend-js/src/main/js/map/data/Alias.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend-js/src/main/js/map/data/Alias.js b/frontend-js/src/main/js/map/data/Alias.js index 06ef52e07e..11bdd5649c 100644 --- a/frontend-js/src/main/js/map/data/Alias.js +++ b/frontend-js/src/main/js/map/data/Alias.js @@ -152,6 +152,13 @@ Alias.prototype.setWidth = function(width) { Alias.prototype.setHeight = function(height) { this.height = height; }; +Alias.prototype.getWidth = function() { + return this.width; +}; + +Alias.prototype.getHeight = function() { + return this.height; +}; Alias.prototype.getName = function() { return this.name; -- GitLab