org.xith3d.utility.properties
Class IntegerProperty

java.lang.Object
  extended by org.xith3d.utility.properties.Property
      extended by org.xith3d.utility.properties.IntegerProperty
All Implemented Interfaces:
org.jagatoo.datatypes.NamedObject, PropertyInterface

public class IntegerProperty
extends Property
implements PropertyInterface

:Id: IntegerProperty.java,v 1.6 2003/02/24 00:13:53 wurp Exp $ :Log: IntegerProperty.java,v $ Revision 1.6 2003/02/24 00:13:53 wurp Formatted all java code for cvs (strictSunConvention.xml) Revision 1.5 2001/06/20 04:05:42 wurp added log4j. Revision 1.4 2001/01/28 07:52:20 wurp Removed from Id and Log in log comments. Added several new commands to AdminApp Unfortunately, several other changes that I have lost track of. Try diffing this version with the previous one. Revision 1.3 2000/12/16 22:07:33 wurp Added Id and Log to almost all of the files that didn't have it. It's possible that the script screwed something up. I did a commit and an update right before I ran the script, so if a file is screwed up you should be able to fix it by just going to the version before this one.


Field Summary
protected  int value
           
 
Fields inherited from class org.xith3d.utility.properties.Property
comment, name
 
Constructor Summary
IntegerProperty(int value, java.lang.String name, java.lang.String comment)
           
 
Method Summary
 void convertFromString(java.lang.String text)
           
 java.lang.String convertToString()
           
 int getInt()
           
 void setInt(int v)
           
 
Methods inherited from class org.xith3d.utility.properties.Property
getComment, getName, setComment, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xith3d.utility.properties.PropertyInterface
getComment, getName
 

Field Detail

value

protected int value
Constructor Detail

IntegerProperty

public IntegerProperty(int value,
                       java.lang.String name,
                       java.lang.String comment)
Method Detail

setInt

public void setInt(int v)

getInt

public int getInt()

convertToString

public java.lang.String convertToString()
Specified by:
convertToString in interface PropertyInterface

convertFromString

public void convertFromString(java.lang.String text)
Specified by:
convertFromString in interface PropertyInterface