org.geworkbench.engine.preferences
Class DoubleField

java.lang.Object
  extended by org.geworkbench.engine.preferences.Field
      extended by org.geworkbench.engine.preferences.DoubleField
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DoubleField
extends Field

Author:
John Watkinson
See Also:
Serialized Form

Constructor Summary
DoubleField(java.lang.String fieldName)
           
 
Method Summary
 DoubleField clone()
           
 void copyValueFrom(Field other)
           
 void fromString(java.lang.String s)
           
 double getValue()
           
 void setValue(double value)
           
 java.lang.String toString()
           
 
Methods inherited from class org.geworkbench.engine.preferences.Field
getName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleField

public DoubleField(java.lang.String fieldName)
Method Detail

getValue

public double getValue()

setValue

public void setValue(double value)

copyValueFrom

public void copyValueFrom(Field other)
Specified by:
copyValueFrom in class Field

fromString

public void fromString(java.lang.String s)
                throws ValidationException
Specified by:
fromString in class Field
Throws:
ValidationException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public DoubleField clone()
Overrides:
clone in class Field