Appearance.java
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright (c) 2012 Stefan Profanter.
00003  * All rights reserved. This program and the accompanying materials
00004  * are made available under the terms of the GNU Public License v3.0
00005  * which accompanies this distribution, and is available at
00006  * http://www.gnu.org/licenses/gpl.html
00007  * 
00008  * Contributors:
00009  *     Stefan Profanter - initial API and implementation, Year: 2012
00010  ******************************************************************************/
00011 package edu.tum.cs.vis.model.util;
00012 
00013 import java.awt.Color;
00014 import java.io.Serializable;
00015 
00016 import processing.core.PImage;
00017 
00024 public class Appearance implements Serializable {
00028         private static final long       serialVersionUID        = 3878380145216484383L;
00029 
00033         private String                          imageFileName           = null;
00034 
00038         private PImage                          imageReference          = null;
00039 
00043         private Color                           colorFill                       = null;
00044 
00048         private Color                           colorLine                       = null;
00049 
00053         private int                                     strokeWeight            = 2;
00054 
00058         public Color getColorFill() {
00059                 return colorFill;
00060         }
00061 
00065         public Color getColorLine() {
00066                 return colorLine;
00067         }
00068 
00072         public String getImageFileName() {
00073                 return imageFileName;
00074         }
00075 
00079         public PImage getImageReference() {
00080                 return imageReference;
00081         }
00082 
00086         public int getStrokeWeight() {
00087                 return strokeWeight;
00088         }
00089 
00094         public void setColorFill(Color colorFill) {
00095                 this.colorFill = colorFill;
00096         }
00097 
00102         public void setColorLine(Color colorLine) {
00103                 this.colorLine = colorLine;
00104         }
00105 
00110         public void setImageFileName(String imageFileName) {
00111                 this.imageFileName = imageFileName;
00112         }
00113 
00118         public void setImageReference(PImage imageReference) {
00119                 this.imageReference = imageReference;
00120         }
00121 
00126         public void setStrokeWeight(int strokeWeight) {
00127                 this.strokeWeight = strokeWeight;
00128         }
00129 
00130 }


knowrob_cad_parser
Author(s): Stefan Profanter
autogenerated on Sat Dec 28 2013 17:09:45