001    // GraphLab Project: http://graphlab.sharif.edu
002    // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology
003    // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/
004    package graphlab.plugins.visualization.corebasics.basics;
005    
006    /**
007     * @author Rouzbeh Ebrahimi
008     */
009    public class PathProperties {
010        private String name;
011        private int firstColor, secondColor;
012    
013        public PathProperties(String name) {
014            this.setName(name);
015            secondColor = -1;
016        }
017    
018        public String getName() {
019            return name;
020        }
021    
022        public void setName(String name) {
023            this.name = name;
024        }
025    
026    
027        public int getFirstColor() {
028            return firstColor;
029        }
030    
031        public void setFirstColor(int firstColor) {
032            this.firstColor = firstColor;
033        }
034    
035        public int getSecondColor() {
036            return secondColor;
037        }
038    
039        public void setSecondColor(int secondColor) {
040            this.secondColor = secondColor;
041        }
042    }