public class BooleanRangeValue extends java.lang.Object implements RangeValue
Constructor and Description |
---|
BooleanRangeValue(boolean value) |
BooleanRangeValue(boolean value,
boolean showYesOrNo,
java.util.Locale locale) |
BooleanRangeValue(boolean value,
java.util.Locale locale) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RangeValue o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDisplayValue()
Returns the displayed range value.
|
java.lang.String |
getValue()
Returns the range value.
|
int |
hashCode() |
public BooleanRangeValue(boolean value)
public BooleanRangeValue(boolean value, java.util.Locale locale)
public BooleanRangeValue(boolean value, boolean showYesOrNo, java.util.Locale locale)
public java.lang.String getDisplayValue()
RangeValue
getDisplayValue
in interface RangeValue
public java.lang.String getValue()
RangeValue
getValue
in interface RangeValue
public int compareTo(RangeValue o)
compareTo
in interface java.lang.Comparable<RangeValue>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © Technia AB. All Rights Reserved.