org.xith3d.utility.properties
Class FloatProperty

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

public class FloatProperty
extends Property
implements PropertyInterface

:Id: FloatProperty.java,v 1.6 2003/02/24 00:13:53 wurp Exp $ :Log: FloatProperty.java,v $ Revision 1.6 2003/02/24 00:13:53 wurp Formatted all java code for cvs (strictSunConvention.xml) Revision 1.5 2002/02/12 03:43:05 dilvish Fixed some sound bugs and added a /volume command Revision 1.4 2001/06/20 04:05:42 wurp added log4j. Revision 1.3 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.2 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  float value
           
 
Fields inherited from class org.xith3d.utility.properties.Property
comment, name
 
Constructor Summary
FloatProperty()
           
FloatProperty(float value)
           
FloatProperty(float value, java.lang.String name)
           
FloatProperty(float value, java.lang.String name, java.lang.String comment)
           
 
Method Summary
 void convertFromString(java.lang.String text)
           
 java.lang.String convertToString()
           
 float getFloat()
           
 void setFloat(float f)
           
 
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 float value
Constructor Detail

FloatProperty

public FloatProperty(float value,
                     java.lang.String name,
                     java.lang.String comment)

FloatProperty

public FloatProperty(float value,
                     java.lang.String name)

FloatProperty

public FloatProperty(float value)

FloatProperty

public FloatProperty()
Method Detail

setFloat

public void setFloat(float f)

getFloat

public float getFloat()

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