Back to index

wims  3.65+svn20090927
StringElement.java
Go to the documentation of this file.
00001 /*
00002  * Created on 14.01.2006
00003  *
00004  */
00005 package rene.lister;
00006 
00007 import java.awt.Color;
00008 
00009 public class StringElement
00010        implements Element
00011 {      public String S;
00012        public Color C;
00013        
00014        public StringElement (String s, Color c)
00015        {      S=s; C=c;
00016        }
00017        
00018        public StringElement (String s)
00019        {      this(s,null);
00020        }
00021        
00022        public String getElementString ()
00023        {      return S;
00024        }
00025        
00026        public String getElementString (int state)
00027        {      return S;
00028        }
00029        
00030        public Color getElementColor ()
00031        {      return C;
00032        }
00033 }