public static final class Validation.ListRange
extends java.lang.Object
For "list-multi", validation can indicate that a minimum and maximum number of options should be selected and/or entered. This selection range MAY be combined with the other methods to provide more flexibility.
Constructor and Description |
---|
ListRange(int min,
int max)
Creates a list range for multi-text fields.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getMax()
Gets the maximum allowable number of selected/entered values.
|
java.lang.Integer |
getMin()
Gets the minimum allowable number of selected/entered values.
|
public ListRange(int min, int max)
Creates a list range for multi-text fields.
min
- The minimum allowable number of selected/entered values.max
- The maximum allowable number of selected/entered values.public final java.lang.Integer getMin()
Gets the minimum allowable number of selected/entered values.
public final java.lang.Integer getMax()
Gets the maximum allowable number of selected/entered values.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.