public static class PermissionRange.WithDefaults extends PermissionRange
PermissionRange.WithDefaults
Modifier and Type | Field and Description |
---|---|
protected int |
defaultMax |
protected int |
defaultMin |
max, min, name
Modifier | Constructor and Description |
---|---|
protected |
WithDefaults() |
|
WithDefaults(java.lang.String name,
int min,
int max,
int defMin,
int defMax) |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultMax() |
int |
getDefaultMin() |
int |
getRangeSize() |
java.util.List<java.lang.Integer> |
getValuesAsList() |
void |
setDefaultRange(int min,
int max) |
protected WithDefaults()
public WithDefaults(java.lang.String name, int min, int max, int defMin, int defMax)
public int getDefaultMin()
public int getDefaultMax()
public void setDefaultRange(int min, int max)
public java.util.List<java.lang.Integer> getValuesAsList()
PermissionRange.getMin()
and PermissionRange.getMax()
public int getRangeSize()
PermissionRange.getMin()
and PermissionRange.getMax()