Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.pmd.properties
Class IntegerProperty

    java.lang.Object
      net.sourceforge.pmd.properties.AbstractPMDProperty
          net.sourceforge.pmd.properties.AbstractScalarProperty
              net.sourceforge.pmd.properties.IntegerProperty

All Implemented Interfaces:
  java.lang.Comparable, PropertyDescriptor

public class IntegerProperty
extends AbstractScalarProperty

Defines a datatype that supports the Integer property values.

Version:
  $Revision$
Author:
  Brian Remedios

Field Summary

Fields inherited from class net.sourceforge.pmd.properties.AbstractPMDProperty
`multiValueDelimiter`

Fields inherited from interface net.sourceforge.pmd.PropertyDescriptor
`emptyPropertySet`

Constructor Summary
`IntegerProperty(java.lang.String theName, java.lang.String theDescription, int[] theDefaults, float theUIOrder, int maxCount)` Constructor for IntegerProperty.
`IntegerProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Integer[] theDefaults, float theUIOrder, int maxCount)` Constructor for IntegerProperty.
`IntegerProperty(java.lang.String theName, java.lang.String theDescription, int theDefault, float theUIOrder)` Constructor for IntegerProperty.

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` | `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

### IntegerProperty

    public IntegerProperty(java.lang.String theName,
                           java.lang.String theDescription,
                           int theDefault,
                           float theUIOrder)

  Constructor for IntegerProperty.

Parameters:
  `theName` - String
  `theDescription` - String
  `theDefault` - int
  `theUIOrder` - float

### IntegerProperty

    public IntegerProperty(java.lang.String theName,
                           java.lang.String theDescription,
                           int[] theDefaults,
                           float theUIOrder,
                           int maxCount)

  Constructor for IntegerProperty.

Parameters:
  `theName` - String
  `theDescription` - String
  `theDefaults` - int[]
  `theUIOrder` - float
  `maxCount` - int

### IntegerProperty

    public IntegerProperty(java.lang.String theName,
                           java.lang.String theDescription,
                           java.lang.Integer[] theDefaults,
                           float theUIOrder,
                           int maxCount)

  Constructor for IntegerProperty.

Parameters:
  `theName` - String
  `theDescription` - String
  `theDefaults` - Integer[]
  `theUIOrder` - float
  `maxCount` - int

Method Detail

### type

    public java.lang.Class type()

  Method type.

  Returns:
    Class
  See Also:
    `PropertyDescriptor.type()`

### createFrom

    protected java.lang.Object createFrom(java.lang.String value)

  Method createFrom.

  Specified by:
    `createFrom` in class `AbstractScalarProperty`
  Parameters:
    `value` - String
  Returns:
    Object

### arrayFor

    protected java.lang.Object[] arrayFor(int size)

  Method arrayFor.

  Specified by:
    `arrayFor` in class `AbstractScalarProperty`
  Parameters:
    `size` - int
  Returns:
    Object[]

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2006 InfoEther. All Rights Reserved.