|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pmd.properties.AbstractPMDProperty
net.sourceforge.pmd.properties.AbstractScalarProperty
net.sourceforge.pmd.properties.DoubleProperty
public class DoubleProperty
Defines a property type that support double property values.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.pmd.properties.AbstractPMDProperty |
|---|
multiValueDelimiter |
| Fields inherited from interface net.sourceforge.pmd.PropertyDescriptor |
|---|
emptyPropertySet |
| Constructor Summary | |
|---|---|
DoubleProperty(java.lang.String theName,
java.lang.String theDescription,
double[] defaultValues,
float theUIOrder,
int theMaxValues)
Constructor for DoubleProperty. |
|
DoubleProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Double[] defaultValues,
float theUIOrder,
int theMaxValues)
Constructor for DoubleProperty. |
|
DoubleProperty(java.lang.String theName,
java.lang.String theDescription,
double theDefault,
float theUIOrder)
Constructor for DoubleProperty. |
|
| Method Summary | |
|---|---|
protected java.lang.Object[] |
arrayFor(int size)
Method arrayFor. |
protected java.lang.Object |
createFrom(java.lang.String value)
Method createFrom. |
java.lang.Class<java.lang.Double> |
type()
Method type. |
| Methods inherited from class net.sourceforge.pmd.properties.AbstractScalarProperty |
|---|
valueFrom |
| Methods inherited from class net.sourceforge.pmd.properties.AbstractPMDProperty |
|---|
areEqual, asDelimitedString, asString, choices, compareTo, defaultValue, description, errorFor, isArray, isRequired, maxValueCount, maxValueCount, multiValueDelimiter, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, typeErrorFor, uiOrder, valueErrorFor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleProperty(java.lang.String theName,
java.lang.String theDescription,
double theDefault,
float theUIOrder)
theName - StringtheDescription - StringtheDefault - doubletheUIOrder - float
public DoubleProperty(java.lang.String theName,
java.lang.String theDescription,
double[] defaultValues,
float theUIOrder,
int theMaxValues)
theName - StringtheDescription - StringdefaultValues - boolean[]theUIOrder - floattheMaxValues - int
public DoubleProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Double[] defaultValues,
float theUIOrder,
int theMaxValues)
theName - StringtheDescription - StringdefaultValues - Double[]theUIOrder - floattheMaxValues - int| Method Detail |
|---|
public java.lang.Class<java.lang.Double> type()
PropertyDescriptor.type()protected java.lang.Object createFrom(java.lang.String value)
createFrom in class AbstractScalarPropertyvalue - String
protected java.lang.Object[] arrayFor(int size)
arrayFor in class AbstractScalarPropertysize - int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||