|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value=METHOD) @Retention(value=RUNTIME) public @interface PropertyIntValueRange
Defines the range of valid integer values of a property.
Examples
@PropertySet("myprops") public interface MyProperties { ... @PropertyIntValueRange( value = { 0, 1, 2, 3, 5, 8, 13, 21, 50, 100 }, defaultValue = 8) Integer intValueRange(); }
PropertyStringValueRange
Required Element Summary | |
---|---|
int[] |
value The enumeration of valid property values. |
Optional Element Summary | |
---|---|
int[] |
defaultValue The default value to use, if no other value is specified. |
Element Detail |
---|
public abstract int[] value
public abstract int[] defaultValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |